VTK
|
create parallel coordinate display from input field More...
#include <vtkParallelCoordinatesActor.h>
create parallel coordinate display from input field
vtkParallelCoordinatesActor generates a parallel coordinates plot from an input field (i.e., vtkDataObject). Parallel coordinates represent N-dimensional data by using a set of N parallel axes (not orthogonal like the usual x-y-z Cartesian axes). Each N-dimensional point is plotted as a polyline, were each of the N components of the point lie on one of the N axes, and the components are connected by straight lines.
To use this class, you must specify an input data object. You'll probably also want to specify the position of the plot be setting the Position and Position2 instance variables, which define a rectangle in which the plot lies. Another important parameter is the IndependentVariables ivar, which tells the instance how to interpret the field data (independent variables as the rows or columns of the field). There are also many other instance variables that control the look of the plot includes its title, attributes, number of ticks on the axes, etc.
Set the text property/attributes of the title and the labels through the vtkTextProperty objects associated to this actor.
Definition at line 80 of file vtkParallelCoordinatesActor.h.
Reimplemented from vtkActor2D.
Definition at line 83 of file vtkParallelCoordinatesActor.h.
vtkParallelCoordinatesActor::vtkParallelCoordinatesActor | ( | ) | [protected] |
vtkParallelCoordinatesActor::~vtkParallelCoordinatesActor | ( | ) | [protected] |
static int vtkParallelCoordinatesActor::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 vtkActor2D.
virtual int vtkParallelCoordinatesActor::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 vtkActor2D.
static vtkParallelCoordinatesActor* vtkParallelCoordinatesActor::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkActor2D.
virtual vtkObjectBase* vtkParallelCoordinatesActor::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkActor2D.
Reimplemented from vtkActor2D.
void vtkParallelCoordinatesActor::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 vtkActor2D.
static vtkParallelCoordinatesActor* vtkParallelCoordinatesActor::New | ( | ) | [static] |
Instantiate object with autorange computation; the number of labels set to 5 for the x and y axes; a label format of "%-#6.3g"; and x coordinates computed from point ids.
Reimplemented from vtkActor2D.
virtual void vtkParallelCoordinatesActor::SetIndependentVariables | ( | int | ) | [virtual] |
Specify whether to use the rows or columns as independent variables. If columns, then each row represents a separate point. If rows, then each column represents a separate point.
virtual int vtkParallelCoordinatesActor::GetIndependentVariables | ( | ) | [virtual] |
Specify whether to use the rows or columns as independent variables. If columns, then each row represents a separate point. If rows, then each column represents a separate point.
void vtkParallelCoordinatesActor::SetIndependentVariablesToColumns | ( | ) | [inline] |
Specify whether to use the rows or columns as independent variables. If columns, then each row represents a separate point. If rows, then each column represents a separate point.
Definition at line 97 of file vtkParallelCoordinatesActor.h.
void vtkParallelCoordinatesActor::SetIndependentVariablesToRows | ( | ) | [inline] |
Specify whether to use the rows or columns as independent variables. If columns, then each row represents a separate point. If rows, then each column represents a separate point.
Definition at line 99 of file vtkParallelCoordinatesActor.h.
virtual void vtkParallelCoordinatesActor::SetTitle | ( | const char * | ) | [virtual] |
Set/Get the title of the parallel coordinates plot.
virtual char* vtkParallelCoordinatesActor::GetTitle | ( | ) | [virtual] |
Set/Get the title of the parallel coordinates plot.
virtual void vtkParallelCoordinatesActor::SetNumberOfLabels | ( | int | ) | [virtual] |
Set/Get the number of annotation labels to show along each axis. This values is a suggestion: the number of labels may vary depending on the particulars of the data.
virtual int vtkParallelCoordinatesActor::GetNumberOfLabels | ( | ) | [virtual] |
Set/Get the number of annotation labels to show along each axis. This values is a suggestion: the number of labels may vary depending on the particulars of the data.
virtual void vtkParallelCoordinatesActor::SetLabelFormat | ( | const char * | ) | [virtual] |
Set/Get the format with which to print the labels on the axes.
virtual char* vtkParallelCoordinatesActor::GetLabelFormat | ( | ) | [virtual] |
Set/Get the format with which to print the labels on the axes.
virtual void vtkParallelCoordinatesActor::SetTitleTextProperty | ( | vtkTextProperty * | p | ) | [virtual] |
Set/Get the title text property.
virtual vtkTextProperty* vtkParallelCoordinatesActor::GetTitleTextProperty | ( | ) | [virtual] |
Set/Get the title text property.
virtual void vtkParallelCoordinatesActor::SetLabelTextProperty | ( | vtkTextProperty * | p | ) | [virtual] |
Set/Get the labels text property.
virtual vtkTextProperty* vtkParallelCoordinatesActor::GetLabelTextProperty | ( | ) | [virtual] |
Set/Get the labels text property.
int vtkParallelCoordinatesActor::RenderOpaqueGeometry | ( | vtkViewport * | ) | [virtual] |
Draw the parallel coordinates plot.
Reimplemented from vtkActor2D.
int vtkParallelCoordinatesActor::RenderOverlay | ( | vtkViewport * | ) | [virtual] |
Draw the parallel coordinates plot.
Reimplemented from vtkActor2D.
virtual int vtkParallelCoordinatesActor::RenderTranslucentPolygonalGeometry | ( | vtkViewport * | ) | [inline, virtual] |
Draw the parallel coordinates plot.
Reimplemented from vtkActor2D.
Definition at line 139 of file vtkParallelCoordinatesActor.h.
virtual int vtkParallelCoordinatesActor::HasTranslucentPolygonalGeometry | ( | ) | [virtual] |
Does this prop have some translucent polygonal geometry?
Reimplemented from vtkActor2D.
virtual void vtkParallelCoordinatesActor::SetInputConnection | ( | vtkAlgorithmOutput * | ) | [virtual] |
Set the input to the parallel coordinates actor. Creates a pipeline connection.
virtual void vtkParallelCoordinatesActor::SetInputData | ( | vtkDataObject * | ) | [virtual] |
Set the input to the parallel coordinates actor. Does not create a pipeline connection.
Remove a dataset from the list of data to append.
void vtkParallelCoordinatesActor::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.
Reimplemented from vtkActor2D.