![]() |
Radium Engine
1.6.3
|
#include <Core/Asset/HandleData.hpp>
Inheritance diagram for Ra::Core::Asset::HandleData:
Collaboration diagram for Ra::Core::Asset::HandleData:Public Types | |
| enum | HandleType { UNKNOWN = 1 << 0 , POINT_CLOUD = 1 << 1 , SKELETON = 1 << 2 , CAGE = 1 << 3 } |
Public Member Functions | |
| HandleData (const std::string &name="", const HandleType &type=UNKNOWN) | |
| HandleData (const HandleData &data)=default | |
| uint | getVertexSize () const |
| void | setVertexSize (uint size) |
| void | setNameTable (const std::map< std::string, uint > &nameTable) |
| void | recomputeAllIndices () |
| void | displayInfo () const |
HandleArray | |
| void | setName (const std::string &name) |
| HandleType | getType () const |
| void | setType (const HandleType &type) |
| Core::Transform | getFrame () const |
| void | setFrame (const Core::Transform &frame) |
| void | addBindMesh (const std::string &name) |
| const std::set< std::string > & | getBindMeshes () const |
Data access | |
| uint | getComponentDataSize () const |
| const Core::AlignedStdVector< HandleComponentData > & | getComponentData () const |
| Core::AlignedStdVector< HandleComponentData > & | getComponentData () |
| const HandleComponentData & | getComponent (const uint i) const |
| HandleComponentData & | getComponent (const uint i) |
| void | setComponents (const Core::AlignedStdVector< HandleComponentData > &components) |
| const Core::AlignedStdVector< Core::Vector2ui > & | getEdgeData () const |
| Core::AlignedStdVector< Core::Vector2ui > & | getEdgeData () |
| void | setEdges (const Core::AlignedStdVector< Core::Vector2ui > &edgeList) |
| const Core::AlignedStdVector< Core::VectorNui > & | getFaceData () const |
| Core::AlignedStdVector< Core::VectorNui > & | getFaceData () |
| void | setFaces (const Core::AlignedStdVector< Core::VectorNui > &faceList) |
| void | needEndNodes (bool need) |
Status querries | |
| bool | isPointCloud () const |
| bool | isSkeleton () const |
| bool | isCage () const |
| bool | hasComponents () const |
| bool | hasEdges () const |
| bool | hasFaces () const |
| bool | needsEndNodes () const |
| int | getIndexOf (const std::string &name) const |
Public Member Functions inherited from Ra::Core::Asset::AssetData | |
| AssetData (const std::string &name) | |
| Construct an asset data given its name. | |
| AssetData (const AssetData &other)=default | |
| Copy constructor. Default here. | |
| virtual | ~AssetData () |
| Simple delete operator. | |
| virtual const std::string & | getName () const |
| Acces to the name of the asset. | |
Additional Inherited Members | |
Protected Attributes inherited from Ra::Core::Asset::AssetData | |
| std::string | m_name |
The HandleData class stores all the HandleComponentData linked to an object.
Definition at line 45 of file HandleData.hpp.
The type of Handle system.
Definition at line 51 of file HandleData.hpp.
| Ra::Core::Asset::HandleData::HandleData | ( | const std::string & | name = "", |
| const HandleType & | type = UNKNOWN ) |
Definition at line 9 of file HandleData.cpp.
| Ra::Core::Asset::HandleData::~HandleData | ( | ) |
Definition at line 12 of file HandleData.cpp.
|
inline |
Add name to the list of bound mesh names.
Definition at line 408 of file HandleData.hpp.
Here is the call graph for this function:
|
inline |
Print stat info to the Debug output.
Definition at line 416 of file HandleData.hpp.
|
inline |
Returns the list of bound mesh names.
Definition at line 412 of file HandleData.hpp.
|
inline |
Return the i-th HandleComponentData.
Definition at line 324 of file HandleData.hpp.
|
inline |
Return the i-th HandleComponentData.
Definition at line 319 of file HandleData.hpp.
|
inline |
Return the list of HandleComponentData.
Definition at line 305 of file HandleData.hpp.
|
inline |
Return the list of HandleComponentData.
Definition at line 301 of file HandleData.hpp.
|
inline |
Return the number of Handles in the system.
Definition at line 297 of file HandleData.hpp.
|
inline |
Return the HandleArray hierarchy, i.e. bones hierarchy.
Definition at line 333 of file HandleData.hpp.
|
inline |
Return the HandleArray hierarchy, i.e. bones hierarchy.
Definition at line 329 of file HandleData.hpp.
|
inline |
Return the HandleArray N-Dimensional parts, i.e. cage polyhedra.
Definition at line 350 of file HandleData.hpp.
|
inline |
Return the HandleArray N-Dimensional parts, i.e. cage polyhedra.
Definition at line 346 of file HandleData.hpp.
|
inline |
Return the transformation of the Handle system.
Definition at line 278 of file HandleData.hpp.
|
inline |
Return the storage index of the Handle with the given name if it exists, -1 otherwise.
Definition at line 398 of file HandleData.hpp.
Here is the call graph for this function:
|
inline |
Return the type of the Handle system.
Definition at line 270 of file HandleData.hpp.
|
inline |
Return the maximal number of vertices influenced by a Handle.
Definition at line 286 of file HandleData.hpp.
|
inline |
Return true if the Handle system has Handles.
Definition at line 382 of file HandleData.hpp.
|
inline |
Return true if the Handle system has a hierarchy.
Definition at line 386 of file HandleData.hpp.
|
inline |
Return true if the Handle system has N-Dimensional parts.
Definition at line 390 of file HandleData.hpp.
|
inline |
Return true if the Handle system is a Cage.
Definition at line 378 of file HandleData.hpp.
|
inline |
Return true if the Handle system is a Point Cloud.
Definition at line 370 of file HandleData.hpp.
|
inline |
Return true if the Handle system is a Skeleton.
Definition at line 374 of file HandleData.hpp.
|
inline |
Set whether the Handle system needs end bones.
Definition at line 404 of file HandleData.hpp.
|
inline |
Return true if the Handle system needs end bones.
Definition at line 394 of file HandleData.hpp.
|
inline |
Recompute the map from Handle names to Handle storage index.
Definition at line 363 of file HandleData.hpp.
Here is the call graph for this function:
|
inline |
Set the HandleComponentData for the Handle system.
Definition at line 310 of file HandleData.hpp.
Here is the call graph for this function:
|
inline |
Set the HandleArray linear hierarchy part, i.e. bones hierarchy.
Definition at line 337 of file HandleData.hpp.
Here is the call graph for this function:
|
inline |
Set the HandleArray N-Dimensional parts, i.e. cage polyhedra.
Definition at line 354 of file HandleData.hpp.
Here is the call graph for this function:
|
inline |
Set the transformation of the Handle system.
Definition at line 282 of file HandleData.hpp.
|
inline |
Set the name of the Handle system.
Definition at line 266 of file HandleData.hpp.
|
inline |
Set the map from Handle names to Handle storage index.
Definition at line 293 of file HandleData.hpp.
|
inline |
Set the type of the Handle system.
Definition at line 274 of file HandleData.hpp.
|
inline |
Set the maximal number of vertices influenced by a Handle.
Definition at line 289 of file HandleData.hpp.