Atoms Crowd  7.0.0
Atoms Namespace Reference

Atoms namespace. More...

Classes

class  AgentNavigationData
 
class  Agent
 Agent. More...
 
class  AgentGroup
 Agent group. More...
 
class  AgentInitData
 Agent init data. More...
 
class  AgentsPool
 Agents pool. More...
 
class  AgentsSimulation
 Agent simulation. More...
 
class  AgentsSimulations
 Container for all AgentSimulation instances. More...
 
class  AgentType
 Agent type. More...
 
class  AgentTypes
 Container for all agent types. More...
 
class  JointClipData
 Joint Clip data. More...
 
class  AnimationClip
 Animation clip. More...
 
class  AnimationClipLooper
 Animation clip looper. More...
 
class  AnimationClipOperators
 Animation Clip Operator factory. More...
 
class  AnimationClips
 Animation clips manager. More...
 
class  AnimationState
 Animation State. More...
 
class  AnimationStateClip
 Animation State clip. More...
 
class  AtomsCache
 
class  AtomsClip
 Atoms clip. More...
 
class  AtomsClothCache
 
class  AtomsClothCaches
 
class  AtomsPlugin
 
class  AtomsPluginsManager
 Stores and manages all the atoms plugin. More...
 
class  BehaviourModule
 Behaviour module. More...
 
struct  AttributeCacheScriptType
 
struct  AttributeCacheScriptType< std::string >
 
class  BehaviourModuleAttributeCache
 Behaviour Module Attribute Cache. More...
 
class  BehaviourModules
 Behaviour module factory. More...
 
class  Behaviour
 
class  BehaviourFactory
 Behaviour factory. More...
 
class  AgentHasMetadataBehaviour
 
class  ComputeDirectionBehaviour
 
class  ComputeDistanceBehaviour
 
class  ConditionBehaviour
 
class  CopyMetadataBehaviour
 
class  CreateAgentBehaviour
 
class  DeleteAgentMetadataBehaviour
 
class  FindRandomReachablePointBehaviour
 
class  FlockingBehaviour
 
class  FollowCurveBehaviour
 
class  GenerateRandomValueBehaviour
 
class  GetAgentMetadataBehaviour
 
class  GetAngleBetweenVectorsBehaviour
 
class  GetArrayElementByIndexBehaviour
 
class  GetClosestAgentBehaviour
 
class  GetClosestElementIndexFromVectorArray
 
class  GetClosestPointOnCurveBehaviour
 
class  GetCurvePointBehaviour
 
class  GetMeshPointBehaviour
 
class  GetVectorLengthBehaviour
 
class  GoToBehaviour
 
class  InterpolateBlackboardEntryBehaviour
 
class  JointAimBehaviour
 
class  JointConstraintBehaviour
 
class  JointIkBehaviour
 
class  JointTransformBehaviour
 
class  KillAgentBehaviour
 
class  MathOperationBehaviour
 
class  OffsetVectorBehaviour
 
class  PlayAnimationBehaviour
 
class  PlayAnimationSequenceBehaviour
 
class  RotateVectorBehaviour
 
class  ScaleVectorBehaviour
 
class  SetAgentMetadataBehaviour
 
class  SetBlackboardArrayEntryElementBehaviour
 
class  SetBlackboardEntryBehaviour
 
class  SetBlackboardEntryFromArrayBehaviour
 
class  SuccessBehaviour
 
class  FailureBehaviour
 
class  RunningBehaviour
 
class  WaitBehaviour
 
class  BehaviourTree
 
class  BehaviourTreeContext
 
struct  BlackboardEntry
 
class  Blackboard
 
class  BlackboardInstance
 
struct  BlackboardEntryPosition
 
class  BlackboardValue
 
class  Composite
 
class  Sequence
 
class  Selector
 
class  Parallel
 
class  ActiveSelector
 
class  ActiveSequence
 
class  BinarySelector
 
class  ProbabilitySelector
 
class  RandomSelector
 
class  RandomSequence
 
class  StepSequencer
 
class  Switch
 
class  ConditionValue
 
class  Decorator
 
class  Root
 
class  AgentExistsDecorator
 
class  AgentHasMetadataDecorator
 
class  Conditional
 
class  ConditionalRepeat
 
class  Cooldown
 
class  Interruptor
 
class  Inverter
 
class  IsInRangeDecorator
 
class  IsInsideAreaDecorator
 
class  IsVisibleDecorator
 
class  Iterator
 
class  LineTraceDecorator
 
class  Lock
 
class  Optional
 
class  ProximityDecorator
 
class  Repeat
 
class  Timeout
 
class  BehaviourTreeMaps
 
class  CacheManager
 Cache manager. More...
 
class  AnimationClipOperator
 Animation Clip Operator. More...
 
class  ExtendClipOperator
 
class  JointOffsetClipOperator
 
class  JointParentConstraintClipOperator
 
