|
| PrimitivesAPI_Sphere (const std::shared_ptr< ModelAPI_Feature > &theFeature) |
| Constructor without values. More...
|
|
| PrimitivesAPI_Sphere (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Selection &theCenterPoint, const ModelHighAPI_Double &theRadius) |
| Constructor with values. More...
|
|
| PrimitivesAPI_Sphere (const std::shared_ptr< ModelAPI_Feature > &theFeature, const ModelHighAPI_Double &theRMin, const ModelHighAPI_Double &theRMax, const ModelHighAPI_Double &thePhiMin, const ModelHighAPI_Double &thePhiMax, const ModelHighAPI_Double &theThetaMin, const ModelHighAPI_Double &theThetaMax) |
| Constructor with values. More...
|
|
virtual | ~PrimitivesAPI_Sphere () |
| Destructor. More...
|
|
virtual std::string | getID () |
|
virtual std::shared_ptr< ModelAPI_AttributeString > | creationMethod () const |
| Creation method. More...
|
|
virtual std::shared_ptr< ModelAPI_AttributeSelection > | centerPoint () const |
| Center point. More...
|
|
virtual std::shared_ptr< ModelAPI_AttributeDouble > | radius () const |
| Radius. More...
|
|
virtual std::shared_ptr< ModelAPI_AttributeDouble > | rmin () const |
| The minimum radius. More...
|
|
virtual std::shared_ptr< ModelAPI_AttributeDouble > | rmax () const |
| The maximum radius. More...
|
|
virtual std::shared_ptr< ModelAPI_AttributeDouble > | phimin () const |
| The minimum phi. More...
|
|
virtual std::shared_ptr< ModelAPI_AttributeDouble > | phimax () const |
| The maximum phi. More...
|
|
virtual std::shared_ptr< ModelAPI_AttributeDouble > | thetamin () const |
| The minimum theta. More...
|
|
virtual std::shared_ptr< ModelAPI_AttributeDouble > | thetamax () const |
| The maximum theta. More...
|
|
void | setCenterPoint (const ModelHighAPI_Selection &theCenterPoint) |
| Set center point. More...
|
|
void | setRadius (const ModelHighAPI_Double &theRadius) |
| Set radius. More...
|
|
void | setRadius (const ModelHighAPI_Double &theRMin, const ModelHighAPI_Double &theRMax) |
| Set minimum and maximum radius. More...
|
|
void | setPhi (const ModelHighAPI_Double &thePhiMin, const ModelHighAPI_Double &thePhiMax) |
| Set minimum and maximum phi. More...
|
|
void | setTheta (const ModelHighAPI_Double &theThetaMin, const ModelHighAPI_Double &theThetaMax) |
| Set minimum and maximum theta. More...
|
|
virtual void | dump (ModelHighAPI_Dumper &theDumper) const |
| Dump wrapped feature. More...
|
|
std::shared_ptr< ModelAPI_Feature > | feature () const |
| Return ModelAPI_Feature. More...
|
|
std::shared_ptr< ModelHighAPI_Interface > | subFeature (const int theIndex) const |
| If feature is composite return intefrace for sub-feature by zero-based index, or empty pointer if feature not composite or does not have sub-feature with such index. More...
|
|
const std::string & | getKind () const |
| Shortcut for feature()->getKind() More...
|
|
void | execute (bool isForce=false) |
| Shortcut for feature()->execute() More...
|
|
void | setName (const std::wstring &theName) |
| Shortcut for feature()->data()->setName() More...
|
|
std::wstring | name () const |
| Shortcut for feature()->data()->name() More...
|
|
virtual ModelHighAPI_Selection | result () const |
| Return firts object of the feature. More...
|
|
virtual std::list< ModelHighAPI_Selection > | results () const |
| Return all objects of the feature. More...
|
|
virtual std::shared_ptr< ModelAPI_Result > | defaultResult () const |
| Return default result. Default implementation feature()->lastResult() More...
|
|
void | throwException (const std::string &theDescription) |
| Throw exception to event loop. More...
|
|
const std::string & | attributeGetter (const std::string &theAttrName) |
| Return name of getter for specified attribute. More...
|
|
Interface for primitive Sphere feature.