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

#include "PrimitiveManager.h"

Public Member Functions

 PrimitiveManager (ot::components::UiComponent *_uiComponent, ot::components::ModelComponent *_modelComponent, const std::string &_serviceName, ot::serviceID_t _serviceID, EntityCache *_entityCache, ClassFactory *_classFactory)
 
 ~PrimitiveManager ()
 
bool isPrimitiveShape (const std::string &type)
 
void updateShape (const std::string &type, EntityGeometry *geomEntity, TopoDS_Shape &shape)
 
void createFromRubberbandJson (const std::string &note, const std::string &_json, std::vector< double > &_transform)
 
PrimitiveConegetCone (void)
 
PrimitiveCuboidgetCuboid (void)
 
PrimitiveCylindergetCylinder (void)
 
PrimitivePyramidgetPyramid (void)
 
PrimitiveSpheregetSphere (void)
 
PrimitiveTorusgetTorus (void)
 
 PrimitiveManager ()=delete
 

Constructor & Destructor Documentation

◆ PrimitiveManager() [1/2]

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

◆ ~PrimitiveManager()

PrimitiveManager::~PrimitiveManager ( )

◆ PrimitiveManager() [2/2]

PrimitiveManager::PrimitiveManager ( )
delete

Member Function Documentation

◆ createFromRubberbandJson()

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

◆ getCone()

PrimitiveCone * PrimitiveManager::getCone ( void )
inline

◆ getCuboid()

PrimitiveCuboid * PrimitiveManager::getCuboid ( void )
inline

◆ getCylinder()

PrimitiveCylinder * PrimitiveManager::getCylinder ( void )
inline

◆ getPyramid()

PrimitivePyramid * PrimitiveManager::getPyramid ( void )
inline

◆ getSphere()

PrimitiveSphere * PrimitiveManager::getSphere ( void )
inline

◆ getTorus()

PrimitiveTorus * PrimitiveManager::getTorus ( void )
inline

◆ isPrimitiveShape()

bool PrimitiveManager::isPrimitiveShape ( const std::string & type)

◆ updateShape()

void PrimitiveManager::updateShape ( const std::string & type,
EntityGeometry * geomEntity,
TopoDS_Shape & shape )

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