VTK
|
generate scalars along a specified direction More...
#include <vtkElevationFilter.h>
Public Types | |
typedef vtkDataSetAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetLowPoint (double, double, double) |
virtual void | SetLowPoint (double[3]) |
virtual double * | GetLowPoint () |
virtual void | GetLowPoint (double data[3]) |
virtual void | SetHighPoint (double, double, double) |
virtual void | SetHighPoint (double[3]) |
virtual double * | GetHighPoint () |
virtual void | GetHighPoint (double data[3]) |
virtual void | SetScalarRange (double, double) |
void | SetScalarRange (double[2]) |
virtual double * | GetScalarRange () |
virtual void | GetScalarRange (double data[2]) |
Static Public Member Functions | |
static vtkElevationFilter * | New () |
static int | IsTypeOf (const char *type) |
static vtkElevationFilter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkElevationFilter () | |
~vtkElevationFilter () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
double | LowPoint [3] |
double | HighPoint [3] |
double | ScalarRange [2] |
generate scalars along a specified direction
vtkElevationFilter is a filter to generate scalar values from a dataset. The scalar values lie within a user specified range, and are generated by computing a projection of each dataset point onto a line. The line can be oriented arbitrarily. A typical example is to generate scalars based on elevation or height above a plane.
Definition at line 36 of file vtkElevationFilter.h.
Reimplemented from vtkDataSetAlgorithm.
Definition at line 40 of file vtkElevationFilter.h.
vtkElevationFilter::vtkElevationFilter | ( | ) | [protected] |
vtkElevationFilter::~vtkElevationFilter | ( | ) | [protected] |
static vtkElevationFilter* vtkElevationFilter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataSetAlgorithm.
virtual const char* vtkElevationFilter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkDataSetAlgorithm.
static int vtkElevationFilter::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 vtkDataSetAlgorithm.
virtual int vtkElevationFilter::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 vtkDataSetAlgorithm.
static vtkElevationFilter* vtkElevationFilter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkDataSetAlgorithm.
void vtkElevationFilter::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 vtkDataSetAlgorithm.
Define one end of the line (small scalar values). Default is (0,0,0).
virtual void vtkElevationFilter::SetLowPoint | ( | double | [3] | ) | [virtual] |
Define one end of the line (small scalar values). Default is (0,0,0).
virtual double* vtkElevationFilter::GetLowPoint | ( | ) | [virtual] |
Define one end of the line (small scalar values). Default is (0,0,0).
virtual void vtkElevationFilter::GetLowPoint | ( | double | data[3] | ) | [virtual] |
Define one end of the line (small scalar values). Default is (0,0,0).
Define other end of the line (large scalar values). Default is (0,0,1).
virtual void vtkElevationFilter::SetHighPoint | ( | double | [3] | ) | [virtual] |
Define other end of the line (large scalar values). Default is (0,0,1).
virtual double* vtkElevationFilter::GetHighPoint | ( | ) | [virtual] |
Define other end of the line (large scalar values). Default is (0,0,1).
virtual void vtkElevationFilter::GetHighPoint | ( | double | data[3] | ) | [virtual] |
Define other end of the line (large scalar values). Default is (0,0,1).
Specify range to map scalars into. Default is [0, 1].
void vtkElevationFilter::SetScalarRange | ( | double | [2] | ) |
Specify range to map scalars into. Default is [0, 1].
virtual double* vtkElevationFilter::GetScalarRange | ( | ) | [virtual] |
Specify range to map scalars into. Default is [0, 1].
virtual void vtkElevationFilter::GetScalarRange | ( | double | data[2] | ) | [virtual] |
Specify range to map scalars into. Default is [0, 1].
int vtkElevationFilter::RequestData | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.
Reimplemented from vtkDataSetAlgorithm.
double vtkElevationFilter::LowPoint[3] [protected] |
Definition at line 71 of file vtkElevationFilter.h.
double vtkElevationFilter::HighPoint[3] [protected] |
Definition at line 72 of file vtkElevationFilter.h.
double vtkElevationFilter::ScalarRange[2] [protected] |
Definition at line 73 of file vtkElevationFilter.h.