Atoms Crowd  7.0.0
Atoms::ContextSteeringData Class Reference

Public Types

enum class  Flags : unsigned short {
  Empty = 0 , DisableAgentAvoidance = (1 << 0) , DisableNavigation = (1 << 1) , DisableGroundAdaptation = (1 << 2) ,
  UseAgentDirection = (1 << 3)
}
 

Public Member Functions

void clear ()
 
void setNumSamples (unsigned int numSamples)
 
void disableAgentAvoidance (bool value)
 
bool hasAgentAvoidanceDisabled () const
 
void disableNavigation (bool value)
 
bool hasNavigationDisabled () const
 
void disableGroundAdaptation (bool value)
 
bool hasGroundAdaptationDisabled () const
 
bool useAgentDirection () const
 
void setUseAgentDirection (bool value)
 
void fillInterestMap (const AtomsMath::Vector3 &direction, float weight)
 
double getSlot (const AtomsMath::Vector3 &dir)
 

Public Attributes

AtomsMath::Vector3 position
 
AtomsMath::Vector3 direction
 
AtomsMath::Vector3 up
 
AtomsMath::Vector3 lastDirection
 
AtomsMath::Vector3 target
 
std::vector< AtomsMath::Vector3 > obstacles
 
std::vector< float > samples
 
std::vector< float > danger
 
std::vector< float > interest
 
std::vector< float > result
 
float distance
 
float previousLinearVelocity
 
float maxLinearAcceration
 
float lastWeight
 
unsigned int dynamicSamples
 
unsigned int numDirectionalModules
 
Flags flags
 
int reactionTime
 
int currentTime
 
int randomSeed
 
bool useTarget
 

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