class  JointSinAnimationClipOperator
 
class  JointSplineAnimationClipOperator
 
class  JointTransformMultiplierClipOperator
 
class  MotionTransferClipOperator
 
class  OffsetClipOperator
 
class  RetimeClipOperator
 
class  TreadmillClipOperator
 
class  VelocityClipOperator
 
class  VelocityMultiplierClipOperator
 
class  ContextSteeringData
 
class  DrawContext
 
class  AgentGroupExporterFactory
 AgentGroup Exporter factory. More...
 
class  BaseAgentGroupExporter
 BaseAnimLoader class. More...
 
class  BaseMeshExporter
 BaseMeshExporter class. More...
 
class  BaseSkeletonExporter
 BaseSkeletonExporter class. More...
 
class  DefaultMeshExporter
 
class  DefaultSkeletonExporter
 
class  MeshExporterFactory
 AnimExporter factory. More...
 
class  SkeletonExporterFactory
 AnimExporter factory. More...
 
class  GlobalNameKeys
 
class  AgentBehaviourNetwork
 Agent behaviour network. More...
 
class  AgentNode
 Agent node. More...
 
class  GetAgentJointMatrixNode
 
class  GetAgentJointPoseNode
 
class  SetAgentJointMatrixNode
 
class  SetAgentJointPoseNode
 
class  Operator
 Operator node. More...
 
class  OperatorComputeData
 
class  AdditiveClipOperator
 
class  AgentJointWorldPositionOperator
 
class  AnimationStateOperator
 
class  BindPoseOperator
 
class  BlendSpaceOperator
 
class  BufferOperator
 
class  CacheReaderOperator
 
class  ClipReaderOperator
 
class  CloneAgentOperator
 
struct  FootCache
 
class  FootOperator
 
class  JointAimOperator
 
class  JointConstraintOperator
 
class  JointIkOperator
 
class  JointTransformOperator
 
class  MergeOperator
 
class  MirrorOperator
 
class  ParticleOperator
 
class  PelvisOperator
 
class  RagdollOperator
 
class  StateMachineBaseNodeOperator
 
class  StateMachineOperator
 
class  SyncOperator
 
class  HeightField
 Container for all agent types. More...
 
class  HeightFields
 Container for all agent types. More...
 
class  AgentsLayoutToolData
 
class  CacheLayoutGenerator
 
class  CurveLayoutGenerator
 
class  CurvePairLayoutGenerator
 
class  DynamicLayoutGenerator
 
class  GridLayoutGenerator
 
class  LayoutGenerator
 Layout generator. More...
 
class  MeshScatterLayoutGenerator
 
class  PointsLayoutGenerator
 
class  SphereLayoutGenerator
 
class  StadiumLayoutGenerator
 
class  SyncLayoutGenerator
 
class  TorusLayoutGenerator
 
class  AlembicMeshLoader
 
class  AnimLoaderFactory
 AnimLoader factory. More...
 
class  AtomsClipLoader
 
class  BaseAnimLoader
 BaseAnimLoader class. More...
 
class  BaseMeshLoader
 BaseAnimLoader class. More...
 
class  BaseSkeletonLoader
 BaseAnimLoader class. More...
 
class  BVHAnimLoader
 
class  BVHSkeletonLoader
 
class  DefaultMeshLoader
 
class  DefaultSkeletonLoader
 
class  FbxAnimLoader
 
class  FbxMeshLoader
 
class  FbxSkeletonLoader
 
class  FileCache
 
class  MeshLoaderFactory
 AnimLoader factory. More...
 
class  SkeletonLoaderFactory
 AnimLoader factory. More...
 
class  LocomotionBoundaries
 
class  LocomotionDelaunay
 
class  LocomotionClip
 
class  Locomotion
 Animation clip. More...
 
class  Locomotions
 Locomotions manager. More...
 
class  MeshHeightField
 Container for all agent types. More...
 
class  NavigationMeshes
 Container for all agent types. More...
 
class  AtomsPhysx
 
class  AtomsPhysxErrorCallback
 
class  RigidBodyAttributes
 
class  RigidBody
 
class  RigidBodyConstraintAttributes
 
class  RigidBodyConstraint
 
class  SimulationEvent
 Simiation Event. More...
 
class  SimulationEvents
 Simulation event factory. More...
 
class  SimulationTime
 Global simulation time. More...
 
class  StateMachine
 State machine. More...
 
class  StateMachines
 Container for all state machines. More...
 
class  BaseVariationLoader
 BaseVariationLoader class. More...
 
class  FifthVersionLoader
 
class  FirstVersionLoader
 
class  FourthVersionLoader
 
class  SecondVersionLoader
 
class  SixthVersionLoader
 
class  ThirdVersionLoader
 
class  VariationLoaderFactory
 VariationLoader factory. More...
 
class  VariationGeometry
 VariationGeometry class. More...
 
