Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

vtkReverseSense Class Reference

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

#include <vtkReverseSense.h>

Inheritance diagram for vtkReverseSense:

Inheritance graph
[legend]
Collaboration diagram for vtkReverseSense:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 Methods

int IsTypeOf (const char *type)
vtkReverseSense * SafeDownCast (vtkObject *o)
vtkReverseSense * New ()

Protected Methods

 vtkReverseSense ()
 ~vtkReverseSense ()
 vtkReverseSense (const vtkReverseSense &)
void operator= (const vtkReverseSense &)
void Execute ()

Protected Attributes

int ReverseCells
int ReverseNormals

Detailed Description

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

Date:
2000/12/10 20:08:50
Revision:
1.18

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)


Member Function Documentation

virtual const char* vtkReverseSense::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataToPolyDataFilter.

virtual int vtkReverseSense::IsA const char *    type [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 vtkPolyDataToPolyDataFilter.

int vtkReverseSense::IsTypeOf const char *    type [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 vtkPolyDataToPolyDataFilter.

vtkReverseSense* vtkReverseSense::New   [static]
 

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

Reimplemented from vtkPolyDataSource.

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

vtkReverseSense* vtkReverseSense::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataToPolyDataFilter.

virtual void vtkReverseSense::SetReverseCells int    [virtual]
 

Flag controls whether to reverse cell ordering.

virtual void vtkReverseSense::SetReverseNormals int    [virtual]
 

Flag controls whether to reverse normal orientation.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:32:36 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002