My Project
Public Member Functions | Protected Attributes | List of all members
ParaEngine::MetaObject Class Referenceabstract

Abstract class defining the interface for meta objects to be used with MetaObjectDataGrid. More...

#include <MetaObject.h>

Inheritance diagram for ParaEngine::MetaObject:
ParaEngine::CRefCountedOne ParaEngine::CRefCounted ParaEngine::MetaBall ParaEngine::MetaHeightmap

Public Member Functions

 MetaObject (MetaWorldFragment *wf, const Vector3 &position)
 
 MetaObject (MetaWorldFragment *wf)
 
virtual void updateDataGrid (DataGrid *dataGrid)=0
 Tells the meta object to update the data grid. More...
 
const Vector3getPosition () const
 Returns the position of the meta object.
 
void setPosition (const Vector3 &position)
 Sets the position of the meta object.
 
MetaWorldFragmentgetMetaWorldFragment () const
 Returns the MetaWorldFragment* of the meta object.
 
virtual CShapeAABB getAABB () const =0
 Checks for overlap with an AABB.
 
- Public Member Functions inherited from ParaEngine::CRefCounted
void addref () const
 add reference count of the object. More...
 
bool delref () const
 decrease reference count of the object. More...
 
int GetRefCount () const
 get the reference count
 
virtual int Release ()
 
CRefCountedAddToAutoReleasePool ()
 addref and releases the ownership sometime soon automatically (usually at the end of the current frame). More...
 

Protected Attributes

Vector3 mPosition
 
MetaWorldFragmentmMetaWorldFragment
 
- Protected Attributes inherited from ParaEngine::CRefCounted
int m_refcount
 

Detailed Description

Abstract class defining the interface for meta objects to be used with MetaObjectDataGrid.

it is a reference counted object

Member Function Documentation

§ updateDataGrid()

virtual void ParaEngine::MetaObject::updateDataGrid ( DataGrid dataGrid)
pure virtual

Tells the meta object to update the data grid.

Implemented in ParaEngine::MetaHeightmap, and ParaEngine::MetaBall.


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