PatchCapPoly Class Reference
 
 
 
PatchCapPoly Class Reference

This reference page is linked to from the following overview topics: Capping a Shape with a Patch.


#include <captypes.h>

Inheritance diagram for PatchCapPoly:
MaxHeapOperators

Class Description

See also:
Class Spline3D, Working with Shapes and Splines.

Description:
A support class for the PatchCapper. All methods of this class are implemented by the system.

Public Member Functions

  PatchCapPoly ()
CoreExport void  Init (Spline3D &spline)
CoreExport  ~PatchCapPoly ()
CoreExport void  SetVert (int index, int vertex)
CoreExport void  SetVec (int index, int vector)

Public Attributes

int  numVerts
  The number of vertices.
int  numVecs
  The number of vectors.
int *  verts
  List of verts in patch mesh corresponding to verts in the spline (1 per vert)
int *  vecs
  List of vecs in patch mesh corresponding to vecs in the spline (1 per vector)

Constructor & Destructor Documentation

PatchCapPoly ( ) [inline]
Remarks:
Constructor. The verts and vecs are set to NULL.
{ verts = vecs = NULL; }
CoreExport ~PatchCapPoly ( )
Remarks:
Destructor. The verts and vecs are freed.

Member Function Documentation

CoreExport void Init ( Spline3D spline )
Remarks:
This method is used internally.
CoreExport void SetVert ( int  index,
int  vertex 
)
Remarks:
This establishes the corresponding mesh vertex for a vertex in the PolyLine. This should be called for each vertex in the PolyLine.
Parameters:
int index

The index into the shape.

int vertex

The corresponding index into the mesh.
CoreExport void SetVec ( int  index,
int  vector 
)
Remarks:
This establishes the corresponding mesh vertex for a vector in the PolyLine. This should be called for each vertex in the PolyLine.
Parameters:
int index

The index into the shape.

int vector

The corresponding index into the patch.

Member Data Documentation

int numVerts

The number of vertices.

int numVecs

The number of vectors.

int* verts

List of verts in patch mesh corresponding to verts in the spline (1 per vert)

int* vecs

List of vecs in patch mesh corresponding to vecs in the spline (1 per vector)