class  VariationMaterialColor
 Variation Material Color. More...
 
class  VariationMaterial
 Variation Material. More...
 
class  BaseVariationGroup
 
class  VariationGroupLod
 Variation group lod class. More...
 
class  VariationGroup
 Variation group class. More...
 
class  ExcludeGeometry
 Exclude Geometry. More...
 
class  VariationOverride
 Variation override class. More...
 
class  MaterialOverride
 
class  VariationTreeGeo
 Variation Tree Geo class. More...
 
class  MaterialConstraint
 Material Constraint class. More...
 
class  VariationTree
 Variation Tree class. More...
 
class  AgentTypeVariation
 Agent type variation class. More...
 
class  Variations
 Variations class. More...
 
class  AtomsScriptLang
 Nurbs curve. More...
 

Typedefs

typedef AtomsPtr< AgentTypeAgentTypePtr
 Agent type pointer.
 
typedef AtomsPtr< const AgentTypeAgentTypeCPtr
 Agent type const pointer.
 
typedef AtomsPtr< AnimationClipAnimationClipPtr
 animation clip pointer
 
typedef AtomsPtr< const AnimationClipAnimationClipCPtr
 animation clip const pointer
 
typedef AnimationClipLooperAnimationClipLooperPtr
 animation clip looper pointer
 
typedef const AnimationClipLooperAnimationClipLooperCPtr
 animation clip looper const pointer
 
typedef AtomsPtr< BehaviourTreeBehaviourTreePtr
 behaviour tree pointer
 
typedef AtomsPtr< const BehaviourTreeBehaviourTreeCPtr
 behaviour tree const pointer
 
typedef BlackboardValue< bool > BlackboardBoolValue
 
typedef BlackboardValue< int > BlackboardIntValue
 
typedef BlackboardValue< unsigned int > BlackboardUIntValue
 
typedef BlackboardValue< unsigned short > BlackboardUShortValue
 
typedef BlackboardValue< double > BlackboardDoubleValue
 
typedef BlackboardValue< float > BlackboardFloatValue
 
typedef BlackboardValue< std::string > BlackboardStringValue
 
typedef BlackboardValue< AtomsMath::Vector2 > BlackboardVector2Value
 
typedef BlackboardValue< AtomsMath::Vector2i > BlackboardVector2iValue
 
typedef BlackboardValue< AtomsMath::Vector2f > BlackboardVector2fValue
 
typedef BlackboardValue< AtomsMath::Vector3 > BlackboardVector3Value
 
typedef BlackboardValue< AtomsMath::Vector3i > BlackboardVector3iValue
 
typedef BlackboardValue< AtomsMath::Vector3f > BlackboardVector3fValue
 
typedef BlackboardValue< AtomsMath::Vector4 > BlackboardVector4Value
 
typedef BlackboardValue< AtomsMath::Vector4i > BlackboardVector4iValue
 
typedef BlackboardValue< AtomsMath::Vector4f > BlackboardVector4fValue
 
typedef BlackboardValue< AtomsMath::Quaternion > BlackboardQuaternionValue
 
typedef BlackboardValue< AtomsMath::Quaternionf > BlackboardQuaternionfValue
 
typedef BlackboardValue< AtomsMath::Matrix > BlackboardMatrixValue
 
typedef BlackboardValue< AtomsMath::Matrixf > BlackboardMatrixfValue
 
typedef BlackboardValue< AtomsMath::Euler > BlackboardEulerValue
 
typedef BlackboardValue< AtomsMath::Eulerf > BlackboardEulerfValue
 
typedef BlackboardValue< AtomsUtils::CurveBlackboardCurveValue
 
typedef BlackboardValue< AtomsUtils::SampledCurveBlackboardSampledCurveValue
 
typedef BlackboardValue< AtomsUtils::MeshBlackboardMeshValue
 
typedef BlackboardValue< AtomsUtils::ImageBlackboardImageValue
 
typedef BlackboardValue< AtomsPtr< AtomsCore::Metadata > > BlackboardMetadataValue
 
typedef BlackboardValue< std::vector< int > > BlackboardIntArrayValue
 
typedef BlackboardValue< std::vector< float > > BlackboardFloatArrayValue
 
typedef BlackboardValue< std::vector< double > > BlackboardDoubleArrayValue
 
typedef BlackboardValue< std::vector< std::string > > BlackboardStringArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Vector2 > > BlackboardVector2ArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Vector2i > > BlackboardVector2iArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Vector2f > > BlackboardVector2fArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Vector3 > > BlackboardVector3ArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Vector3i > > BlackboardVector3iArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Vector3f > > BlackboardVector3fArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Vector4 > > BlackboardVector4ArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Vector4i > > BlackboardVector4iArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Vector4f > > BlackboardVector4fArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Quaternion > > BlackboardQuaternionArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Quaternionf > > BlackboardQuaternionfArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Matrix > > BlackboardMatrixArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Matrixf > > BlackboardMatrixfArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Euler > > BlackboardEulerArrayValue
 
typedef BlackboardValue< std::vector< AtomsMath::Eulerf > > BlackboardEulerfArrayValue
 
typedef BlackboardValue< std::vector< AtomsUtils::SampledCurve > > BlackboardSampledCurveArrayValue
 
typedef BlackboardValue< std::vector< AtomsUtils::Curve > > BlackboardCurveArrayValue
 
typedef BlackboardValue< std::vector< AtomsUtils::Mesh > > BlackboardMeshArrayValue
 
typedef BlackboardValue< std::vector< AtomsUtils::Image > > BlackboardImageArrayValue
 
typedef AtomsPtr< AtomsCore::MapMetadataBehaviourTreeMapPtr
 behaviour trees manager More...
 
typedef ::AtomsUtils::Logger Logger
 Add AtomsUtils Logger to Atoms namespace.
 
typedef AtomsPtr< LayoutGeneratorLayoutGeneratorPtr
 
typedef AtomsPtr< LocomotionLocomotionPtr
 locomotion pointer
 
typedef AtomsPtr< const LocomotionLocomotionCPtr
 locomotion const pointer
 
typedef VariationsVariationsPtr
 variations pointer
 
typedef AgentTypeVariationAgentTypeVariationPtr
 agent type variation pointer
 
typedef VariationGeometryVariationGeometryPtr
 variation geometry pointer
 
typedef VariationMaterialVariationMaterialPtr
 variation material pointer
 
typedef VariationGroupVariationGroupPtr
 variation group pointer
 
typedef VariationOverrideVariationOverridePtr
 variation override pointer
 
typedef VariationGroupLodVariationGroupLodPtr
 variation group lod pointer
 
typedef VariationMaterialColorVariationMaterialColorPtr
 variation material color pointer
 
typedef VariationTreeVariationTreePtr
 variation tree pointer
 
typedef const VariationsVariationsCPtr
 variations const pointer
 
typedef const AgentTypeVariationAgentTypeVariationCPtr
 agent type const pointer
 
typedef const VariationGeometryVariationGeometryCPtr
 variation geometry const pointer
 
typedef const VariationMaterialVariationMaterialCPtr
 variation material const pointer
 
typedef const VariationGroupVariationGroupCPtr
 variation group const pointer

 
typedef const VariationOverrideVariationOverrideCPtr
 variation override const pointer

 
typedef const VariationGroupLodVariationGroupLodCPtr
 variation group lod const pointer
 
typedef const VariationMaterialColorVariationMaterialColorCPtr
 variation material color const pointer
 
typedef const VariationTreeVariationTreeCPtr
 variation tree pointer
 
typedef const VariationTreeGeoVariationTreeGeoCPtr
 variation tree geo pointer
 
typedef std::map< std::string, VariationTreeGeoVariationTreeGeoMap
 
typedef std::map< std::string, MaterialConstraintMaterialConstraintMap
 
typedef std::map< std::string, ExcludeGeometryExcludeGeometryMap
 

Enumerations

enum  LocomotionSort { kGreater = 0 , kLess }
 
enum  DigitalAssetAnimCurveInfinityBehaviour {
  kInfinityBehaviourConstant = 0 , kInfinityBehaviourLinear , kInfinityBehaviourCycle , kInfinityBehaviourCycleRelative ,
  kInfinityBehaviourOscilate
}
 
enum  DigitalAssetAnimCurveTangentType {
  kTangentTypeAuto = 0 , kTangentTypeClamped , kTangentTypeFlat , kTangentTypeLinear ,
  kTangentTypePlateau , kTangentTypeStepNext , kTangentTypeFixed , kTangentTypeSpline ,
  kTangentTypeStep , kTangentTypeUserDefined
}
 
enum  AlembicMeshType { kAlembicProxy = 0 , kAlembicSkin , kAlembicVariation }
 

Functions

void registerExprBehaviour ()
 
void registerSeExprBehaviour ()
 
template<>
AtomsPtr< AtomsCore::Metadata > & BehaviourTreeContext::getBlackboardValue< AtomsPtr< AtomsCore::Metadata > > (BlackboardMetadataValue &value)
 
template<>
bool BehaviourTreeContext::setBlackboardValue< AtomsPtr< AtomsCore::Metadata > > (const BlackboardMetadataValue &value)
 
template<typename T , typename M >
void getBlackboardValueFromAttributes (const AtomsCore::MapMetadata *attributes, Blackboard *blackboard, const std::string &attributeName, BlackboardValue< M > &blackboardValue)
 
void getBlackboardKeyPositionFromAttributes (const AtomsCore::MapMetadata *attributes, Blackboard *blackboard, const std::string &attributeName, BlackboardValue< std::string > &blackboardValue)
 
