Atoms Crowd
7.0.0
|
Typedefs | |
typedef AtomsPtr< AgentType > | AgentTypePtr |
Agent type pointer. | |
typedef AtomsPtr< const AgentType > | AgentTypeCPtr |
Agent type const pointer. | |
typedef AtomsPtr< AnimationClip > | AnimationClipPtr |
animation clip pointer | |
typedef AtomsPtr< const AnimationClip > | AnimationClipCPtr |
animation clip const pointer | |
typedef AnimationClipLooper * | AnimationClipLooperPtr |
animation clip looper pointer | |
typedef const AnimationClipLooper * | AnimationClipLooperCPtr |
animation clip looper const pointer | |
typedef AtomsPtr< BehaviourTree > | BehaviourTreePtr |
behaviour tree pointer | |
typedef AtomsPtr< const BehaviourTree > | BehaviourTreeCPtr |
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::Curve > | BlackboardCurveValue |
typedef BlackboardValue< AtomsUtils::SampledCurve > | BlackboardSampledCurveValue |
typedef BlackboardValue< AtomsUtils::Mesh > | BlackboardMeshValue |
typedef BlackboardValue< AtomsUtils::Image > | BlackboardImageValue |
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::MapMetadata > | BehaviourTreeMapPtr |
behaviour trees manager More... | |
typedef ::AtomsUtils::Logger | Logger |
Add AtomsUtils Logger to Atoms namespace. | |
typedef AtomsPtr< LayoutGenerator > | LayoutGeneratorPtr |
typedef AtomsPtr< Locomotion > | LocomotionPtr |
locomotion pointer | |
typedef AtomsPtr< const Locomotion > | LocomotionCPtr |
locomotion const pointer | |
typedef Variations * | VariationsPtr |
variations pointer | |
typedef AgentTypeVariation * | AgentTypeVariationPtr |
agent type variation pointer | |
typedef VariationGeometry * | VariationGeometryPtr |
variation geometry pointer | |
typedef VariationMaterial * | VariationMaterialPtr |
variation material pointer | |
typedef VariationGroup * | VariationGroupPtr |
variation group pointer | |
typedef VariationOverride * | VariationOverridePtr |
variation override pointer | |
typedef VariationGroupLod * | VariationGroupLodPtr |
variation group lod pointer | |
typedef VariationMaterialColor * | VariationMaterialColorPtr |
variation material color pointer | |
typedef VariationTree * | VariationTreePtr |
variation tree pointer | |
typedef const Variations * | VariationsCPtr |
variations const pointer | |
typedef const AgentTypeVariation * | AgentTypeVariationCPtr |
agent type const pointer | |
typedef const VariationGeometry * | VariationGeometryCPtr |
variation geometry const pointer | |
typedef const VariationMaterial * | VariationMaterialCPtr |
variation material const pointer | |
typedef const VariationGroup * | VariationGroupCPtr |
variation group const pointer | |
typedef const VariationOverride * | VariationOverrideCPtr |
variation override const pointer | |
typedef const VariationGroupLod * | VariationGroupLodCPtr |
variation group lod const pointer | |
typedef const VariationMaterialColor * | VariationMaterialColorCPtr |
variation material color const pointer | |
typedef const VariationTree * | VariationTreeCPtr |
variation tree pointer | |
typedef const VariationTreeGeo * | VariationTreeGeoCPtr |
variation tree geo pointer | |
typedef std::map< std::string, VariationTreeGeo > | VariationTreeGeoMap |
typedef std::map< std::string, MaterialConstraint > | MaterialConstraintMap |
typedef std::map< std::string, ExcludeGeometry > | ExcludeGeometryMap |
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::MapMetadata > | loadMesh (const std::string &fileName, const std::string &filter="*") |
Loads an atoms mesh from the given file. More... | |
ATOMS_EXPORT AtomsPtr< AtomsCore::MapMetadata > | flatMeshHierarchy (AtomsPtr< AtomsCore::MapMetadata > &geos) |
Converts a full path geo map to a flat one. More... | |
ATOMS_EXPORT AtomsPtr< AtomsCore::MapMetadata > | flatMeshHierarchy (AtomsCore::MapMetadata *geos) |
ATOMS_EXPORT AtomsPtr< AtomsCore::MapMetadata > | convertMeshFormatV2 (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::Triangle2 > | 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. 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::MapMetadata > | createCharacterizationFromSkeleton (const std::string &fileName) |
Creates a characterization map metadata for the skeleton in the given file. | |
ATOMS_EXPORT AtomsPtr< AtomsCore::MapMetadata > | createCharacterizationFromSkeletonObject (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) |
Atoms namespace.
typedef AtomsPtr<AtomsCore::MapMetadata> Atoms::BehaviourTreeMapPtr |
behaviour trees manager
This class store behaviour trees.
ATOMS_EXPORT void Atoms::clearAnimClipFileCache | ( | ) |
Clears the animation clip cache.
Clears the animation clip cache
ATOMS_EXPORT void Atoms::clearMeshFileCache | ( | ) |
Clears the mesh file cache.
Clears the mesh file cache
ATOMS_EXPORT void Atoms::clearSkeletonFileCache | ( | ) |
Clears the skeleton file cache.
Clears the skeleton file cache
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
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
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
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
ATOMS_EXPORT void Atoms::initAgentGroupExporters | ( | ) |
Initializes agent group exporter factory.
Initializes the agent group exporter factory and registers the default exporters
ATOMS_EXPORT void Atoms::initAnimLoader | ( | ) |
Initializes animation clip loader factory.
Initializes the animation clip loader factory and registers the default loaders
ATOMS_EXPORT void Atoms::initMeshExporters | ( | ) |
Initializes mesh exporter factory.
Initializes the mesh exporter factory and registers the default exporters
ATOMS_EXPORT void Atoms::initMeshLoader | ( | ) |
Initializes mesh loader factory.
Initializes the mesh loader factory and registers the default loaders
ATOMS_EXPORT void Atoms::initSceneSetupLoader | ( | ) |
Initializes mesh loader factory.
Initializes the mesh loader factory and registers the default loaders
ATOMS_EXPORT void Atoms::initSkeletonExporters | ( | ) |
Initializes skeleton exporter factory.
Initializes the skeleton exporter factory and registers the default exporters
ATOMS_EXPORT void Atoms::initSkeletonLoader | ( | ) |
Initializes Skeleton loader factory.
Initializes the Skeleton loader factory and registers the default loaders
ATOMS_EXPORT void Atoms::initVariationLoaders | ( | ) |
Initializes variation loader factory.
Initializes the variation loader factory and registers the default loaders
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
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
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
ATOMS_EXPORT Atoms::Variations Atoms::loadVariationFromFile | ( | const std::string & | fileName | ) |
Loads an variation from the given file.
Loads a variation from the given file
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.
points | sparsed positions to triangulate |