ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkSurfaceVectors Class Reference

Constrains vectors to surface. More...

#include <vtkSurfaceVectors.h>

Inherits vtkDataSetAlgorithm.

Public Types

enum  ConstraintMode { Parallel = 0, Perpendicular, PerpendicularScale }
 
typedef vtkDataSetAlgorithm Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetConstraintMode (int)
 This mode determines whether this filter projects vectors to be perpendicular to surface or parallel to surface. More...
 
virtual int GetConstraintMode ()
 This mode determines whether this filter projects vectors to be perpendicular to surface or parallel to surface. More...
 
void SetConstraintModeToParallel ()
 This mode determines whether this filter projects vectors to be perpendicular to surface or parallel to surface. More...
 
void SetConstraintModeToPerpendicular ()
 This mode determines whether this filter projects vectors to be perpendicular to surface or parallel to surface. More...
 
void SetConstraintModeToPerpendicularScale ()
 This mode determines whether this filter projects vectors to be perpendicular to surface or parallel to surface. More...
 

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 33 of file vtkSurfaceVectors.h.

Member Typedef Documentation

◆ Superclass

typedef vtkDataSetAlgorithm vtkSurfaceVectors::Superclass

Definition at line 36 of file vtkSurfaceVectors.h.

Member Enumeration Documentation

◆ ConstraintMode

Enumerator
Parallel 
Perpendicular 
PerpendicularScale 

Definition at line 40 of file vtkSurfaceVectors.h.

Constructor & Destructor Documentation

◆ vtkSurfaceVectors()

vtkSurfaceVectors::vtkSurfaceVectors ( )
protected

◆ ~vtkSurfaceVectors()

vtkSurfaceVectors::~vtkSurfaceVectors ( )
protected

Member Function Documentation

◆ GetClassName()

virtual const char* vtkSurfaceVectors::GetClassName ( )
virtual

◆ IsTypeOf()

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

◆ IsA()

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

◆ SafeDownCast()

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

◆ PrintSelf()

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

◆ New()

static vtkSurfaceVectors* vtkSurfaceVectors::New ( )
static

◆ SetConstraintMode()

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.

◆ GetConstraintMode()

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.

◆ SetConstraintModeToParallel()

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 55 of file vtkSurfaceVectors.h.

◆ SetConstraintModeToPerpendicular()

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 56 of file vtkSurfaceVectors.h.

◆ SetConstraintModeToPerpendicularScale()

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 60 of file vtkSurfaceVectors.h.

◆ RequestData()

virtual int vtkSurfaceVectors::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

◆ RequestUpdateExtent()

virtual int vtkSurfaceVectors::RequestUpdateExtent ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Member Data Documentation

◆ ConstraintMode

Definition at line 74 of file vtkSurfaceVectors.h.


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