VTK
|
3D surface plot. More...
#include <vtkPlotSurface.h>
3D surface plot.
3D surface plot.
Definition at line 38 of file vtkPlotSurface.h.
typedef vtkPlot3D vtkPlotSurface::Superclass |
Reimplemented from vtkPlot3D.
Definition at line 41 of file vtkPlotSurface.h.
vtkPlotSurface::vtkPlotSurface | ( | ) | [protected] |
vtkPlotSurface::~vtkPlotSurface | ( | ) | [protected] |
static int vtkPlotSurface::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 vtkPlot3D.
virtual int vtkPlotSurface::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 vtkPlot3D.
static vtkPlotSurface* vtkPlotSurface::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPlot3D.
virtual vtkObjectBase* vtkPlotSurface::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPlot3D.
vtkPlotSurface* vtkPlotSurface::NewInstance | ( | ) | const |
Reimplemented from vtkPlot3D.
virtual void vtkPlotSurface::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
static vtkPlotSurface* vtkPlotSurface::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual bool vtkPlotSurface::Paint | ( | vtkContext2D * | painter | ) | [virtual] |
Paint event for the XY plot, called whenever the chart needs to be drawn
Reimplemented from vtkAbstractContextItem.
virtual void vtkPlotSurface::SetInputData | ( | vtkTable * | input | ) | [virtual] |
Set the input to the surface plot.
Reimplemented from vtkPlot3D.
virtual void vtkPlotSurface::SetInputData | ( | vtkTable * | input, |
const vtkStdString & | xName, | ||
const vtkStdString & | yName, | ||
const vtkStdString & | zName | ||
) | [virtual] |
virtual void vtkPlotSurface::SetInputData | ( | vtkTable * | input, |
const vtkStdString & | xName, | ||
const vtkStdString & | yName, | ||
const vtkStdString & | zName, | ||
const vtkStdString & | colorName | ||
) | [virtual] |
virtual void vtkPlotSurface::SetInputData | ( | vtkTable * | input, |
vtkIdType | xColumn, | ||
vtkIdType | yColumn, | ||
vtkIdType | zColumn | ||
) | [virtual] |
void vtkPlotSurface::SetXRange | ( | float | min, |
float | max | ||
) |
Set the range of the input data for the X dimension. By default it is (1, NumberOfColumns). Calling this method after SetInputData() results in recomputation of the plot's data. Therefore, it is more efficient to call it before SetInputData() when possible.
void vtkPlotSurface::SetYRange | ( | float | min, |
float | max | ||
) |
Set the range of the input data for the Y dimension. By default it is (1, NumberOfRows). Calling this method after SetInputData() results in recomputation of the plot's data. Therefore, it is more efficient to call it before SetInputData() when possible.
void vtkPlotSurface::GenerateSurface | ( | ) | [protected] |
Generate a surface (for OpenGL) from our list of points.
void vtkPlotSurface::InsertSurfaceVertex | ( | float * | data, |
float | value, | ||
int | i, | ||
int | j, | ||
int & | pos | ||
) | [protected] |
Helper function used to setup a colored surface.
void vtkPlotSurface::RescaleData | ( | ) | [protected] |
Change data values if SetXRange() or SetYRange() were called.
float vtkPlotSurface::ColumnToX | ( | int | columnIndex | ) | [protected] |
Map a column index to the user-specified range for the X-axis.
float vtkPlotSurface::RowToY | ( | int | rowIndex | ) | [protected] |
Map a row index to the user-specified range for the Y-axis.
std::vector<vtkVector3f> vtkPlotSurface::Surface [protected] |
Surface to render.
Definition at line 99 of file vtkPlotSurface.h.
vtkIdType vtkPlotSurface::NumberOfRows [protected] |
The number of rows in the input table.
Definition at line 102 of file vtkPlotSurface.h.
vtkIdType vtkPlotSurface::NumberOfColumns [protected] |
The number of columns in the input table.
Definition at line 105 of file vtkPlotSurface.h.
vtkIdType vtkPlotSurface::NumberOfVertices [protected] |
The number of vertices in the surface.
Definition at line 108 of file vtkPlotSurface.h.
vtkNew<vtkUnsignedCharArray> vtkPlotSurface::Colors [protected] |
This array indicates how the surface should be colored.
Reimplemented from vtkPlot3D.
Definition at line 111 of file vtkPlotSurface.h.
int vtkPlotSurface::ColorComponents [protected] |
The number of components used to color the surface.
Definition at line 114 of file vtkPlotSurface.h.
vtkTable* vtkPlotSurface::InputTable [protected] |
The input table used to generate the surface.
Definition at line 117 of file vtkPlotSurface.h.
vtkNew<vtkLookupTable> vtkPlotSurface::LookupTable [protected] |
The lookup table used to color the surface by height (Z dimension).
Definition at line 120 of file vtkPlotSurface.h.
float vtkPlotSurface::XMinimum [protected] |
user-defined data ranges
Definition at line 124 of file vtkPlotSurface.h.
float vtkPlotSurface::XMaximum [protected] |
user-defined data ranges
Definition at line 125 of file vtkPlotSurface.h.
float vtkPlotSurface::YMinimum [protected] |
user-defined data ranges
Definition at line 126 of file vtkPlotSurface.h.
float vtkPlotSurface::YMaximum [protected] |
user-defined data ranges
Definition at line 127 of file vtkPlotSurface.h.
bool vtkPlotSurface::DataHasBeenRescaled [protected] |
true if user-defined data scaling has already been applied, false otherwise.
Definition at line 132 of file vtkPlotSurface.h.