#include <meshadj.h>
Public Member Functions |
|
DllExport | MeshTempData () |
DllExport | MeshTempData (Mesh *m) |
DllExport | ~MeshTempData () |
void | SetMesh (Mesh *m) |
DllExport AdjEdgeList * | AdjEList () |
DllExport AdjFaceList * | AdjFList () |
DllExport FaceClusterList * | FaceClusters () |
DllExport EdgeClusterList * | EdgeClusters () |
DllExport Tab< DWORD > * | VertexClusters (DWORD sl) |
DllExport Tab< Point3 > * | ClusterNormals (DWORD sl) |
DllExport Tab< Point3 > * | ClusterCenters (DWORD sl) |
DllExport Matrix3 | ClusterTM (int clust) |
DllExport Tab< Point3 > * | VertexNormals () |
DllExport Tab< float > * | VSWeight (BOOL useEdgeDist, int edgeIts, BOOL ignoreBack, float falloff, float pinch, float bubble) |
DllExport Tab< float > * | SelectionDist (BOOL useEdgeDist, int edgeIts, float falloffLimit=-1.0f) |
This computes the distances of the
unselected vertices from the selected vertices. |
|
DllExport Tab< float > * | ClusterDist (DWORD sl, int clustId, BOOL useEdgeDist, int edgeIts) |
DllExport Tab< Point3 > * | EdgeExtDir (Tab< Point3 > *edir, int extrusionType) |
DllExport Tab< Point3 > * | FaceExtDir (int extrusionType) |
Tab< Point3 > * | CurrentExtDir () |
DllExport Tab< Point3 > * | OutlineDir (int extrusionType) |
DllExport MeshChamferData * | ChamferData () |
DllExport void | Invalidate (DWORD part) |
DllExport void | InvalidateDistances () |
DllExport void | InvalidateAffectRegion () |
DllExport void | freeClusterDist () |
DllExport void | freeBevelInfo () |
DllExport void | freeChamferData () |
DllExport void | freeAll () |
DllExport MeshTempData | ( | ) |
DllExport MeshTempData | ( | Mesh * | m | ) |
DllExport ~MeshTempData | ( | ) |
void SetMesh | ( | Mesh * | m | ) | [inline] |
{ mesh = m; }
DllExport AdjEdgeList* AdjEList | ( | ) |
DllExport AdjFaceList* AdjFList | ( | ) |
DllExport FaceClusterList* FaceClusters | ( | ) |
DllExport EdgeClusterList* EdgeClusters | ( | ) |
DllExport Tab<DWORD>* VertexClusters | ( | DWORD | sl | ) |
DllExport Matrix3 ClusterTM | ( | int | clust | ) |
DllExport Tab<float>* VSWeight | ( | BOOL | useEdgeDist, |
int | edgeIts, | ||
BOOL | ignoreBack, | ||
float | falloff, | ||
float | pinch, | ||
float | bubble | ||
) |
DllExport Tab<float>* SelectionDist | ( | BOOL | useEdgeDist, |
int | edgeIts, | ||
float | falloffLimit =
-1.0f |
||
) |
This computes the distances of the unselected vertices from the selected vertices.
Computes the current distance of each vertex from the current selection. If cached, the cache is returned. Otherwise a cache is allocated and computed from the current mesh and the parameters. The term "Selected verts" below refers to the vertices that are selected in the mesh's current selection level. (See the Mesh method GetTempSel for details.)
[in] | useEdgeDist | If TRUE, the distance between vertices is computed along edges. If FALSE, it's computed directly through space. |
[in] | edgeIts | This indicates the maximum number of edges the algorithm may travel along in finding the distance between vertices. (Maximum path length.). WARNING: If useEdgeDist is FALSE, this is an n-squared algorithm: it compares every nonselected vertex with every selected one within the falloffLimit. If useEdgeDist is TRUE, the time it takes is proportional to the number of selected vertices times edgeIts. |
[in] | falloffLimit | = -1.0f this limits the number of unselected vertices to check against Only vertices that fall within the selected vertice bounding box + this limit will be computed. If this value is -1.0 all vertcies will be computed |
DllExport Tab<float>* ClusterDist | ( | DWORD | sl, |
int | clustId, | ||
BOOL | useEdgeDist, | ||
int | edgeIts | ||
) |
{ return extDir; }
DllExport MeshChamferData* ChamferData | ( | ) |
DllExport void Invalidate | ( | DWORD | part | ) |
DllExport void InvalidateDistances | ( | ) |
DllExport void InvalidateAffectRegion | ( | ) |
DllExport void freeClusterDist | ( | ) |
DllExport void freeBevelInfo | ( | ) |
DllExport void freeChamferData | ( | ) |
DllExport void freeAll | ( | ) |