VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkParallelCoordinatesActor Class Reference

create parallel coordinate display from input field More...

#include <vtkParallelCoordinatesActor.h>

Inheritance diagram for vtkParallelCoordinatesActor:
[legend]
Collaboration diagram for vtkParallelCoordinatesActor:
[legend]

List of all members.

Public Types

typedef vtkActor2D Superclass
- Public Types inherited from vtkActor2D
- Public Types inherited from vtkProp
- Public Types inherited from vtkObject

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual int HasTranslucentPolygonalGeometry ()
virtual void SetInput (vtkDataObject *)
void ReleaseGraphicsResources (vtkWindow *)
virtual void SetIndependentVariables (int)
virtual int GetIndependentVariables ()
void SetIndependentVariablesToColumns ()
void SetIndependentVariablesToRows ()
virtual void SetTitle (const char *)
virtual char * GetTitle ()
virtual void SetNumberOfLabels (int)
virtual int GetNumberOfLabels ()
virtual void SetLabelFormat (const char *)
virtual char * GetLabelFormat ()
virtual void SetTitleTextProperty (vtkTextProperty *p)
virtual vtkTextPropertyGetTitleTextProperty ()
virtual void SetLabelTextProperty (vtkTextProperty *p)
virtual vtkTextPropertyGetLabelTextProperty ()
int RenderOpaqueGeometry (vtkViewport *)
int RenderOverlay (vtkViewport *)
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *)
virtual vtkDataObjectGetInput ()
- Public Member Functions inherited from vtkActor2D
vtkProperty2DGetProperty ()
virtual void SetProperty (vtkProperty2D *)
void SetDisplayPosition (int, int)
virtual unsigned long GetMTime ()
virtual void GetActors2D (vtkPropCollection *pc)
virtual void ShallowCopy (vtkProp *prop)
virtual void SetMapper (vtkMapper2D *mapper)
virtual vtkMapper2DGetMapper ()
virtual void SetLayerNumber (int)
virtual int GetLayerNumber ()
virtual vtkCoordinateGetPositionCoordinate ()
virtual void SetPosition (float x[2])
virtual void SetPosition (float x, float y)
virtual float * GetPosition ()
virtual vtkCoordinateGetPosition2Coordinate ()
virtual void SetPosition2 (float x[2])
virtual void SetPosition2 (float x, float y)
virtual float * GetPosition2 ()
void SetWidth (double w)
double GetWidth ()
void SetHeight (double h)
double GetHeight ()
virtual vtkCoordinateGetActualPositionCoordinate (void)
virtual vtkCoordinateGetActualPosition2Coordinate (void)
- Public Member Functions inherited from vtkProp
virtual void Pick ()
virtual unsigned long GetRedrawMTime ()
virtual double * GetBounds ()
virtual bool HasKeys (vtkInformation *requiredKeys)
virtual void BuildPaths (vtkAssemblyPaths *paths, vtkAssemblyPath *path)
virtual void GetActors (vtkPropCollection *)
virtual void GetVolumes (vtkPropCollection *)
virtual void SetVisibility (int)
virtual int GetVisibility ()
virtual void VisibilityOn ()
virtual void VisibilityOff ()
virtual void SetPickable (int)
virtual int GetPickable ()
virtual void PickableOn ()
virtual void PickableOff ()
virtual void SetDragable (int)
virtual int GetDragable ()
virtual void DragableOn ()
virtual void DragableOff ()
virtual void SetUseBounds (bool)
virtual bool GetUseBounds ()
virtual void UseBoundsOn ()
virtual void UseBoundsOff ()
virtual void InitPathTraversal ()
virtual vtkAssemblyPathGetNextPath ()
virtual int GetNumberOfPaths ()
virtual void PokeMatrix (vtkMatrix4x4 *vtkNotUsed(matrix))
virtual vtkMatrix4x4GetMatrix ()
virtual vtkInformationGetPropertyKeys ()
virtual void SetPropertyKeys (vtkInformation *keys)
virtual int RenderVolumetricGeometry (vtkViewport *)
virtual bool RenderFilteredOpaqueGeometry (vtkViewport *v, vtkInformation *requiredKeys)
virtual bool RenderFilteredTranslucentPolygonalGeometry (vtkViewport *v, vtkInformation *requiredKeys)
virtual bool RenderFilteredVolumetricGeometry (vtkViewport *v, vtkInformation *requiredKeys)
virtual bool RenderFilteredOverlay (vtkViewport *v, vtkInformation *requiredKeys)
virtual double GetEstimatedRenderTime (vtkViewport *)
virtual double GetEstimatedRenderTime ()
virtual void SetEstimatedRenderTime (double t)
virtual void RestoreEstimatedRenderTime ()
virtual void AddEstimatedRenderTime (double t, vtkViewport *vtkNotUsed(vp))
virtual void SetAllocatedRenderTime (double t, vtkViewport *vtkNotUsed(v))
virtual double GetAllocatedRenderTime ()
void SetRenderTimeMultiplier (double t)
virtual double GetRenderTimeMultiplier ()
virtual bool GetSupportsSelection ()
virtual int GetNumberOfConsumers ()
void AddConsumer (vtkObject *c)
void RemoveConsumer (vtkObject *c)
vtkObjectGetConsumer (int i)
int IsConsumer (vtkObject *c)
- Public Member Functions inherited from vtkObject
virtual void DebugOn ()
virtual void DebugOff ()
unsigned char GetDebug ()
void SetDebug (unsigned char debugFlag)
virtual void Modified ()
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
vtkCommandGetCommand (unsigned long tag)
void RemoveObserver (vtkCommand *)
void RemoveObservers (unsigned long event, vtkCommand *)
void RemoveObservers (const char *event, vtkCommand *)
int HasObserver (unsigned long event, vtkCommand *)
int HasObserver (const char *event, vtkCommand *)
void RemoveObserver (unsigned long tag)
void RemoveObservers (unsigned long event)
void RemoveObservers (const char *event)
void RemoveAllObservers ()
int HasObserver (unsigned long event)
int HasObserver (const char *event)
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
int InvokeEvent (unsigned long event, void *callData)
int InvokeEvent (const char *event, void *callData)
int InvokeEvent (unsigned long event)
int InvokeEvent (const char *event)
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
virtual void Delete ()
virtual void FastDelete ()
void Print (ostream &os)
virtual void Register (vtkObjectBase *o)
virtual void UnRegister (vtkObjectBase *o)
void SetReferenceCount (int)
void PrintRevisions (ostream &os)
virtual void PrintHeader (ostream &os, vtkIndent indent)
virtual void PrintTrailer (ostream &os, vtkIndent indent)
int GetReferenceCount ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static
vtkParallelCoordinatesActor
SafeDownCast (vtkObject *o)
static
vtkParallelCoordinatesActor
New ()

