#include <vhdOSGHanimProperty.h>
Inheritance diagram for vhdOSGHanimProperty:
vhdOSGHanimProperty::vhdOSGHanimProperty | ( | osgGroupRef | Geometry, | |
const vhtBool | movable = false | |||
) |
Constructor.
Geometry | pointer to OSG hierarchy. | |
movable/static | flag. [Default = static object]. |
vhdIllegalArgumentException | if Geometry is NULL. |
vhdOSGHanimProperty::~vhdOSGHanimProperty | ( | ) | [virtual] |
Destructor.
osgGroupRef vhdOSGHanimProperty::getGeometry | ( | ) | [virtual] |
Gets direct access to Geometry encapsulated by this property.
Implements vhdIOSGDrawableProperty.
vhtBool vhdOSGHanimProperty::getVisibleFlag | ( | ) |
Returns true if object is enabled.
void vhdOSGHanimProperty::setVisibleFlag | ( | vhtBool | flagValue | ) |
Sets whether object is enabled.
flagValue |
const std::string & vhdOSGHanimProperty::getFileName | ( | ) |
Gets the filename of the Geometry.
void vhdOSGHanimProperty::setFileName | ( | const std::string & | fileName | ) |
Sets the filename of the Geometry.
vhtBool vhdOSGHanimProperty::isMovable | ( | void | ) |
Tell if the object is movable or rather static.
vhtBool vhdOSGHanimProperty::isStatic | ( | void | ) | [inline] |
Tell if the object is static rather than movable.
v2oOSGHanimSkeleton * vhdOSGHanimProperty::getHanimSkeleton | ( | ) |
Provide the libOSGVRMLLoader constructed class holding Joint table.
v2oOSGHanimMesh * vhdOSGHanimProperty::getHanimMesh | ( | ) |
Provide the libOSGVRMLLoader constructed class holding Mesh table.
Scene * vhdOSGHanimProperty::getVRMLParserScene | ( | ) |
Provide the vhdVRMLParser Scene graph.
bool vhdOSGHanimProperty::releaseVRMLParserScene | ( | void | ) |
Releases the Scene handle (Scene is destroyed if its ref counter allows it) and clear the internal Scene pointer. Thus subsequent calls to getVRMLParserScene() will return NULL.
void vhdOSGHanimProperty::setInitialPosition | ( | const vhdVector3 & | position | ) |
Sets the initial position value of the Geometry.
const vhdVector3 & vhdOSGHanimProperty::getInitialPosition | ( | void | ) |
Gets the initial position of the Geometry.
void vhdOSGHanimProperty::setInitialOrientation | ( | const vhdQuaternion & | orientation | ) |
Sets the initial orientation value of the Geometry.
void vhdOSGHanimProperty::setInitialOrientation | ( | const float & | pAngle, | |
const vhdVector3 & | pAxis | |||
) |
Sets the ititial orientation using axis and angle.
rfAngle | ||
rkAxis |
const vhdQuaternion & vhdOSGHanimProperty::getInitialOrientation | ( | void | ) |
Gets the initial orientation of the Geometry.
vhtBool vhdOSGHanimProperty::useHandsAnim | ( | ) | const |
Checks the hand activation status (for that VH).
void vhdOSGHanimProperty::setHandsAnim | ( | vhtBool | on | ) |
Sets Hand animation (for that VH).
on,: | true to activate the feature |
vhtBool vhdOSGHanimProperty::useTransducer | ( | ) | const |
Checks the TransducerService management activation status (for that VH).
void vhdOSGHanimProperty::setTransducer | ( | vhtBool | on | ) |
Sets TransducerService management (for that VH).
on,: | true to activate the feature |
vhtBool vhdOSGHanimProperty::useSkinDeform | ( | ) | const |
Checks the SkinDeformService management activation status (for that VH).
void vhdOSGHanimProperty::setSkinDeform | ( | vhtBool | on | ) |
Sets SkinDeformService management (for that VH).
on,: | true to activate the feature |
vhtBool vhdOSGHanimProperty::useH2Osg | ( | ) | const |
Checks the H2OsgService management activation status (for that VH).
void vhdOSGHanimProperty::setH2Osg | ( | vhtBool | on | ) |
Sets H2OsgService management (for that VH).
on,: | true to activate the feature |
vhtBool vhdOSGHanimProperty::useFaceDeform | ( | ) | const |
Checks the FaceDeformService management activation status (for that VH).
void vhdOSGHanimProperty::setFaceDeform | ( | vhtBool | on | ) |
Sets FaceDeformService management (for that VH).
on,: | true to activate the feature |
vhtBool vhdOSGHanimProperty::getDisplaySkeleton | ( | ) | const |
void vhdOSGHanimProperty::setDisplaySkeleton | ( | vhtBool | on | ) |
const std::string & vhdOSGHanimProperty::getClothFileName | ( | void | ) | const |
skinning (SkinDeformService) parameters
void vhdOSGHanimProperty::setClothFileName | ( | const std::string & | fileName | ) |
bool vhdOSGHanimProperty::getActiveLOD | ( | void | ) | const |
bool vhdOSGHanimProperty::setActiveLOD | ( | const bool | on = false |
) |
void vhdOSGHanimProperty::setGeometry | ( | osgGroupRef | newGroup | ) | [protected] |
void vhdOSGHanimProperty::setMovable | ( | const vhtBool | movable | ) | [protected] |
bool vhdOSGHanimProperty::setHanimSkeleton | ( | v2o::v2oOSGHanimSkeleton * | skel | ) | [protected] |
skel | pointer to vhdOSGHanimSkeleton obtained from libOSGVRMLLoader. |
bool vhdOSGHanimProperty::setHanimMesh | ( | v2o::v2oOSGHanimMesh * | mesh | ) | [protected] |
mesh | pointer to vhdOSGHanimMesh obtained from libOSGVRMLLoader. |
bool vhdOSGHanimProperty::setVRMLParserScene | ( | Scene * | vrmlParserScene | ) | [protected] |
vrmlParserScene | pointer to vhdVRMLParser's Scene (usually obtained from libOSGVRMLLoader). |
friend class vhdOSGHanimPropertyFactory [friend] |
_Implem* vhdOSGHanimProperty::_implem [private] |