Documentation for vtkReverseSense

vtkReverseSense - reverse the ordering of polygonal cells and/or vertex normals

Super Class: vtkPolyDataToPolyDataFilter

Description:

vtkReverseSense is a filter that reverses the order of polygonal cells and/or reverses the direction of vertex normals. Two flags are used to control these operations. Cell reversal means reversing the order of indices in the cell connectivity list. Normal reversal means multiplying the normal vector by -1.

 

Caveats:

Normals can be operated on only if they are present in the data.

 

Methods:

void vtkReverseSense ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
static vtkReverseSense *New ()
void SetReverseCells (int )
int GetReverseCells ()
void ReverseCellsOn ()
void ReverseCellsOff ()
void SetReverseNormals (int )
int GetReverseNormals ()
void ReverseNormalsOn ()
void ReverseNormalsOff ()
void Execute ()

 

Detailed Method Descriptions:

Construct object so that behavior is to reverse cell ordering and leave normal orientation as is.

static vtkReverseSense *New ()

Flag controls whether to reverse cell ordering.

void SetReverseCells (int )
int GetReverseCells ()
void ReverseCellsOn ()
void ReverseCellsOff ()

Flag controls whether to reverse normal orientation.

void SetReverseNormals (int )
int GetReverseNormals ()
void ReverseNormalsOn ()
void ReverseNormalsOff ()