omegalib  13.1
omega::NodeComponent Class Referenceabstract

NodeComponent is the base class for objects that can be attached to a scene node. More...

#include <NodeComponent.h>

Public Member Functions

 NodeComponent ()
 
virtual void update (const UpdateContext &context)=0
 
virtual const AlignedBox3getBoundingBox ()
 
virtual bool hasBoundingBox ()
 
virtual bool isInitialized ()=0
 
virtual bool hasCustomRayIntersector ()
 
virtual bool intersectRay (const Ray &ray, Vector3f *hitPoint)
 
virtual void initialize (Engine *server)=0
 
virtual void updateBoundingBox ()
 
virtual void onAttached (SceneNode *)
 
virtual void onDetached (SceneNode *)
 
void requestBoundingBoxUpdate ()
 
bool needsBoundingBoxUpdate ()
 
SceneNodegetOwner ()
 
- Public Member Functions inherited from omicron::ReferenceType
 ReferenceType ()
 
virtual ~ReferenceType ()
 
void ref ()
 
void unref ()
 
long refCount ()
 

Friends

class SceneNode
 

Additional Inherited Members

- Static Public Member Functions inherited from omicron::ReferenceType
static void printObjCounts ()
 
- Static Protected Attributes inherited from omicron::ReferenceType
static List< ReferenceType * > mysObjList
 

Detailed Description

NodeComponent is the base class for objects that can be attached to a scene node.

+ Inheritance diagram for omega::NodeComponent:

Constructor & Destructor Documentation

omega::NodeComponent::NodeComponent ( )
inline

Member Function Documentation

virtual const AlignedBox3* omega::NodeComponent::getBoundingBox ( )
inlinevirtual
SceneNode* omega::NodeComponent::getOwner ( )
inline
virtual bool omega::NodeComponent::hasBoundingBox ( )
inlinevirtual
virtual bool omega::NodeComponent::hasCustomRayIntersector ( )
inlinevirtual
virtual void omega::NodeComponent::initialize ( Engine server)
pure virtual
virtual bool omega::NodeComponent::intersectRay ( const Ray ray,
Vector3f hitPoint 
)
inlinevirtual
virtual bool omega::NodeComponent::isInitialized ( )
pure virtual
bool omega::NodeComponent::needsBoundingBoxUpdate ( )
inline
virtual void omega::NodeComponent::onAttached ( SceneNode )
inlinevirtual
virtual void omega::NodeComponent::onDetached ( SceneNode )
inlinevirtual
void omega::NodeComponent::requestBoundingBoxUpdate ( )
inline
virtual void omega::NodeComponent::update ( const UpdateContext context)
pure virtual
virtual void omega::NodeComponent::updateBoundingBox ( )
inlinevirtual

Friends And Related Function Documentation

friend class SceneNode
friend

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