VTK
|
create oriented lines from vector data More...
#include <vtkHedgeHog.h>
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkHedgeHog * | NewInstance () const |
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 vtkHedgeHog * | New () |
static int | IsTypeOf (const char *type) |
static vtkHedgeHog * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkHedgeHog () | |
~vtkHedgeHog () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
Protected Attributes | |
double | ScaleFactor |
int | VectorMode |
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.
Definition at line 39 of file vtkHedgeHog.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 43 of file vtkHedgeHog.h.
vtkHedgeHog::vtkHedgeHog | ( | ) | [protected] |
vtkHedgeHog::~vtkHedgeHog | ( | ) | [inline, protected] |
Definition at line 63 of file vtkHedgeHog.h.
static vtkHedgeHog* vtkHedgeHog::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
static vtkHedgeHog* vtkHedgeHog::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkHedgeHog::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
vtkHedgeHog* vtkHedgeHog::NewInstance | ( | ) | const |
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 56 of file vtkHedgeHog.h.
void vtkHedgeHog::SetVectorModeToUseNormal | ( | ) | [inline] |
Specify whether to use vector or normal to perform vector operations.
Definition at line 57 of file vtkHedgeHog.h.
const char * vtkHedgeHog::GetVectorModeAsString | ( | void | ) | [inline] |
Return the vector mode as a character string.
Definition at line 77 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.
double vtkHedgeHog::ScaleFactor [protected] |
Definition at line 67 of file vtkHedgeHog.h.
int vtkHedgeHog::VectorMode [protected] |
Definition at line 68 of file vtkHedgeHog.h.