OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
EdgesOperationBase Class Referenceabstract

#include "EdgesOperationBase.h"

Inheritance diagram for EdgesOperationBase:
ShapesBase BlendEdges ChamferEdges

Public Member Functions

 EdgesOperationBase (ot::components::UiComponent *_uiComponent, ot::components::ModelComponent *_modelComponent, ot::serviceID_t _serviceID, const std::string &_serviceName, EntityCache *_entityCache, ClassFactory *_classFactory)
 
virtual ~EdgesOperationBase ()
 
void setUpdateManager (UpdateManager *_updateManager)
 
void enterSelectEdgesMode (void)
 
void performOperation (const std::string &selectionInfo)
 
void updateShape (EntityGeometry *geometryEntity, TopoDS_Shape &shape, std::map< const opencascade::handle< TopoDS_TShape >, std::string > &resultFaceNames)
 
- Public Member Functions inherited from ShapesBase
 ShapesBase (ot::components::UiComponent *_uiComponent, ot::components::ModelComponent *_modelComponent, ot::serviceID_t _serviceID, const std::string &_serviceName, EntityCache *_entityCache, ClassFactory *_classFactory)
 
 ~ShapesBase ()
 
 ShapesBase ()=delete
 

Protected Member Functions

void addParametricProperty (EntityGeometry *geometryEntity, const std::string &name, double value)
 
virtual void addSpecificProperties (EntityGeometry *geometryEntity)=0
 
virtual ot::components::UiComponent::entitySelectionAction getSelectionAction ()=0
 
virtual std::string getOperationDescription ()=0
 
virtual std::string getVisibleTreeItemName ()=0
 
virtual std::string getHiddenTreeItemName ()=0
 
virtual std::string getShapeType ()=0
 
virtual bool operationActive (EntityGeometry *geometryEntity)=0
 
virtual bool performActualOperation (EntityGeometry *geometryEntity, EntityBrep *baseBrep, std::map< const opencascade::handle< TopoDS_TShape >, std::string > &allEdgesForOperation, TopoDS_Shape &shape, TopTools_ListOfShape &listOfProcessedEdges, BRepTools_History *&history)=0
 
- Protected Member Functions inherited from ShapesBase
std::string to_string (double value)
 
void storeShapeInModel (const TopoDS_Shape &_shape, std::vector< double > &_transform, const std::string &_name, const std::string &_type, std::list< std::pair< std::string, std::string > > &shapeParameters, std::list< std::string > &faceNames)
 
void applyFaceNames (EntityGeometry *geomEntity, const TopoDS_Shape &_shape, std::list< std::string > &faceNames)
 
void writeShapeToStepFile (const TopoDS_Shape &_shape, const std::string &_filename)
 
void deleteNonStandardProperties (EntityGeometry *geometryEntity)
 

Protected Attributes

UpdateManagerupdateManager
 
- Protected Attributes inherited from ShapesBase
ot::components::UiComponentuiComponent
 
ot::components::ModelComponentmodelComponent
 
ot::serviceID_t serviceID
 
std::string serviceName
 
EntityCacheentityCache
 
ClassFactory * classFactory
 

Constructor & Destructor Documentation

◆ EdgesOperationBase()

EdgesOperationBase::EdgesOperationBase ( ot::components::UiComponent * _uiComponent,
ot::components::ModelComponent * _modelComponent,
ot::serviceID_t _serviceID,
const std::string & _serviceName,
EntityCache * _entityCache,
ClassFactory * _classFactory )
inline

◆ ~EdgesOperationBase()

virtual EdgesOperationBase::~EdgesOperationBase ( )
inlinevirtual

Member Function Documentation

◆ addParametricProperty()

void EdgesOperationBase::addParametricProperty ( EntityGeometry * geometryEntity,
const std::string & name,
double value )
protected

◆ addSpecificProperties()

virtual void EdgesOperationBase::addSpecificProperties ( EntityGeometry * geometryEntity)
protectedpure virtual

Implemented in BlendEdges, and ChamferEdges.

◆ enterSelectEdgesMode()

void EdgesOperationBase::enterSelectEdgesMode ( void )

◆ getHiddenTreeItemName()

virtual std::string EdgesOperationBase::getHiddenTreeItemName ( )
protectedpure virtual

Implemented in BlendEdges, and ChamferEdges.

◆ getOperationDescription()

virtual std::string EdgesOperationBase::getOperationDescription ( )
protectedpure virtual

Implemented in BlendEdges, and ChamferEdges.

◆ getSelectionAction()

virtual ot::components::UiComponent::entitySelectionAction EdgesOperationBase::getSelectionAction ( )
protectedpure virtual

Implemented in BlendEdges, and ChamferEdges.

◆ getShapeType()

virtual std::string EdgesOperationBase::getShapeType ( )
protectedpure virtual

Implemented in BlendEdges, and ChamferEdges.

◆ getVisibleTreeItemName()

virtual std::string EdgesOperationBase::getVisibleTreeItemName ( )
protectedpure virtual

Implemented in BlendEdges, and ChamferEdges.

◆ operationActive()

virtual bool EdgesOperationBase::operationActive ( EntityGeometry * geometryEntity)
protectedpure virtual

Implemented in BlendEdges, and ChamferEdges.

◆ performActualOperation()

virtual bool EdgesOperationBase::performActualOperation ( EntityGeometry * geometryEntity,
EntityBrep * baseBrep,
std::map< const opencascade::handle< TopoDS_TShape >, std::string > & allEdgesForOperation,
TopoDS_Shape & shape,
TopTools_ListOfShape & listOfProcessedEdges,
BRepTools_History *& history )
protectedpure virtual

Implemented in BlendEdges, and ChamferEdges.

◆ performOperation()

void EdgesOperationBase::performOperation ( const std::string & selectionInfo)

◆ setUpdateManager()

void EdgesOperationBase::setUpdateManager ( UpdateManager * _updateManager)
inline

◆ updateShape()

void EdgesOperationBase::updateShape ( EntityGeometry * geometryEntity,
TopoDS_Shape & shape,
std::map< const opencascade::handle< TopoDS_TShape >, std::string > & resultFaceNames )

Member Data Documentation

◆ updateManager

UpdateManager* EdgesOperationBase::updateManager
protected

The documentation for this class was generated from the following files: