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

#include "ShapesBase.h"

Inheritance diagram for ShapesBase:
BooleanOperations EdgesOperationBase PrimitiveCone PrimitiveCuboid PrimitiveCylinder PrimitivePyramid PrimitiveSphere PrimitiveTorus SimplifyRemoveFaces Transformations

Public Member Functions

 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

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

ot::components::UiComponentuiComponent
 
ot::components::ModelComponentmodelComponent
 
ot::serviceID_t serviceID
 
std::string serviceName
 
EntityCacheentityCache
 
ClassFactory * classFactory
 

Constructor & Destructor Documentation

◆ ShapesBase() [1/2]

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

◆ ~ShapesBase()

ShapesBase::~ShapesBase ( )
inline

◆ ShapesBase() [2/2]

ShapesBase::ShapesBase ( )
delete

Member Function Documentation

◆ applyFaceNames()

void ShapesBase::applyFaceNames ( EntityGeometry * geomEntity,
const TopoDS_Shape & _shape,
std::list< std::string > & faceNames )
protected

◆ deleteNonStandardProperties()

void ShapesBase::deleteNonStandardProperties ( EntityGeometry * geometryEntity)
protected

◆ storeShapeInModel()

void ShapesBase::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 )
protected

◆ to_string()

std::string ShapesBase::to_string ( double value)
protected

◆ writeShapeToStepFile()

void ShapesBase::writeShapeToStepFile ( const TopoDS_Shape & _shape,
const std::string & _filename )
protected

Member Data Documentation

◆ classFactory

ClassFactory* ShapesBase::classFactory
protected

◆ entityCache

EntityCache* ShapesBase::entityCache
protected

◆ modelComponent

ot::components::ModelComponent* ShapesBase::modelComponent
protected

◆ serviceID

ot::serviceID_t ShapesBase::serviceID
protected

◆ serviceName

std::string ShapesBase::serviceName
protected

◆ uiComponent

ot::components::UiComponent* ShapesBase::uiComponent
protected

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