Trisurf


LXsTYPE_TRIGROUP

TriGroups have an exo-type that allows them to be channel values. There’s also a function for accessing the internal pointer from the exo-value.

ILxTriangleSurface

class ILxTriangleSurface

Public Functions

LxResult SetSize(LXtObjectID self, unsigned nvrt, unsigned ntri)
LxResult AddVector(LXtObjectID self, LXtID4 type, const char *name, unsigned *index)
float *SetVector(LXtObjectID self, unsigned index, unsigned vrt)
unsigned *SetTriangle(LXtObjectID self, unsigned tri)
unsigned *FixNormals(LXtObjectID self)
void GetSize(LXtObjectID self, unsigned *nvrt, unsigned *ntri)
unsigned *Triangles(LXtObjectID self)
LxResult VectorInfo(LXtObjectID self, unsigned index, LXtID4 *type, const char **name, unsigned *dim)
float *Vector(LXtObjectID self, unsigned index)
LxResult SetEdgeCount(LXtObjectID self, unsigned nedge)
unsigned *SetEdge(LXtObjectID self, unsigned edge)

ILxTriangleGroup

class ILxTriangleGroup

Public Functions

LxResult AddSurface(LXtObjectID self, void **ppvObj)
LxResult GetSurface(LXtObjectID self, unsigned index, void **ppvObj)
LxResult Cleanup(LXtObjectID self)
bool NewSurf(CLxLoc_TriangleSurface &surf)

User Class Only:

bool GetSurf(unsigned index, CLxLoc_TriangleSurface &surf)

ILxTriangleGroup1

class ILxTriangleGroup1

This interface was retired in modo 801, and was replaced with an updated one that adds a few more methods.

Public Functions

LxResult AddSurface(LXtObjectID self, void **ppvObj)
LxResult GetSurface(LXtObjectID self, unsigned index, void **ppvObj)