|
| AtomsCache () |
| Constructor.
|
|
| AtomsCache (const std::string &cachePath, const std::string &cacheName) |
| Constructor.
|
|
| AtomsCache (const std::string &cachePath, const std::string &cacheName, const std::vector< int > &agents) |
| Constructor.
|
|
| ~AtomsCache () |
| Destructor.
|
|
bool | openCache (const std::string &cachePath, const std::string &cacheName) |
| Opens a cache. More...
|
|
bool | openCache (const std::string &cachePath, const std::string &cacheName, const std::vector< int > &agents) |
| Opens a cache. More...
|
|
void | loadTime (double time) |
| Loads the pre/next and current frame given the input time.
|
|
void | loadPrevFrame (int frame) |
| Loads a cache frame and store in the previous frame (usually used for the previous frame during the motion blur computation)
|
|
void | loadFrame (int frame) |
| Loads a cache frame and stores the current frame data. More...
|
|
void | loadNextFrame (int frame) |
| Loads a cache frame and stores the next frame data (usually used for the next frame during the motion blur computation)
|
|
void | loadPrevFrameHeader (int frame) |
| Loads a cache frame header and store in the previuos frame (usually used for the previous frame during the motion blur computation)
|
|
void | loadFrameHeader (int frame) |
| Loads a cache frame header and stores the current frame data. More...
|
|
void | loadNextFrameHeader (int frame) |
| Loads a cache frame and stores the next frame data (usually used for the next frame during the motion blur computation)
|
|
size_t | numAgents () const |
| Get the number of agents.
|
|
int | startFrame () const |
| Get the start frame.
|
|
int | endFrame () const |
| Get the end frame.
|
|
int | currentFrame () const |
| Get the current frame.
|
|
int | prevFrame () const |
| Get the previous frame.
|
|
int | nextFrame () const |
| Get the next frame.
|
|
FrameData & | prevFrameData () |
| Get the previous frame data.
|
|
FrameData & | frameData () |
| Get the current frame data.
|
|
FrameData & | nextFrameData () |
| Get the next frame data.
|
|
void | loadBoundingBox (double time, AtomsCore::Box3 &box) const |
| Loads bbox. More...
|
|
void | loadAgent (double time, unsigned int agentId, Atoms::Agent &agent) const |
| Loads all data for an agent. More...
|
|
void | loadAgentBoundingBox (double time, unsigned int agentId, AtomsCore::Box3 &box) const |
| Loads an agent bbox. More...
|
|
void | loadAgentPose (double time, unsigned int agentId, AtomsCore::Pose &pose) const |
| Loads an agent pose. More...
|
|
void | loadAgentMetadata (double time, unsigned int agentId, AtomsCore::MapMetadata &metadata) const |
| Loads an agent metadata. More...
|
|
void | clear () |
| Clear all the loaded frames.
|
|
void | processMetadata (AtomsCore::MapMetadata &outMetadata, std::vector< const AtomsCore::MapMetadata * > &inMetadatas, const std::vector< double > &inputWeightVector) const |
| Blends multiple mapmetadata.
|
|
void | blendPose (size_t numJoints, std::vector< const AtomsCore::Pose * > &posePorts, std::vector< double > &weightPorts, AtomsCore::Pose &outPose) const |
| Blends pose.
|
|
const std::string & | agentType (double time, unsigned int agentId) const |
| Gets the agent type.
|
|
const AtomsCore::Vector3 & | agentPosition (double time, unsigned int agentId) const |
| Gets the agent position.
|
|
const std::string & | agentVariation (double time, unsigned int agentId) const |
| Get the agent variation.
|
|
const std::vector< std::string > & | agentVariationOverrides (double time, unsigned int agentId) const |
| Get the agent variation overrides.
|
|
const int | agentVariationSeed (double time, unsigned int agentId) const |
| Get the agent variation seed.
|
|
const std::vector< std::string > & | agentsVariationsGeoMatOverride (double time, unsigned int agentId) const |
| Get the agent variation geo mat overrides.
|
|
const std::vector< std::string > & | agentsVariationsGeometryFilter (double time, unsigned int agentId) const |
| Get the agent variation geo filter overrides.
|
|
int | agentColorVariation (double time, unsigned int agentId) const |
| Get the agent variation.
|
|
int | agentSourceGroupId (double time, unsigned int agentId) const |
| Get the agent source group id.
|
|
const std::string & | agentLod (double time, unsigned int agentId) const |
| Get the agent lod.
|
|
const AtomsCore::Vector3 & | agentVelocity (double time, unsigned int agentId) const |
| Gets the agent velocity.
|
|
const std::vector< int > & | agentIds (double time) const |
| Gets agent ids.
|
|
const std::vector< int > & | agentsCreated (double time) const |
| Gets the list of agent created.
|
|
const std::vector< int > & | agentsDeleted (double time) const |
| Gets the list of agent deleted.
|
|
size_t | numAgentsCreated (double time) const |
| Gets the number of agents created.
|
|
size_t | numAgentsDeleted (double time) const |
| Gets the number of agent deleted.
|
|
void | setAgentsToLoad (const std::vector< int > &agents) |
| Sets the agents to be loaded from the cache.
|
|
const std::string & | cacheName () const |
| Return the cache name.
|
|
const std::string & | cachePath () const |
| Return the cache path.
|
|
AgentTypePtr | loadAgentType (const std::string &agentTypeName, bool asGlobal=true) |
| Load and get an agent type.
|
|
AgentTypes & | agentTypes () |
| Return the local agent types object.
|
|
const AgentTypes & | agentTypes () const |
| Return the local agent types object.
|
|