OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ChamferEdges Class Reference

#include "ChamferEdges.h"

Inheritance diagram for ChamferEdges:
EdgesOperationBase ShapesBase

Public Member Functions

 ChamferEdges (ot::components::UiComponent *_uiComponent, ot::components::ModelComponent *_modelComponent, ot::serviceID_t _serviceID, const std::string &_serviceName, EntityCache *_entityCache, ClassFactory *_classFactory)
 
virtual ~ChamferEdges ()
 
- Public Member Functions inherited from EdgesOperationBase
 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 addSpecificProperties (EntityGeometry *geometryEntity)
 
ot::components::UiComponent::entitySelectionAction getSelectionAction ()
 
std::string getOperationDescription ()
 
std::string getVisibleTreeItemName ()
 
std::string getHiddenTreeItemName ()
 
std::string getShapeType ()
 
bool operationActive (EntityGeometry *geometryEntity)
 
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)
 
- Protected Member Functions inherited from EdgesOperationBase
void addParametricProperty (EntityGeometry *geometryEntity, const std::string &name, double value)
 
- 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)
 

Additional Inherited Members

- Protected Attributes inherited from EdgesOperationBase
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

◆ ChamferEdges()

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

◆ ~ChamferEdges()

virtual ChamferEdges::~ChamferEdges ( )
inlinevirtual

Member Function Documentation

◆ addSpecificProperties()

void ChamferEdges::addSpecificProperties ( EntityGeometry * geometryEntity)
protectedvirtual

Implements EdgesOperationBase.

◆ getHiddenTreeItemName()

std::string ChamferEdges::getHiddenTreeItemName ( )
protectedvirtual

Implements EdgesOperationBase.

◆ getOperationDescription()

std::string ChamferEdges::getOperationDescription ( )
protectedvirtual

Implements EdgesOperationBase.

◆ getSelectionAction()

ot::components::UiComponent::entitySelectionAction ChamferEdges::getSelectionAction ( )
protectedvirtual

Implements EdgesOperationBase.

◆ getShapeType()

std::string ChamferEdges::getShapeType ( )
protectedvirtual

Implements EdgesOperationBase.

◆ getVisibleTreeItemName()

std::string ChamferEdges::getVisibleTreeItemName ( )
protectedvirtual

Implements EdgesOperationBase.

◆ operationActive()

bool ChamferEdges::operationActive ( EntityGeometry * geometryEntity)
protectedvirtual

Implements EdgesOperationBase.

◆ performActualOperation()

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

Implements EdgesOperationBase.


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