template<>
void getBlackboardValueFromAttributes< AtomsCore::Metadata, AtomsPtr< AtomsCore::Metadata > > (const AtomsCore::MapMetadata *attributes, Blackboard *blackboard, const std::string &attributeName, BlackboardMetadataValue &blackboardValue)
 
ATOMS_EXPORT void registerBehaviours ()
 Initialize atoms core.
 
void ATOMS_EXPORT registerAnimationClipOperators ()
 
ATOMS_EXPORT void initAgentGroupExporters ()
 Initializes agent group exporter factory. More...
 
ATOMS_EXPORT bool exportAgentGroups (const std::map< std::string, std::vector< AtomsPtr< Atoms::AgentGroup >>> &agentGroups, AtomsCore::MapMetadata *arguments, std::function< void(double)> setCurrentTimeFunc)
 Export some agent groups to the files. More...
 
ATOMS_EXPORT void initMeshExporters ()
 Initializes mesh exporter factory. More...
 
ATOMS_EXPORT bool exportMesh (const AtomsCore::MapMetadata *mesh, const std::string &filePath, AtomsCore::MapMetadata *parameters)
 Export some mesh to the given file. More...
 
ATOMS_EXPORT void initSkeletonExporters ()
 Initializes skeleton exporter factory. More...
 
ATOMS_EXPORT bool exportSkeleton (const AtomsCore::Skeleton &skeleton, const std::string &filePath, AtomsCore::MapMetadata *parameters)
 Export some skeleton to the given file. More...
 
 ATOMSNODE_GET_JOINTPOSE_METADATA_DEFINITION (GetAgentJointPoseBoolMetadata, AtomsGraph::BooleanPort)
 
 ATOMSNODE_GET_JOINTPOSE_METADATA_DEFINITION (GetAgentJointPoseIntMetadata, AtomsGraph::LongPort)
 
 ATOMSNODE_GET_JOINTPOSE_METADATA_DEFINITION (GetAgentJointPoseDoubleMetadata, AtomsGraph::DoublePort)
 
 ATOMSNODE_GET_JOINTPOSE_METADATA_DEFINITION (GetAgentJointPoseStringMetadata, AtomsGraph::StringPort)
 
 ATOMSNODE_GET_JOINTPOSE_METADATA_DEFINITION (GetAgentJointPoseVectorMetadata, AtomsGraph::VectorPort)
 
 ATOMSNODE_GET_JOINTPOSE_METADATA_DEFINITION (GetAgentJointPoseMatrixMetadata, AtomsGraph::MatrixPort)
 
 ATOMSNODE_GET_JOINTPOSE_METADATA_DEFINITION (GetAgentJointPoseQuaternionMetadata, AtomsGraph::QuaternionPort)
 
 ATOMSNODE_GETMETADATA_DEFINITION (GetAgentBoolMetadata, AtomsGraph::BooleanPort)
 
 ATOMSNODE_GETMETADATA_DEFINITION (GetAgentIntMetadata, AtomsGraph::LongPort)
 
 ATOMSNODE_GETMETADATA_DEFINITION (GetAgentDoubleMetadata, AtomsGraph::DoublePort)
 
 ATOMSNODE_GETMETADATA_DEFINITION (GetAgentStringMetadata, AtomsGraph::StringPort)
 
 ATOMSNODE_GETMETADATA_DEFINITION (GetAgentVectorMetadata, AtomsGraph::VectorPort)
 
 ATOMSNODE_GETMETADATA_DEFINITION (GetAgentMatrixMetadata, AtomsGraph::MatrixPort)
 
 ATOMSNODE_GETMETADATA_DEFINITION (GetAgentQuaternionMetadata, AtomsGraph::QuaternionPort)
 
 ATOMSNODE_HAS_AGENT_JOINT_POSE_METADATA_DEFINITION (HasAgentJointPoseBoolMetadata)
 
 ATOMSNODE_HAS_AGENT_JOINT_POSE_METADATA_DEFINITION (HasAgentJointPoseIntMetadata)
 
 ATOMSNODE_HAS_AGENT_JOINT_POSE_METADATA_DEFINITION (HasAgentJointPoseDoubleMetadata)
 
 ATOMSNODE_HAS_AGENT_JOINT_POSE_METADATA_DEFINITION (HasAgentJointPoseStringMetadata)
 
 ATOMSNODE_HAS_AGENT_JOINT_POSE_METADATA_DEFINITION (HasAgentJointPoseVectorMetadata)
 
 ATOMSNODE_HAS_AGENT_JOINT_POSE_METADATA_DEFINITION (HasAgentJointPoseMatrixMetadata)
 
 ATOMSNODE_HAS_AGENT_JOINT_POSE_METADATA_DEFINITION (HasAgentJointPoseQuaternionMetadata)
 
 ATOMSNODE_HAS_AGENT_JOINT_POSE_METADATA_DEFINITION (HasAgentJointPoseMetadata)
 
 ATOMSNODE_HASMETADATA_DEFINITION (HasAgentMetadata, AtomsGraph::BooleanPort)
 
 ATOMSNODE_HASMETADATA_DEFINITION (HasAgentBoolMetadata, AtomsGraph::BooleanPort)
 
 ATOMSNODE_HASMETADATA_DEFINITION (HasAgentIntMetadata, AtomsGraph::BooleanPort)
 
 ATOMSNODE_HASMETADATA_DEFINITION (HasAgentDoubleMetadata, AtomsGraph::BooleanPort)
 
 ATOMSNODE_HASMETADATA_DEFINITION (HasAgentStringMetadata, AtomsGraph::BooleanPort)
 
 ATOMSNODE_HASMETADATA_DEFINITION (HasAgentVectorMetadata, AtomsGraph::BooleanPort)
 
 ATOMSNODE_HASMETADATA_DEFINITION (HasAgentMatrixMetadata, AtomsGraph::BooleanPort)
 
 ATOMSNODE_HASMETADATA_DEFINITION (HasAgentQuaternionMetadata, AtomsGraph::BooleanPort)
 
