VTK
|
reverse the ordering of polygonal cells and/or vertex normals More...
#include <vtkReverseSense.h>
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkReverseSense * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetReverseCells (int) |
virtual int | GetReverseCells () |
virtual void | ReverseCellsOn () |
virtual void | ReverseCellsOff () |
virtual void | SetReverseNormals (int) |
virtual int | GetReverseNormals () |
virtual void | ReverseNormalsOn () |
virtual void | ReverseNormalsOff () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkReverseSense * | SafeDownCast (vtkObjectBase *o) |
static vtkReverseSense * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkReverseSense () | |
~vtkReverseSense () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | ReverseCells |
int | ReverseNormals |
reverse the ordering of polygonal cells and/or vertex normals
vtkReverseSense is a filter that reverses the order of polygonal cells and/or reverses the direction of point and cell 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 (both point and cell normals, if present).
Definition at line 42 of file vtkReverseSense.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 45 of file vtkReverseSense.h.
vtkReverseSense::vtkReverseSense | ( | ) | [protected] |
vtkReverseSense::~vtkReverseSense | ( | ) | [inline, protected] |
Definition at line 69 of file vtkReverseSense.h.
static int vtkReverseSense::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
virtual int vtkReverseSense::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
static vtkReverseSense* vtkReverseSense::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkReverseSense::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
vtkReverseSense* vtkReverseSense::NewInstance | ( | ) | const |
Reimplemented from vtkPolyDataAlgorithm.
void vtkReverseSense::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkPolyDataAlgorithm.
static vtkReverseSense* vtkReverseSense::New | ( | ) | [static] |
Construct object so that behavior is to reverse cell ordering and leave normal orientation as is.
Reimplemented from vtkPolyDataAlgorithm.
virtual void vtkReverseSense::SetReverseCells | ( | int | ) | [virtual] |
Flag controls whether to reverse cell ordering.
virtual int vtkReverseSense::GetReverseCells | ( | ) | [virtual] |
Flag controls whether to reverse cell ordering.
virtual void vtkReverseSense::ReverseCellsOn | ( | ) | [virtual] |
Flag controls whether to reverse cell ordering.
virtual void vtkReverseSense::ReverseCellsOff | ( | ) | [virtual] |
Flag controls whether to reverse cell ordering.
virtual void vtkReverseSense::SetReverseNormals | ( | int | ) | [virtual] |
Flag controls whether to reverse normal orientation.
virtual int vtkReverseSense::GetReverseNormals | ( | ) | [virtual] |
Flag controls whether to reverse normal orientation.
virtual void vtkReverseSense::ReverseNormalsOn | ( | ) | [virtual] |
Flag controls whether to reverse normal orientation.
virtual void vtkReverseSense::ReverseNormalsOff | ( | ) | [virtual] |
Flag controls whether to reverse normal orientation.
int vtkReverseSense::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
int vtkReverseSense::ReverseCells [protected] |
Definition at line 74 of file vtkReverseSense.h.
int vtkReverseSense::ReverseNormals [protected] |
Definition at line 75 of file vtkReverseSense.h.