3D surface plot.
More...
#include <vtkPlotSurface.h>
|
virtual int | IsA (const char *type) |
|
vtkPlotSurface * | NewInstance () const |
|
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual bool | Paint (vtkContext2D *painter) |
|
virtual void | SetInputData (vtkTable *input) |
|
void | SetXRange (float min, float max) |
|
void | SetYRange (float min, float max) |
|
|
virtual void | SetInputData (vtkTable *input, const vtkStdString &xName, const vtkStdString &yName, const vtkStdString &zName) |
|
virtual void | SetInputData (vtkTable *input, const vtkStdString &xName, const vtkStdString &yName, const vtkStdString &zName, const vtkStdString &colorName) |
|
virtual void | SetInputData (vtkTable *input, vtkIdType xColumn, vtkIdType yColumn, vtkIdType zColumn) |
|
vtkPlot3D * | NewInstance () const |
|
virtual void | SetColors (vtkDataArray *colorArr) |
|
std::vector< vtkVector3f > | GetPoints () |
|
std::string | GetXAxisLabel () |
|
std::string | GetYAxisLabel () |
|
std::string | GetZAxisLabel () |
|
std::vector< vtkVector3f > | GetDataBounds () |
|
void | SetPen (vtkPen *pen) |
|
vtkPen * | GetPen () |
|
virtual vtkChartXYZ * | GetChart () |
|
virtual void | SetChart (vtkChartXYZ *chart) |
|
virtual void | SetSelection (vtkIdTypeArray *id) |
|
virtual vtkIdTypeArray * | GetSelection () |
|
3D surface plot.
3D surface plot.
- Tests:
- vtkPlotSurface (Tests)
Definition at line 38 of file vtkPlotSurface.h.
vtkPlotSurface::vtkPlotSurface |
( |
| ) |
|
|
protected |
vtkPlotSurface::~vtkPlotSurface |
( |
| ) |
|
|
protected |
static int vtkPlotSurface::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkPlotSurface::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkPlotSurface::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
virtual void vtkPlotSurface::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
|
virtual |
virtual bool vtkPlotSurface::Paint |
( |
vtkContext2D * |
painter | ) |
|
|
virtual |
Paint event for the XY plot, called whenever the chart needs to be drawn
virtual void vtkPlotSurface::SetInputData |
( |
vtkTable * |
input | ) |
|
|
virtual |
Set the input to the surface plot.
Reimplemented from vtkPlot3D.
Set the input to the surface plot. Do not use these versions of SetInputData, as all the parameters beyond the vtkTable are ignored.
Reimplemented from vtkPlot3D.
Set the input to the surface plot. Do not use these versions of SetInputData, as all the parameters beyond the vtkTable are ignored.
Reimplemented from vtkPlot3D.
Set the input to the surface plot. Do not use these versions of SetInputData, as all the parameters beyond the vtkTable are ignored.
Reimplemented from vtkPlot3D.
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 |
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 |
This array indicates how the surface should be colored.
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 lookup table used to color the surface by height (Z dimension).
Definition at line 120 of file vtkPlotSurface.h.
float vtkPlotSurface::XMinimum |
|
protected |
float vtkPlotSurface::XMaximum |
|
protected |
float vtkPlotSurface::YMinimum |
|
protected |
float vtkPlotSurface::YMaximum |
|
protected |
bool vtkPlotSurface::DataHasBeenRescaled |
|
protected |
true if user-defined data scaling has already been applied, false otherwise.
Definition at line 132 of file vtkPlotSurface.h.
The documentation for this class was generated from the following file: