ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkSurfaceVectors Class Reference

Constrains vectors to surface. More...

#include <vtkSurfaceVectors.h>

Inheritance diagram for vtkSurfaceVectors:
Inheritance graph
[legend]
Collaboration diagram for vtkSurfaceVectors:
Collaboration graph
[legend]

List of all members.

Public Types

enum  ConstraintMode { Parallel = 0, Perpendicular, PerpendicularScale }

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetConstraintMode (int)
virtual int GetConstraintMode ()
void SetConstraintModeToParallel ()
void SetConstraintModeToPerpendicular ()
void SetConstraintModeToPerpendicularScale ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkSurfaceVectorsSafeDownCast (vtkObject *o)
static vtkSurfaceVectorsNew ()

Protected Member Functions

 vtkSurfaceVectors ()
 ~vtkSurfaceVectors ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

int ConstraintMode

Detailed Description

Constrains vectors to surface.

This filter works on point vectors. It does not work on cell vectors yet. A normal is conputed for a point by averaging normals of surrounding 2D cells. The vector is then constrained to be perpendicular to the normal.

Definition at line 31 of file vtkSurfaceVectors.h.


Member Enumeration Documentation

Enumerator:
Parallel 
Perpendicular 
PerpendicularScale 

Definition at line 39 of file vtkSurfaceVectors.h.


Constructor & Destructor Documentation

vtkSurfaceVectors::vtkSurfaceVectors ( ) [protected]
vtkSurfaceVectors::~vtkSurfaceVectors ( ) [protected]

Member Function Documentation

virtual const char* vtkSurfaceVectors::GetClassName ( ) [virtual]

Reimplemented from vtkDataSetAlgorithm.

static int vtkSurfaceVectors::IsTypeOf ( const char *  type) [static]

Reimplemented from vtkDataSetAlgorithm.

virtual int vtkSurfaceVectors::IsA ( const char *  type) [virtual]

Reimplemented from vtkDataSetAlgorithm.

static vtkSurfaceVectors* vtkSurfaceVectors::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkDataSetAlgorithm.

void vtkSurfaceVectors::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Reimplemented from vtkDataSetAlgorithm.

static vtkSurfaceVectors* vtkSurfaceVectors::New ( ) [static]

Reimplemented from vtkDataSetAlgorithm.

virtual void vtkSurfaceVectors::SetConstraintMode ( int  ) [virtual]

This mode determines whether this filter projects vectors to be perpendicular to surface or parallel to surface. It defaults to parallel.

virtual int vtkSurfaceVectors::GetConstraintMode ( ) [virtual]

This mode determines whether this filter projects vectors to be perpendicular to surface or parallel to surface. It defaults to parallel.

void vtkSurfaceVectors::SetConstraintModeToParallel ( ) [inline]

This mode determines whether this filter projects vectors to be perpendicular to surface or parallel to surface. It defaults to parallel.

Definition at line 52 of file vtkSurfaceVectors.h.

void vtkSurfaceVectors::SetConstraintModeToPerpendicular ( ) [inline]

This mode determines whether this filter projects vectors to be perpendicular to surface or parallel to surface. It defaults to parallel.

Definition at line 54 of file vtkSurfaceVectors.h.

void vtkSurfaceVectors::SetConstraintModeToPerpendicularScale ( ) [inline]

This mode determines whether this filter projects vectors to be perpendicular to surface or parallel to surface. It defaults to parallel.

Definition at line 56 of file vtkSurfaceVectors.h.

virtual int vtkSurfaceVectors::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkDataSetAlgorithm.

virtual int vtkSurfaceVectors::RequestUpdateExtent ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkDataSetAlgorithm.


Member Data Documentation

Definition at line 72 of file vtkSurfaceVectors.h.


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