void ATOMS_EXPORT registerAtomsNodes ()
 
 ATOMSNODE_SET_AGENT_JOINT_POSE_METADATA_DEFINITION (SetAgentJointPoseBoolMetadata, AtomsGraph::BooleanPort)
 
 ATOMSNODE_SET_AGENT_JOINT_POSE_METADATA_DEFINITION (SetAgentJointPoseIntMetadata, AtomsGraph::LongPort)
 
 ATOMSNODE_SET_AGENT_JOINT_POSE_METADATA_DEFINITION (SetAgentJointPoseDoubleMetadata, AtomsGraph::DoublePort)
 
 ATOMSNODE_SET_AGENT_JOINT_POSE_METADATA_DEFINITION (SetAgentJointPoseStringMetadata, AtomsGraph::StringPort)
 
 ATOMSNODE_SET_AGENT_JOINT_POSE_METADATA_DEFINITION (SetAgentJointPoseVectorMetadata, AtomsGraph::VectorPort)
 
 ATOMSNODE_SET_AGENT_JOINT_POSE_METADATA_DEFINITION (SetAgentJointPoseMatrixMetadata, AtomsGraph::MatrixPort)
 
 ATOMSNODE_SET_AGENT_JOINT_POSE_METADATA_DEFINITION (SetAgentJointPoseQuaternionMetadata, AtomsGraph::QuaternionPort)
 
 ATOMSNODE_SETMETADATA_DEFINITION (SetAgentBoolMetadata, AtomsGraph::BooleanPort)
 
 ATOMSNODE_SETMETADATA_DEFINITION (SetAgentIntMetadata, AtomsGraph::LongPort)
 
 ATOMSNODE_SETMETADATA_DEFINITION (SetAgentDoubleMetadata, AtomsGraph::DoublePort)
 
 ATOMSNODE_SETMETADATA_DEFINITION (SetAgentStringMetadata, AtomsGraph::StringPort)
 
 ATOMSNODE_SETMETADATA_DEFINITION (SetAgentVectorMetadata, AtomsGraph::VectorPort)
 
 ATOMSNODE_SETMETADATA_DEFINITION (SetAgentMatrixMetadata, AtomsGraph::MatrixPort)
 
 ATOMSNODE_SETMETADATA_DEFINITION (SetAgentQuaternionMetadata, AtomsGraph::QuaternionPort)
 
void ATOMS_EXPORT registerOperators ()
 
ATOMS_EXPORT void initAtoms ()
 Initialize atoms core.
 
ATOMS_EXPORT void initAnimLoader ()
 Initializes animation clip loader factory. More...
 
ATOMS_EXPORT Atoms::AnimationClip loadAnimationClip (const std::string &fileName)
 Loads an animation clip from the given file. More...
 
ATOMS_EXPORT void clearAnimClipFileCache ()
 Clears the animation clip cache. More...
 
ATOMS_EXPORT void initMeshLoader ()
 Initializes mesh loader factory. More...
 
ATOMS_EXPORT AtomsPtr< AtomsCore::MapMetadataloadMesh (const std::string &fileName, const std::string &filter="*")
 Loads an atoms mesh from the given file. More...
 
ATOMS_EXPORT AtomsPtr< AtomsCore::MapMetadataflatMeshHierarchy (AtomsPtr< AtomsCore::MapMetadata > &geos)
 Converts a full path geo map to a flat one. More...
 
ATOMS_EXPORT AtomsPtr< AtomsCore::MapMetadataflatMeshHierarchy (AtomsCore::MapMetadata *geos)
 
ATOMS_EXPORT AtomsPtr< AtomsCore::MapMetadataconvertMeshFormatV2 (AtomsPtr< AtomsCore::MapMetadata > inputMap)
 Convert V1 mesh format to V2 mesh format.
 
ATOMS_EXPORT void clearMeshFileCache ()
 Clears the mesh file cache. More...
 
ATOMS_EXPORT void initSceneSetupLoader ()
 Initializes mesh loader factory. More...
 
ATOMS_EXPORT bool loadSceneSetup (const std::string &fileName)
 Loads a scene setup.
 
ATOMS_EXPORT void initSkeletonLoader ()
 Initializes Skeleton loader factory. More...
 
ATOMS_EXPORT AtomsCore::Skeleton loadSkeleton (const std::string &fileName)
 Loads an atoms Skeleton from the given file. More...
 
ATOMS_EXPORT void clearSkeletonFileCache ()
 Clears the skeleton file cache. More...
 
ATOMS_EXPORT std::vector< AtomsUtils::Triangle2locomotionTriangulation (const std::vector< AtomsMath::Vector2f > &points, const LocomotionSort xSort=LocomotionSort::kLess, const LocomotionSort ySort=LocomotionSort::kLess, const float eps=1e-4)
 Implements Bowyer-Watson algorithm to generate a Delaunay triangulation for the given positions. More...
 
ATOMS_EXPORT bool findTriangleFromPointForLocomotion (const AtomsMath::Vector2f &point, const std::vector< AtomsUtils::Triangle2 > &triangles, AtomsMath::Vector3f &barycentricCoords, AtomsUtils::Triangle2 &outTriangle, const std::set< int > &skipTriangles)
 
ATOMS_EXPORT bool exportAgentGroupsDigitalAsset (const std::vector< std::string > &groupNames, AtomsCore::MapMetadata &map)
 Exports the given agent groups into one single .ada file.
 
ATOMS_EXPORT bool exportAgentGroupAlembic (const AtomsPtr< Atoms::AgentGroup > agentGroup, AlembicMeshType meshType, const std::vector< int > &agentIds, int frameStart, int frameEnd, const bool combineInOneFile, const std::string &fileName, const double fps, const std::string &variationStr, bool exportAsGroomCache, const bool dynamicAgents, std::function< void(double)> setCurrentTimeFunc, std::function< bool(int, const char *msg)> progressCallback=NULL)
 Exports the group agents with the given IDs into separate FBX files, one file per agent.
 
ATOMS_EXPORT bool exportAtomsCacheAlembic (const std::string &fileName, const std::string &atomsCachePath, const std::string &clothCachePath, const std::string &variationStr, Atoms::AlembicMeshType meshType, const std::string &agentIdsStr, const std::string &meshFilterStr, const std::string &variationOverrideStr, const std::string &lodOverrideStr, const std::string &agentTypeOverrideStr, const std::string &agentVariationOverrides, const std::string &agentVariationGeometryFilter, const std::string &agentVariationGeoMatOverrides, double cacheTimeOffset, int frameStart, int frameEnd, const bool combineInOneFile, const double fps, bool exportAsGroomCache, bool dynamicAgents, const int preRoll, const double heightOffset)
 
ATOMS_EXPORT bool exportAgentGroupFbx (const AtomsPtr< Atoms::AgentGroup > agentGroup, const std::vector< int > &agentIds, int frameStart, int frameEnd, bool ascii, const std::string &fileName, const double fps, const int tangentType, const std::vector< int > &frames, const bool addAtomsPrefixToMetadatas, std::function< void(double)> setCurrentTimeFunc, char *errMessage, int exportMesh=0, bool useAgentTypeInFileName=false, const std::string &variationStr="", const int prerollFrames=0, const double prerollHeight=0.0, std::function< bool(int, const char *msg)> progressCallback=NULL)
 Exports the group agents with the given IDs into separate FBX files, one file per agent.
 
ATOMS_EXPORT AtomsPtr< AtomsCore::MapMetadatacreateCharacterizationFromSkeleton (const std::string &fileName)
 Creates a characterization map metadata for the skeleton in the given file.
 
ATOMS_EXPORT AtomsPtr< AtomsCore::MapMetadatacreateCharacterizationFromSkeletonObject (AtomsCore::Skeleton &skeleton, const std::string &filter)
 Creates a characterization map metadata for the given skeleton.
 
ATOMS_EXPORT void initVariationLoaders ()
 Initializes variation loader factory. More...
 
ATOMS_EXPORT Atoms::Variations loadVariationFromFile (const std::string &fileName)
 Loads an variation from the given file. More...
 
ATOMS_EXPORT Atoms::Variations loadVariationFromString (const std::string &jsonStr)
 

Variables

ATOMS_EXPORT typedef bool(* AlembicProgressFunc )(int, const char *msg)
 

Detailed Description

Atoms namespace.

Typedef Documentation

◆ BehaviourTreeMapPtr

behaviour trees manager

