Rhino C++ API
8.14
|
#include <rhinoSdkMeshUtilities.h>
Public Types | |
enum | UnwrapMethod : int { UnwrapMethod::LSCM = 0, UnwrapMethod::ABFPP = 1, UnwrapMethod::ARAP = 2 } |
Unwrapping method used More... | |
Public Member Functions | |
RhinoMeshUnwrapper (const ON_SimpleArray< ON_Mesh * > &meshes) | |
Creates an unwrapper object for an array of meshes More... | |
RhinoMeshUnwrapper (ON_Mesh &mesh) | |
Creates an unwrapper object for a single mesh. More... | |
virtual | ~RhinoMeshUnwrapper () |
virtual void * | EVF (const wchar_t *, void *) |
Emergency virtual function More... | |
void | SetSymmetryTip (const ON_Plane &symmetryTip) |
Sets symmetry tip plane. Unwrapper tries to keep unwrap result symmetric to that plane. More... | |
bool | Unwrap (UnwrapMethod method) |
Unwraps the meshes and stores the results to the m_T arrays. More... | |
Class for unwrapping meshes Unwraps and packs the meshes and stores the result to m_T array.
|
strong |
RhinoMeshUnwrapper::RhinoMeshUnwrapper | ( | ON_Mesh & | mesh | ) |
Creates an unwrapper object for a single mesh.
mesh | Mesh to unwrap |
RhinoMeshUnwrapper::RhinoMeshUnwrapper | ( | const ON_SimpleArray< ON_Mesh * > & | meshes | ) |
Creates an unwrapper object for an array of meshes
meshes | Meshes to be uwrapped |
|
virtual |
|
inlinevirtual |
Emergency virtual function
void RhinoMeshUnwrapper::SetSymmetryTip | ( | const ON_Plane & | symmetryTip | ) |
Sets symmetry tip plane. Unwrapper tries to keep unwrap result symmetric to that plane.
symmetryTip | Symmetry tip plane |
bool RhinoMeshUnwrapper::Unwrap | ( | UnwrapMethod | method | ) |
Unwraps the meshes and stores the results to the m_T arrays.
method | Unwrap method to be used |