vtkHedgeHog Class Reference

#include <vtkHedgeHog.h>

Inheritance diagram for vtkHedgeHog:

Inheritance graph
[legend]
Collaboration diagram for vtkHedgeHog:

Collaboration graph
[legend]

List of all members.


Detailed Description

create oriented lines from vector data

vtkHedgeHog creates oriented lines from the input data set. Line length is controlled by vector (or normal) magnitude times scale factor. If VectorMode is UseNormal, normals determine the orientation of the lines. Lines are colored by scalar data, if available.

Tests:
vtkHedgeHog (Tests)

Definition at line 35 of file vtkHedgeHog.h.


Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetScaleFactor (double)
virtual double GetScaleFactor ()
virtual void SetVectorMode (int)
virtual int GetVectorMode ()
void SetVectorModeToUseVector ()
void SetVectorModeToUseNormal ()
const char * GetVectorModeAsString ()

Static Public Member Functions

static vtkHedgeHogNew ()
static int IsTypeOf (const char *type)
static vtkHedgeHogSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkHedgeHog ()
 ~vtkHedgeHog ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)

Protected Attributes

double ScaleFactor
int VectorMode

Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 39 of file vtkHedgeHog.h.


Constructor & Destructor Documentation

vtkHedgeHog::vtkHedgeHog (  )  [protected]

vtkHedgeHog::~vtkHedgeHog (  )  [inline, protected]

Definition at line 59 of file vtkHedgeHog.h.


Member Function Documentation

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

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkPolyDataAlgorithm.

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

Reimplemented from vtkPolyDataAlgorithm.

static int vtkHedgeHog::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataAlgorithm.

virtual int vtkHedgeHog::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkPolyDataAlgorithm.

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

Reimplemented from vtkPolyDataAlgorithm.

void vtkHedgeHog::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.

virtual void vtkHedgeHog::SetScaleFactor ( double   )  [virtual]

Set scale factor to control size of oriented lines.

virtual double vtkHedgeHog::GetScaleFactor (  )  [virtual]

Set scale factor to control size of oriented lines.

virtual void vtkHedgeHog::SetVectorMode ( int   )  [virtual]

Specify whether to use vector or normal to perform vector operations.

virtual int vtkHedgeHog::GetVectorMode (  )  [virtual]

Specify whether to use vector or normal to perform vector operations.

void vtkHedgeHog::SetVectorModeToUseVector (  )  [inline]

Specify whether to use vector or normal to perform vector operations.

Definition at line 52 of file vtkHedgeHog.h.

void vtkHedgeHog::SetVectorModeToUseNormal (  )  [inline]

Specify whether to use vector or normal to perform vector operations.

Definition at line 53 of file vtkHedgeHog.h.

const char * vtkHedgeHog::GetVectorModeAsString ( void   )  [inline]

Return the vector mode as a character string.

Definition at line 72 of file vtkHedgeHog.h.

virtual int vtkHedgeHog::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.

virtual int vtkHedgeHog::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkPolyDataAlgorithm.


Member Data Documentation

double vtkHedgeHog::ScaleFactor [protected]

Definition at line 63 of file vtkHedgeHog.h.

int vtkHedgeHog::VectorMode [protected]

Definition at line 64 of file vtkHedgeHog.h.


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

Generated on Wed Jun 3 19:07:04 2009 for VTK by  doxygen 1.5.6