#include <vhdOpenSGGeometryProperty.h>
Inheritance diagram for vhdOpenSGGeometryProperty:

Public Member Functions | |
| vhdOpenSGGeometryProperty (NodePtr geometry, const std::string &fileName, const vhdVector3 &initialPosition, const vhdQuaternion &initialOrientation, vhtBool visibleFlag=true, vhtBool movableFlag=false, float scalingFactor=1.0, vhtBool occluderFlag=false) | |
| virtual | ~vhdOpenSGGeometryProperty () |
| const std::string & | getFileName () |
| vhtBool | isVisible () |
| void | setVisibleFlag (vhtBool flagValue) |
| vhtBool | isStatic (void) |
| vhtBool | isMovable (void) |
| void | setMovableFlag (const vhtBool movable) |
| void | setScalingFactor (float scale) |
| float | getScalingFactor (void) |
| vhtBool | isOccluder (void) |
| void | setOccluderFlag (const vhtBool occluder) |
| virtual NodePtr | getGeometry () |
| virtual void | setPosition (const vhdVector3 &position) |
| virtual vhdVector3 | getPosition () |
| virtual void | setOrientation (const vhdQuaternion &orientation) |
| virtual vhdQuaternion | getOrientation () |
| void | setRotationByAxisAngle (const float &pAngle, const vhdVector3 &pAxis) |
Private Attributes | |
| _Implem * | _implem |
Classes | |
| class | _Implem |
| vhdOpenSGGeometryProperty::vhdOpenSGGeometryProperty | ( | NodePtr | geometry, | |
| const std::string & | fileName, | |||
| const vhdVector3 & | initialPosition, | |||
| const vhdQuaternion & | initialOrientation, | |||
| vhtBool | visibleFlag = true, |
|||
| vhtBool | movableFlag = false, |
|||
| float | scalingFactor = 1.0, |
|||
| vhtBool | occluderFlag = false | |||
| ) |
Constructor.
| vhdOpenSGGeometryProperty::~vhdOpenSGGeometryProperty | ( | ) | [virtual] |
Destructor.
| const std::string & vhdOpenSGGeometryProperty::getFileName | ( | ) |
Gets the filename that was used to create the geometry sotred in this property.
| vhtBool vhdOpenSGGeometryProperty::isVisible | ( | ) |
Returns true if object is enabled.
| void vhdOpenSGGeometryProperty::setVisibleFlag | ( | vhtBool | flagValue | ) |
Sets whether object is enabled.
| flagValue |
| vhtBool vhdOpenSGGeometryProperty::isStatic | ( | void | ) | [inline] |
Tell if the object is static rather than movable.
| vhtBool vhdOpenSGGeometryProperty::isMovable | ( | void | ) |
Tell if the object is movable or rather static.
| void vhdOpenSGGeometryProperty::setMovableFlag | ( | const vhtBool | movable | ) |
| void vhdOpenSGGeometryProperty::setScalingFactor | ( | float | scale | ) |
Sets the scaling factor
| float vhdOpenSGGeometryProperty::getScalingFactor | ( | void | ) |
Gets the scaling factor
| vhtBool vhdOpenSGGeometryProperty::isOccluder | ( | void | ) |
Tell if the object is occluder(blue box phantom geometry) or normal.
| void vhdOpenSGGeometryProperty::setOccluderFlag | ( | const vhtBool | occluder | ) |
| NodePtr vhdOpenSGGeometryProperty::getGeometry | ( | ) | [virtual] |
Gets direct access to Geometry encapsulated by this property.
Implements vhdIOpenSGDrawableProperty.
| void vhdOpenSGGeometryProperty::setPosition | ( | const vhdVector3 & | position | ) | [virtual] |
Sets the position value of the Geometry.
| vhdVector3 vhdOpenSGGeometryProperty::getPosition | ( | ) | [virtual] |
Gets the position of the Geometry.
| void vhdOpenSGGeometryProperty::setOrientation | ( | const vhdQuaternion & | orientation | ) | [virtual] |
Sets the rotation value of the Geometry.
| vhdQuaternion vhdOpenSGGeometryProperty::getOrientation | ( | ) | [virtual] |
Gets the rotation of the Geometry.
| void vhdOpenSGGeometryProperty::setRotationByAxisAngle | ( | const float & | pAngle, | |
| const vhdVector3 & | pAxis | |||
| ) |
Sets the rotation using axis and angle.
| rfAngle | ||
| rkAxis |
_Implem* vhdOpenSGGeometryProperty::_implem [private] |
1.5.1-p1