EnvGrid3D::EnvGrid3DPlugIn< Super > Class Template Reference

This plugIn provides a spactial DB based on m_CommonRes's grid. More...

Inheritance diagram for EnvGrid3D::EnvGrid3DPlugIn< Super >:

BehaveRT::SimEnginePlugIn BehaveRT::AbstractSimEnginePlugIn

List of all members.

Public Member Functions

 EnvGrid3DPlugIn ()
 XXX install/unistall plugin shoulde be automatic.
const std::string name ()
const DependenciesList plugInDependencies ()
void reset ()
 
void update (const float elapsedTime)
 
void addToFeaturesToReorder (InstallableEntity *entity, const type_info *type)
void reorderSimData ()
 Reorder the feature added to the specific list.
BehaveRT::DeviceArrayWrapper
< float4 > * 
getPos ()
 Returns the position feature.
float3 getWorldCenter ()
 Calculate worldCenter based on worldOrigin and worldRadius.

Protected Member Functions

void setWorldCenter (float3 worldCenter)
 Setup worldOrigin based on worldCenter and worldRadius.


Detailed Description

template<class Super>
class EnvGrid3D::EnvGrid3DPlugIn< Super >

This plugIn provides a spactial DB based on m_CommonRes's grid.

When an other plugIn extends this one, it inheritates the features contained in EnvGrid3DFields and parameters in EnvGrid3DParams


Member Function Documentation

template<class Super >
void EnvGrid3DPlugIn::addToFeaturesToReorder ( InstallableEntity entity,
const type_info *  type 
) [inline]

When a feature is included to the list FeatureToReorder, at each frame, the it will be reordered based on the hash scheme

Parameters:
entity feature to reorder, such as, a DeviceArrayWrapper
type the type_info of the feature

template<class Super >
const std::string EnvGrid3D::EnvGrid3DPlugIn< Super >::name (  )  [inline, virtual]

PlugIn name. Example:

                        const std::string  name() 
                        {
                                return "PlugInCustomizedName"; 
                        }

Implements BehaveRT::AbstractSimEnginePlugIn.

template<class Super >
const DependenciesList EnvGrid3D::EnvGrid3DPlugIn< Super >::plugInDependencies (  )  [inline, virtual]

List of dependecies (This will be removed) Example:

                        DependenciesList plugInDependencies()
                        {
                                DependenciesList dependencies;
                                dependencies.push_back("EnvGrid3DPlugIn");      // First dependency
                                dependencies.push_back("ProximityDBPlugIn"); // Second dependency
                                // Put here other dependecies
                                return dependencies;
                        }

Implements BehaveRT::AbstractSimEnginePlugIn.

template<class Super >
void EnvGrid3DPlugIn::reorderSimData (  )  [inline]

Reorder the feature added to the specific list.

See also:
addToFeaturesToReorder


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

Generated on Mon Oct 19 13:19:44 2009 for BehaveRT by  doxygen 1.5.7.1