Protected Member Functions

 vtkParallelCoordinatesActor ()
 ~vtkParallelCoordinatesActor ()
- Protected Member Functions inherited from vtkActor2D
 vtkActor2D ()
 ~vtkActor2D ()
- Protected Member Functions inherited from vtkProp
 vtkProp ()
 ~vtkProp ()
- Protected Member Functions inherited from vtkObject
 vtkObject ()
virtual ~vtkObject ()
virtual void RegisterInternal (vtkObjectBase *, int check)
virtual void UnRegisterInternal (vtkObjectBase *, int check)
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
void InternalReleaseFocus ()
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
virtual ~vtkObjectBase ()
virtual void CollectRevisions (ostream &os)
virtual void ReportReferences (vtkGarbageCollector *)
 vtkObjectBase (const vtkObjectBase &)
void operator= (const vtkObjectBase &)

Additional Inherited Members

- Protected Attributes inherited from vtkActor2D
vtkMapper2DMapper
int LayerNumber
vtkProperty2DProperty
vtkCoordinatePositionCoordinate
vtkCoordinatePosition2Coordinate
- Protected Attributes inherited from vtkProp
int Visibility
int Pickable
int Dragable
bool UseBounds
double AllocatedRenderTime
double EstimatedRenderTime
double SavedEstimatedRenderTime
double RenderTimeMultiplier
int NumberOfConsumers
vtkObject ** Consumers
vtkAssemblyPathsPaths
vtkInformationPropertyKeys
- Protected Attributes inherited from vtkObject
unsigned char Debug
vtkTimeStamp MTime
vtkSubjectHelper * SubjectHelper
- Protected Attributes inherited from vtkObjectBase
int ReferenceCount
vtkWeakPointerBase ** WeakPointers

Detailed Description

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.

Warning:
Field data is not necessarily "rectangular" in shape. In these cases, some of the data may not be plotted.
Field data can contain non-numeric arrays (i.e. arrays not subclasses of vtkDataArray). Such arrays are skipped.
The early implementation lacks many features that could be added in the future. This includes the ability to "brush" data (choose regions along an axis and highlight any points/lines passing through the region); efficiency is really bad; more control over the properties of the plot (separate properties for each axes,title,etc.; and using the labels found in the field to label each of the axes.
See also:
vtkAxisActor3D can be used to create axes in world coordinate space. vtkActor2D vtkTextMapper vtkPolyDataMapper2D vtkScalarBarActor vtkCoordinate vtkTextProperty
Tests:
vtkParallelCoordinatesActor (Tests)

Definition at line 77 of file vtkParallelCoordinatesActor.h.


Member Typedef Documentation

Reimplemented from vtkActor2D.

Definition at line 80 of file vtkParallelCoordinatesActor.h.


Constructor & Destructor Documentation

vtkParallelCoordinatesActor::vtkParallelCoordinatesActor ( )
protected
vtkParallelCoordinatesActor::~vtkParallelCoordinatesActor ( )
protected

Member Function Documentation

virtual const char* vtkParallelCoordinatesActor::GetClassName ( )
virtual

Reimplemented from vtkActor2D.

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 ( vtkObject o)
static

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 94 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 96 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 )
inlinevirtual

Draw the parallel coordinates plot.

Reimplemented from vtkActor2D.

Definition at line 136 of file vtkParallelCoordinatesActor.h.

virtual int vtkParallelCoordinatesActor::HasTranslucentPolygonalGeometry ( )
virtual

Does this prop have some translucent polygonal geometry?

Reimplemented from vtkActor2D.

virtual void vtkParallelCoordinatesActor::SetInput ( vtkDataObject )
virtual

Set the input to the parallel coordinates actor.

virtual vtkDataObject* vtkParallelCoordinatesActor::GetInput ( )
virtual

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.


The documentation for this class was generated from the following file: