
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. | |
When an other plugIn extends this one, it inheritates the features contained in EnvGrid3DFields and parameters in EnvGrid3DParams
| 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
| entity | feature to reorder, such as, a DeviceArrayWrapper | |
| type | the type_info of the feature |
| const std::string EnvGrid3D::EnvGrid3DPlugIn< Super >::name | ( | ) | [inline, virtual] |
PlugIn name. Example:
const std::string name() { return "PlugInCustomizedName"; }
Implements BehaveRT::AbstractSimEnginePlugIn.
| 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.
| void EnvGrid3DPlugIn::reorderSimData | ( | ) | [inline] |
1.5.7.1