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

#include "PrimitiveCylinder.h"

Inheritance diagram for PrimitiveCylinder:
ShapesBase

Public Member Functions

 PrimitiveCylinder (ot::components::UiComponent *_uiComponent, ot::components::ModelComponent *_modelComponent, ot::serviceID_t _serviceID, const std::string &_serviceName, EntityCache *_entityCache, ClassFactory *_classFactory)
 
 ~PrimitiveCylinder ()
 
void sendRubberbandData (void)
 
void createFromRubberbandJson (const std::string &_json, std::vector< double > &_transform)
 
void update (EntityGeometry *geomEntity, TopoDS_Shape &shape)
 
- 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

◆ PrimitiveCylinder()

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

◆ ~PrimitiveCylinder()

PrimitiveCylinder::~PrimitiveCylinder ( )
inline

Member Function Documentation

◆ createFromRubberbandJson()

void PrimitiveCylinder::createFromRubberbandJson ( const std::string & _json,
std::vector< double > & _transform )

◆ sendRubberbandData()

void PrimitiveCylinder::sendRubberbandData ( void )

◆ update()

void PrimitiveCylinder::update ( EntityGeometry * geomEntity,
TopoDS_Shape & shape )

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