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

#include "BooleanOperations.h"

Inheritance diagram for BooleanOperations:
ShapesBase

Public Member Functions

 BooleanOperations (ot::components::UiComponent *_uiComponent, ot::components::ModelComponent *_modelComponent, const std::string &_serviceName, EntityCache *_entityCache, ot::serviceID_t _serviceID, ClassFactory *_classFactory)
 
 ~BooleanOperations ()
 
void enterAddMode (const std::list< ot::EntityInformation > &selectedGeometryEntities)
 
void enterSubtractMode (const std::list< ot::EntityInformation > &selectedGeometryEntities)
 
void enterIntersectMode (const std::list< ot::EntityInformation > &selectedGeometryEntities)
 
void perfromOperationForSelectedEntities (const std::string &selectionAction, const std::string &selectionInfo, std::map< std::string, std::string > &options)
 
bool performOperation (const std::string &selectionAction, EntityBrep *baseBrepEntity, std::list< EntityBrep * > &brepEntities, TopoDS_Shape &shape, std::string &treeIconVisible, std::string &treeIconHidden, std::map< const opencascade::handle< TopoDS_TShape >, std::string > &resultFaceNames)
 
 BooleanOperations ()=delete
 
- 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
 

Additional Inherited Members

- 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 inherited from ShapesBase
ot::components::UiComponentuiComponent
 
ot::components::ModelComponentmodelComponent
 
ot::serviceID_t serviceID
 
std::string serviceName
 
EntityCacheentityCache
 
ClassFactory * classFactory
 

Constructor & Destructor Documentation

◆ BooleanOperations() [1/2]

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

◆ ~BooleanOperations()

BooleanOperations::~BooleanOperations ( )
inline

◆ BooleanOperations() [2/2]

BooleanOperations::BooleanOperations ( )
delete

Member Function Documentation

◆ enterAddMode()

void BooleanOperations::enterAddMode ( const std::list< ot::EntityInformation > & selectedGeometryEntities)

◆ enterIntersectMode()

void BooleanOperations::enterIntersectMode ( const std::list< ot::EntityInformation > & selectedGeometryEntities)

◆ enterSubtractMode()

void BooleanOperations::enterSubtractMode ( const std::list< ot::EntityInformation > & selectedGeometryEntities)

◆ performOperation()

bool BooleanOperations::performOperation ( const std::string & selectionAction,
EntityBrep * baseBrepEntity,
std::list< EntityBrep * > & brepEntities,
TopoDS_Shape & shape,
std::string & treeIconVisible,
std::string & treeIconHidden,
std::map< const opencascade::handle< TopoDS_TShape >, std::string > & resultFaceNames )

◆ perfromOperationForSelectedEntities()

void BooleanOperations::perfromOperationForSelectedEntities ( const std::string & selectionAction,
const std::string & selectionInfo,
std::map< std::string, std::string > & options )

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