This class store behaviour trees.

Function Documentation

◆ clearAnimClipFileCache()

ATOMS_EXPORT void Atoms::clearAnimClipFileCache ( )

Clears the animation clip cache.

Clears the animation clip cache

◆ clearMeshFileCache()

ATOMS_EXPORT void Atoms::clearMeshFileCache ( )

Clears the mesh file cache.

Clears the mesh file cache

◆ clearSkeletonFileCache()

ATOMS_EXPORT void Atoms::clearSkeletonFileCache ( )

Clears the skeleton file cache.

Clears the skeleton file cache

◆ exportAgentGroups()

ATOMS_EXPORT bool Atoms::exportAgentGroups ( const std::map< std::string, std::vector< AtomsPtr< Atoms::AgentGroup >>> &  agentGroups,
AtomsCore::MapMetadata arguments,
std::function< void(double)>  setCurrentTimeFunc 
)

Export some agent groups to the files.

Export some agent groups to the files

◆ exportMesh()

ATOMS_EXPORT bool Atoms::exportMesh ( const AtomsCore::MapMetadata mesh,
const std::string &  filePath,
AtomsCore::MapMetadata parameters 
)

Export some mesh to the given file.

Export a skeleton to the given file

◆ exportSkeleton()

ATOMS_EXPORT bool Atoms::exportSkeleton ( const AtomsCore::Skeleton skeleton,
const std::string &  filePath,
AtomsCore::MapMetadata parameters 
)

Export some skeleton to the given file.

Export a skeleton to the given file

◆ flatMeshHierarchy()

ATOMS_EXPORT AtomsPtr<AtomsCore::MapMetadata> Atoms::flatMeshHierarchy ( AtomsPtr< AtomsCore::MapMetadata > &  geos)

Converts a full path geo map to a flat one.

Converts a full path geo map to a flat one

◆ initAgentGroupExporters()

ATOMS_EXPORT void Atoms::initAgentGroupExporters ( )

Initializes agent group exporter factory.

Initializes the agent group exporter factory and registers the default exporters

◆ initAnimLoader()

ATOMS_EXPORT void Atoms::initAnimLoader ( )

Initializes animation clip loader factory.

Initializes the animation clip loader factory and registers the default loaders

◆ initMeshExporters()

ATOMS_EXPORT void Atoms::initMeshExporters ( )

Initializes mesh exporter factory.

Initializes the mesh exporter factory and registers the default exporters

◆ initMeshLoader()

ATOMS_EXPORT void Atoms::initMeshLoader ( )

Initializes mesh loader factory.

Initializes the mesh loader factory and registers the default loaders

◆ initSceneSetupLoader()

ATOMS_EXPORT void Atoms::initSceneSetupLoader ( )

Initializes mesh loader factory.

Initializes the mesh loader factory and registers the default loaders

◆ initSkeletonExporters()

ATOMS_EXPORT void Atoms::initSkeletonExporters ( )

Initializes skeleton exporter factory.

Initializes the skeleton exporter factory and registers the default exporters

◆ initSkeletonLoader()

ATOMS_EXPORT void Atoms::initSkeletonLoader ( )

Initializes Skeleton loader factory.

Initializes the Skeleton loader factory and registers the default loaders

◆ initVariationLoaders()

ATOMS_EXPORT void Atoms::initVariationLoaders ( )

Initializes variation loader factory.

Initializes the variation loader factory and registers the default loaders

◆ loadAnimationClip()

ATOMS_EXPORT Atoms::AnimationClip Atoms::loadAnimationClip ( const std::string &  fileName)

Loads an animation clip from the given file.

Loads an animation clip from the given file

◆ loadMesh()

ATOMS_EXPORT AtomsPtr<AtomsCore::MapMetadata> Atoms::loadMesh ( const std::string &  fileName,
const std::string &  filter = "*" 
)

Loads an atoms mesh from the given file.

Loads an atoms mesh from the given file

◆ loadSkeleton()

ATOMS_EXPORT AtomsCore::Skeleton Atoms::loadSkeleton ( const std::string &  fileName)

Loads an atoms Skeleton from the given file.

Loads an atoms Skeleton from the given file

◆ loadVariationFromFile()

ATOMS_EXPORT Atoms::Variations Atoms::loadVariationFromFile ( const std::string &  fileName)

Loads an variation from the given file.

Loads a variation from the given file

◆ locomotionTriangulation()

ATOMS_EXPORT std::vector<AtomsUtils::Triangle2> Atoms::locomotionTriangulation ( const std::vector< AtomsMath::Vector2f > &  points,
const LocomotionSort  xSort = LocomotionSort::kLess,
const LocomotionSort  ySort = LocomotionSort::kLess,
const float  eps = 1e-4 
)

Implements Bowyer-Watson algorithm to generate a Delaunay triangulation for the given positions.

Parameters
pointssparsed positions to triangulate