|
| ~Agent () |
| Destructor.
|
|
const AgentTypeCPtr & | agentType () const |
| Gets the agent type. More...
|
|
void | setAgentType (AgentTypeCPtr agentType) |
| Sets the agent type. More...
|
|
AtomsCore::Pose & | pose () |
| Gets the agent pose. More...
|
|
const AtomsCore::Pose & | pose () const |
| Gets the agent pose. More...
|
|
void | setPose (const AtomsCore::Pose &value) |
| Set agent pose. More...
|
|
void | computePose (double simTime=0.0) |
| Computes the agent pose. More...
|
|
AtomsCore::MapMetadata & | metadata () |
| Gets the agent metadata map. More...
|
|
const AtomsCore::MapMetadata & | metadata () const |
| Gets the agent metadata map. More...
|
|
void | setMetadata (const AtomsCore::MapMetadata &value) |
| Set agent metadata.
|
|
AgentBehaviourNetwork & | network () |
| Gets the agent behaviour network.
|
|
size_t | memSize () const |
| Gets the memory size of this agent.
|
|
void | computeBoundingBox () |
| Computes the agent bounding box.
|
|
void | computeMeshBoundingBox () |
| Compute the bounding box using the skinned meshes.
|
|
AtomsCore::Box3 | boundingBox () const |
| Gets the agent bounding box.
|
|
void | setBoundingBox (const AtomsCore::Box3 &box) |
| Sets the agent bounding box.
|
|
AtomsCore::Rand48 & | random () |
| Return the internal agent random numbers generator.
|
|
void | reset () |
| Reset the agent.
|
|
size_t | profileTime () const |
| Get the profile time.
|
|
size_t | profileThreadId () const |
| Get the profile thread id.
|
|
void | setProfileThreadBatch (size_t value) |
| Set the profile thread id.
|
|
size_t | profileThreadBatch () const |
| Get the profile thread batch.
|
|
void | lock () |
| lock the agent mutex
|
|
void | unlock () |
| unlock the agent mutex
|
|
std::mutex & | mutex () |
| Agent mutex.
|
|
void | transform (const AtomsMath::Matrix &transformMatrix, bool affectPosition=true, bool affectDirection=true, bool affectGroundHeight=true) |
| Transform the agent by the given matrix.
|
|
ContextSteeringData & | contextSteeringData () |
|
const ContextSteeringData & | contextSteeringData () const |
|
const bool | hasValidContextSteeringData () const |
|
void | initializeMetadataPointers () |
|
void | setNavigationData (AtomsPtr< AgentNavigationData > &data) |
|
void | removeNavigationData () |
|
AtomsPtr< AgentNavigationData > & | navigationData () |
|
AtomsPtr< AtomsCore::IntMetadata > & | groupId () |
|
AtomsPtr< AtomsCore::StringMetadata > & | groupIdStr () |
|
AtomsPtr< AtomsCore::IntMetadata > & | id () |
|
AtomsPtr< AtomsCore::Vector3Metadata > & | position () |
|
AtomsPtr< AtomsCore::Vector3Metadata > & | scale () |
|
AtomsPtr< AtomsCore::QuaternionMetadata > & | rotation () |
|
AtomsPtr< AtomsCore::Vector3Metadata > & | direction () |
|
AtomsPtr< AtomsCore::Vector3Metadata > & | prevDirection () |
|
AtomsPtr< AtomsCore::Vector3Metadata > & | up () |
|
AtomsPtr< AtomsCore::Vector3Metadata > & | velocity () |
|
AtomsPtr< AtomsCore::Vector3Metadata > & | gravity () |
|
AtomsPtr< AtomsCore::DoubleMetadata > & | birth () |
|
AtomsPtr< AtomsCore::IntMetadata > & | state () |
|
AtomsPtr< AtomsCore::IntMetadata > & | currentState () |
|
AtomsPtr< AtomsCore::IntMetadata > & | active () |
|
AtomsPtr< AtomsCore::DoubleMetadata > & | frameRate () |
|
AtomsPtr< AtomsCore::DoubleMetadata > & | frameRateOverride () |
|
AtomsPtr< AtomsCore::BoolMetadata > & | disableIk () |
|
AtomsPtr< AtomsCore::BoolMetadata > & | disableFootLock () |
|
AtomsPtr< AtomsCore::IntMetadata > & | syncLevel () |
|
AtomsPtr< AtomsCore::IntMetadata > & | animationMode () |
|
AtomsPtr< AtomsCore::Metadata > & | animState () |
|
AtomsPtr< AtomsCore::BoolMetadata > & | forceClipTransition () |
|
AtomsPtr< AtomsCore::BoolMetadata > & | visible () |
|
AtomsPtr< AtomsCore::DoubleMetadata > & | linearVelocity () |
|
AtomsPtr< AtomsCore::DoubleMetadata > & | angularVelocity () |
|
AtomsPtr< AtomsCore::DoubleMetadata > & | frameAngularVelocity () |
|
AtomsPtr< AtomsCore::BoolMetadata > & | locomotionActive () |
|
AtomsPtr< AtomsCore::Vector3Metadata > & | velocityOverride () |
|
AtomsPtr< AtomsCore::BoolMetadata > & | useVelocityOverride () |
|
AtomsPtr< AtomsCore::IntMetadata > & | minLod () |
|
AtomsPtr< AtomsCore::Vector3Metadata > & | _navtp () |
|
AtomsPtr< AtomsCore::Vector3ArrayMetadata > & | _navfp () |
|
AtomsPtr< AtomsCore::Vector3Metadata > & | previousPos () |
|
AtomsPtr< const AtomsCore::IntMetadata > | groupId () const |
|
AtomsPtr< const AtomsCore::StringMetadata > | groupIdStr () const |
|
AtomsPtr< const AtomsCore::IntMetadata > | id () const |
|
AtomsPtr< const AtomsCore::Vector3Metadata > | position () const |
|
AtomsPtr< const AtomsCore::Vector3Metadata > | scale () const |
|
AtomsPtr< const AtomsCore::QuaternionMetadata > | rotation () const |
|
AtomsPtr< const AtomsCore::Vector3Metadata > | direction () const |
|
AtomsPtr< const AtomsCore::Vector3Metadata > | prevDirection () const |
|
AtomsPtr< const AtomsCore::Vector3Metadata > | up () const |
|
AtomsPtr< const AtomsCore::Vector3Metadata > | velocity () const |
|
AtomsPtr< const AtomsCore::Vector3Metadata > | gravity () const |
|
AtomsPtr< const AtomsCore::DoubleMetadata > | birth () const |
|
AtomsPtr< const AtomsCore::IntMetadata > | state () const |
|
AtomsPtr< const AtomsCore::IntMetadata > | currentState () const |
|
AtomsPtr< const AtomsCore::IntMetadata > | active () const |
|
AtomsPtr< const AtomsCore::DoubleMetadata > | frameRate () const |
|
AtomsPtr< const AtomsCore::DoubleMetadata > | frameRateOverride () const |
|
AtomsPtr< const AtomsCore::BoolMetadata > | disableIk () const |
|
AtomsPtr< const AtomsCore::BoolMetadata > | disableFootLock () const |
|
AtomsPtr< const AtomsCore::IntMetadata > | syncLevel () const |
|
AtomsPtr< const AtomsCore::IntMetadata > | animationMode () const |
|
AtomsPtr< const AtomsCore::Metadata > | animState () const |
|
AtomsPtr< const AtomsCore::BoolMetadata > | forceClipTransition () const |
|
AtomsPtr< const AtomsCore::BoolMetadata > | visible () const |
|
AtomsPtr< const AtomsCore::DoubleMetadata > | linearVelocity () const |
|
AtomsPtr< const AtomsCore::DoubleMetadata > | angularVelocity () const |
|
AtomsPtr< const AtomsCore::DoubleMetadata > | frameAngularVelocity () const |
|
AtomsPtr< const AtomsCore::BoolMetadata > | locomotionActive () const |
|
AtomsPtr< const AtomsCore::Vector3Metadata > | velocityOverride () const |
|
AtomsPtr< const AtomsCore::BoolMetadata > | useVelocityOverride () const |
|
AtomsPtr< const AtomsCore::Vector3Metadata > | _navtp () const |
|
AtomsPtr< const AtomsCore::Vector3ArrayMetadata > | _navfp () const |
|
Agent.
This class defines an agent. It contains a pose, the behaviour network used to compute it, a pointer to the agent type and a metadata map.