VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkReverseSense Class Reference

reverse the ordering of polygonal cells and/or vertex normals More...

#include <vtkReverseSense.h>

Inherits vtkPolyDataAlgorithm.

Public Types

typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkReverseSenseNewInstance () 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 vtkReverseSenseSafeDownCast (vtkObjectBase *o)
 
static vtkReverseSenseNew ()
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkReverseSense ()
 
 ~vtkReverseSense ()
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 

Protected Attributes

int ReverseCells
 
int ReverseNormals
 

Detailed Description

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).

Warning
Normals can be operated on only if they are present in the data.
Examples:
vtkReverseSense (Examples)
Tests:
vtkReverseSense (Tests)

Definition at line 42 of file vtkReverseSense.h.

Member Typedef Documentation

typedef vtkPolyDataAlgorithm vtkReverseSense::Superclass

Definition at line 45 of file vtkReverseSense.h.

Constructor & Destructor Documentation

vtkReverseSense::vtkReverseSense ( )
protected
vtkReverseSense::~vtkReverseSense ( )
inlineprotected

Definition at line 69 of file vtkReverseSense.h.

Member Function Documentation

static int vtkReverseSense::IsTypeOf ( const char *  type)
static
virtual int vtkReverseSense::IsA ( const char *  type)
virtual
static vtkReverseSense* vtkReverseSense::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkReverseSense::NewInstanceInternal ( ) const
protectedvirtual
vtkReverseSense* vtkReverseSense::NewInstance ( ) const
void vtkReverseSense::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
static vtkReverseSense* vtkReverseSense::New ( )
static

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

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 *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected

Member Data Documentation

int vtkReverseSense::ReverseCells
protected

Definition at line 74 of file vtkReverseSense.h.

int vtkReverseSense::ReverseNormals
protected

Definition at line 75 of file vtkReverseSense.h.


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