interreality.org [VOS]
[Home] [About]
[Screenshots]
[Download]
[News]
[Community]
[Documentation] [Manual]
[Bugs & Requests] [Wiki]

csMetaObject3D Class Reference

#include <vosobject3d.hh>

Inheritance diagram for csMetaObject3D:

A3DL::Object3D VOS::PropertyListener VOS::ChildChangeListener VOS::MetaObject VOS::Vobject VOS::Dispatchable VUtil::RefCounted csMetaBillboard csMetaClone csMetaCone csMetaCube csMetaCylinder csMetaModel csMetaPolygonMesh csMetaSphere List of all members.

Detailed Description

Definition at line 67 of file vosobject3d.hh.

Public Member Functions

Static Public Member Functions

Protected Attributes


Constructor & Destructor Documentation

csMetaObject3D::csMetaObject3D ( VOS::VobjectBase superobject  ) 

virtual csMetaObject3D::~csMetaObject3D (  )  [virtual]


Member Function Documentation

virtual void csMetaObject3D::applyForce ( double  x,
double  y,
double  z 
) [virtual]

Apply an instantaneous linear force vector to this object.

Parameters:
x component of vector
y component of vector
z component of vector

Reimplemented from A3DL::Object3D.

virtual void csMetaObject3D::applyTorque ( double  x,
double  y,
double  z 
) [virtual]

Apply an instantaneous angular torque to this object.

The direction of the vector specifies the axis, the length of the vector specifies the magnitude, and the direction of rotation is determined by the "right hand" rule.

Parameters:
x component of vector
y component of vector
z component of vector

Reimplemented from A3DL::Object3D.

virtual void csMetaObject3D::changeMaterial ( iMaterialWrapper *  mat  )  [virtual]

void csMetaObject3D::doMoveTo ( const csVector3 &  vec,
float  timestep 
)

virtual void csMetaObject3D::getAngularVelocity ( double &  x,
double &  y,
double &  z 
) [virtual]

Fetch the current angular velocity of this object.

The direction of the vector specifies the axis, the length of the vector specifies the magnitude, and the direction of rotation is determined by the "right hand" rule.

Parameters:
x component of vector
y component of vector
z component of vector

Reimplemented from A3DL::Object3D.

csRef<csVosObject3D> csMetaObject3D::GetCSinterface (  ) 

virtual void csMetaObject3D::getLinearVelocity ( double &  x,
double &  y,
double &  z 
) [virtual]

Fetch the current linear velocity vector for this object.

Parameters:
x component of vector
y component of vector
z component of vector

Reimplemented from A3DL::Object3D.

VUtil::vRef<csMetaMaterial> csMetaObject3D::getMetaMaterial (  )  [inline]

Definition at line 99 of file vosobject3d.hh.

VUtil::Task* csMetaObject3D::GetSetupTask ( csVosA3DL vosa3dl,
csVosSector sect 
)

csVosA3DL* csMetaObject3D::getVosA3DL (  )  [inline]

Definition at line 90 of file vosobject3d.hh.

virtual void csMetaObject3D::moveTo ( double  x,
double  y,
double  z,
double  timestep 
) [virtual]

Reimplemented from A3DL::Object3D.

static VOS::MetaObject* csMetaObject3D::new_csMetaObject3D ( VOS::VobjectBase superobject,
const std::string &  type 
) [static]

virtual void csMetaObject3D::notifyChildInserted ( VOS::VobjectEvent event  )  [virtual]

Called when a child has been inserted into the listened-to children list.

Implements VOS::ChildChangeListener.

Reimplemented in csMetaModel.

virtual void csMetaObject3D::notifyChildRemoved ( VOS::VobjectEvent event  )  [virtual]

Called when a child has been deleted in the listened-to children list.

Implements VOS::ChildChangeListener.

Reimplemented in csMetaModel.

virtual void csMetaObject3D::notifyChildReplaced ( VOS::VobjectEvent event  )  [virtual]

Called when a child has replaced another child in the listened-to children list.

Implements VOS::ChildChangeListener.

virtual void csMetaObject3D::notifyPropertyChange ( const VOS::PropertyEvent event  )  [virtual]

Notification interface that a property has been changed.

Override this method in your subclass.

Parameters:
event Event describing what happened. Note the 'const' declaration.

Implements VOS::PropertyListener.

Reimplemented in csMetaModel.

virtual void csMetaObject3D::Setup ( csVosA3DL vosa3dl,
csVosSector sect 
) [virtual]

void csMetaObject3D::setupCollider ( bool  coldet,
double  gravity 
)

void csMetaObject3D::setupCollider (  ) 

virtual bool csMetaObject3D::supportsPhysics (  )  [virtual]

Returns:
If true, applyForce/applyTorque will be fed into a physics engine and the object will have dynamic response. If false applyForce/applyTorque apply the change directly as a delta to the position/orientation property.

Reimplemented from A3DL::Object3D.

virtual void csMetaObject3D::syncOrientation ( bool  setCollider  )  [virtual]

virtual void csMetaObject3D::syncPosition ( bool  setCollider  )  [virtual]

void csMetaObject3D::updateMaterial (  ) 


Member Data Documentation

Definition at line 72 of file vosobject3d.hh.

csColliderActor csMetaObject3D::collider_actor [protected]

Definition at line 78 of file vosobject3d.hh.

Definition at line 73 of file vosobject3d.hh.

bool csMetaObject3D::htvalid [protected]

Definition at line 77 of file vosobject3d.hh.

Definition at line 76 of file vosobject3d.hh.

Referenced by getMetaMaterial().

csRef<csVosSector> csMetaObject3D::sector [protected]

Definition at line 75 of file vosobject3d.hh.

bool csMetaObject3D::setupCA [protected]

Definition at line 79 of file vosobject3d.hh.

csRef<csVosA3DL> csMetaObject3D::vosa3dl [protected]

Definition at line 74 of file vosobject3d.hh.

Referenced by getVosA3DL().

bool csMetaObject3D::wasZero [protected]

Definition at line 80 of file vosobject3d.hh.


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