#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 ¬e, const std::string &_json, std::vector< double > &_transform) |
PrimitiveCone * | getCone (void) |
PrimitiveCuboid * | getCuboid (void) |
PrimitiveCylinder * | getCylinder (void) |
PrimitivePyramid * | getPyramid (void) |
PrimitiveSphere * | getSphere (void) |
PrimitiveTorus * | getTorus (void) |
PrimitiveManager ()=delete | |
PrimitiveManager::PrimitiveManager | ( | ot::components::UiComponent * | _uiComponent, |
ot::components::ModelComponent * | _modelComponent, | ||
const std::string & | _serviceName, | ||
ot::serviceID_t | _serviceID, | ||
EntityCache * | _entityCache, | ||
ClassFactory * | _classFactory ) |
PrimitiveManager::~PrimitiveManager | ( | ) |
|
delete |
void PrimitiveManager::createFromRubberbandJson | ( | const std::string & | note, |
const std::string & | _json, | ||
std::vector< double > & | _transform ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool PrimitiveManager::isPrimitiveShape | ( | const std::string & | type | ) |
void PrimitiveManager::updateShape | ( | const std::string & | type, |
EntityGeometry * | geomEntity, | ||
TopoDS_Shape & | shape ) |