All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Stencil Class Reference

Vertex stencil descriptor. More...

#include <stencilTables.h>

Inheritance diagram for Stencil:
LimitStencil

Public Member Functions

 Stencil ()
 Default constructor. More...
 
 Stencil (unsigned char *size, int *indices, float *weights)
 Constructor. More...
 
 Stencil (Stencil const &other)
 Copy constructor. More...
 
int GetSize () const
 
int const * GetVertexIndices () const
 Returns the control vertices indices. More...
 
float const * GetWeights () const
 Returns the interpolation weights. More...
 
void Next ()
 Advance to the next stencil in the table. More...
 

Protected Attributes

unsigned char * _size
 
int * _indices
 
float * _weights
 

Friends

class StencilTablesFactory
 

Detailed Description

Vertex stencil descriptor.

Allows access and manipulation of a single stencil in a StencilTables.

Definition at line 42 of file stencilTables.h.

Constructor & Destructor Documentation

Stencil ( )
inline

Default constructor.

Definition at line 47 of file stencilTables.h.

Stencil ( unsigned char *  size,
int *  indices,
float *  weights 
)
inline

Constructor.

Parameters
sizeTable pointer to the size of the stencil
indicesTable pointer to the vertex indices of the stencil
weightsTable pointer to the vertex weights of the stencil

Definition at line 57 of file stencilTables.h.

Stencil ( Stencil const &  other)
inline

Copy constructor.

Definition at line 66 of file stencilTables.h.

Member Function Documentation

int GetSize ( ) const
inline

Definition at line 72 of file stencilTables.h.

int const* GetVertexIndices ( ) const
inline

Returns the control vertices indices.

Definition at line 77 of file stencilTables.h.

float const* GetWeights ( ) const
inline

Returns the interpolation weights.

Definition at line 82 of file stencilTables.h.

void Next ( )
inline

Advance to the next stencil in the table.

Definition at line 87 of file stencilTables.h.

Friends And Related Function Documentation

friend class StencilTablesFactory
friend

Definition at line 95 of file stencilTables.h.

Member Data Documentation

int* _indices
protected

Definition at line 98 of file stencilTables.h.

unsigned char* _size
protected

Definition at line 97 of file stencilTables.h.

float* _weights
protected

Definition at line 99 of file stencilTables.h.


The documentation for this class was generated from the following file: