#include <SimplygonSDK.h>
IMappingImageMeshData stores the mapped meshes and their paths in the original scene. This can be used to find a specific triangle on the original mesh in the scene from the combined id in the mapping image.
Definition at line 15852 of file SimplygonSDK.h.
◆ Clear()
virtual void SimplygonSDK::IMappingImageMeshData::Clear |
( |
| ) |
|
|
pure virtual |
Clear the MappingImageMeshData
◆ GetClass()
virtual const char* SimplygonSDK::IMappingImageMeshData::GetClass |
( |
| ) |
|
|
virtual |
GetClass returns the name of the class of the object.
- Returns
- the name of the actual class of the object, as a const char string
Reimplemented from SimplygonSDK::IObject.
◆ GetMappedGeometriesCount()
virtual unsigned int SimplygonSDK::IMappingImageMeshData::GetMappedGeometriesCount |
( |
| ) |
|
|
pure virtual |
Get the MappedGeometriesCount, the number of mapped geometries
- Returns
- the number of mapped geometries in the mapping image
◆ GetNodeGuidOfGeometry()
virtual rstring SimplygonSDK::IMappingImageMeshData::GetNodeGuidOfGeometry |
( |
rid |
GeometryIndex | ) |
|
|
pure virtual |
Get the node guid containing the original geometry.
- Parameters
-
GeometryIndex | is index of the geometry in the list of mapped geometries |
- Returns
- the guid
◆ GetScenePathOfGeometry()
virtual rstring SimplygonSDK::IMappingImageMeshData::GetScenePathOfGeometry |
( |
rid |
GeometryIndex | ) |
|
|
pure virtual |
Get the mesh path in the scene of the geometry at the specified index.
- Parameters
-
GeometryIndex | the index of the geometry in the list of mapped geometries. |
- Returns
- the path in the scene of the mesh that has this geometry
◆ GetStartTriangleIdOfGeometry()
virtual rid SimplygonSDK::IMappingImageMeshData::GetStartTriangleIdOfGeometry |
( |
rid |
GeometryIndex | ) |
|
|
pure virtual |
Get the Id of the first triangle of the geometry at the specified index.
- Parameters
-
GeometryIndex | the index of the geometry in the list of mapped geometries. |
- Returns
- the start triangle id of the geometry
◆ IsA()
virtual bool SimplygonSDK::IMappingImageMeshData::IsA |
( |
const char * |
type | ) |
const |
|
virtual |
The IsA function returns true if the object is a or is a descendant of the class named as the type parameter
- Parameters
-
type | is the name of the class to check if the object is, or is a descendant of |
- Returns
- true if the object is of the specified class, false if not
Reimplemented from SimplygonSDK::IObject.
◆ IsClassA()
static bool SimplygonSDK::IMappingImageMeshData::IsClassA |
( |
const char * |
type | ) |
|
|
inlinestatic |
The IsClassA function returns true if IMappingImageMeshData is a or is a descendant of the class named as the type parameter
- Parameters
-
type | is the name of the class to check if the class is, or is a descendant of |
- Returns
- true if the class is of the specified class, false if not
Definition at line 15873 of file SimplygonSDK.h.
◆ SafeCast()
SafeCast makes sure the pointer is of a class that can be cast into a IMappingImageMeshData pointer, and if this is possible, returns the cast pointer.
- Parameters
-
- Returns
- a pointer to the IMappingImageMeshData object, if the cast can be made, and a NULL pointer otherwise
Definition at line 15886 of file SimplygonSDK.h.
The documentation for this class was generated from the following file: