VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
vtkScatterPlotMatrix Class Reference

container for a matrix of charts. More...

#include <vtkScatterPlotMatrix.h>

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

Public Types

enum  { SCATTERPLOT, HISTOGRAM, ACTIVEPLOT, NOPLOT }
 
typedef vtkChartMatrix Superclass
 
- Public Types inherited from vtkChartMatrix
typedef vtkAbstractContextItem Superclass
 
- Public Types inherited from vtkAbstractContextItem
typedef vtkObject Superclass
 
- Public Types inherited from vtkObject
typedef vtkObjectBase Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkScatterPlotMatrixNewInstance () const
 
virtual void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Update ()
 
virtual bool Paint (vtkContext2D *painter)
 
virtual void SetScene (vtkContextScene *scene)
 
virtual bool SetActivePlot (const vtkVector2i &position)
 
virtual vtkVector2i GetActivePlot ()
 
vtkAnnotationLinkGetAnnotationLink ()
 
virtual void SetInput (vtkTable *table)
 
void SetColumnVisibility (const vtkStdString &name, bool visible)
 
void InsertVisibleColumn (const vtkStdString &name, int index)
 
bool GetColumnVisibility (const vtkStdString &name)
 
void SetColumnVisibilityAll (bool visible)
 
virtual vtkStringArrayGetVisibleColumns ()
 
virtual void SetVisibleColumns (vtkStringArray *visColumns)
 
virtual void SetNumberOfBins (int numberOfBins)
 
virtual int GetNumberOfBins () const
 
void SetPlotColor (int plotType, const vtkColor4ub &color)
 
void SetPlotMarkerStyle (int plotType, int style)
 
void SetPlotMarkerSize (int plotType, float size)
 
bool Hit (const vtkContextMouseEvent &mouse)
 
bool MouseMoveEvent (const vtkContextMouseEvent &mouse)
 
bool MouseButtonPressEvent (const vtkContextMouseEvent &mouse)
 
bool MouseButtonReleaseEvent (const vtkContextMouseEvent &mouse)
 
void SetTooltip (vtkTooltipItem *tooltip)
 
vtkTooltipItemGetTooltip () const
 
void SetIndexedLabels (vtkStringArray *labels)
 
vtkStringArrayGetIndexedLabels () const
 
void UpdateSettings ()
 
void UpdateChartSettings (int plotType)
 
vtkStdString GetColumnName (int column)
 
vtkStdString GetRowName (int row)
 
void SetNumberOfFrames (int frames)
 
int GetNumberOfFrames ()
 
void ClearAnimationPath ()
 
bool AddAnimationPath (const vtkVector2i &move)
 
vtkIdType GetNumberOfAnimationPathElements ()
 
vtkVector2i GetAnimationPathElement (vtkIdType i)
 
bool BeginAnimationPath (vtkRenderWindowInteractor *interactor)
 
virtual void AdvanceAnimation ()
 
virtual vtkChartGetMainChart ()
 
int GetPlotType (const vtkVector2i &pos)
 
int GetPlotType (int row, int column)
 
void SetTitle (const vtkStdString &title)
 
vtkStdString GetTitle ()
 
void SetTitleProperties (vtkTextProperty *prop)
 
vtkTextPropertyGetTitleProperties ()
 
void SetGridVisibility (int plotType, bool visible)
 
bool GetGridVisibility (int plotType)
 
void SetBackgroundColor (int plotType, const vtkColor4ub &color)
 
vtkColor4ub GetBackgroundColor (int plotType)
 
void SetAxisColor (int plotType, const vtkColor4ub &color)
 
vtkColor4ub GetAxisColor (int plotType)
 
void SetGridColor (int plotType, const vtkColor4ub &color)
 
vtkColor4ub GetGridColor (int plotType)
 
void SetAxisLabelVisibility (int plotType, bool visible)
 
bool GetAxisLabelVisibility (int plotType)
 
void SetAxisLabelProperties (int plotType, vtkTextProperty *prop)
 
vtkTextPropertyGetAxisLabelProperties (int plotType)
 
void SetAxisLabelNotation (int plotType, int notation)
 
int GetAxisLabelNotation (int plotType)
 
void SetAxisLabelPrecision (int plotType, int precision)
 
int GetAxisLabelPrecision (int plotType)
 
void SetTooltipNotation (int plotType, int notation)
 
void SetTooltipPrecision (int plotType, int precision)
 
int GetTooltipNotation (int plotType)
 
int GetTooltipPrecision (int plotType)
 
void SetScatterPlotSelectedRowColumnColor (const vtkColor4ub &color)
 
vtkColor4ub GetScatterPlotSelectedRowColumnColor ()
 
void SetScatterPlotSelectedActiveColor (const vtkColor4ub &color)
 
vtkColor4ub GetScatterPlotSelectedActiveColor ()
 
virtual void SetSelectionMode (int)
 
virtual int GetSelectionMode ()
 
- Public Member Functions inherited from vtkChartMatrix
vtkChartMatrixNewInstance () const
 
virtual void SetSize (const vtkVector2i &size)
 
virtual vtkVector2i GetSize () const
 
virtual vtkVector2f GetGutter () const
 
virtual void Allocate ()
 
virtual bool SetChart (const vtkVector2i &position, vtkChart *chart)
 
virtual vtkChartGetChart (const vtkVector2i &position)
 
virtual vtkVector2i GetChartSpan (const vtkVector2i &position)
 
virtual vtkVector2i GetChartIndex (const vtkVector2f &position)
 
virtual void SetBorders (int left, int bottom, int right, int top)
 
void SetBorderLeft (int value)
 
void SetBorderBottom (int value)
 
void SetBorderRight (int value)
 
void SetBorderTop (int value)
 
virtual void GetBorders (int borders[4])
 
virtual void SetGutter (const vtkVector2f &gutter)
 
void SetGutterX (float value)
 
void SetGutterY (float value)
 
virtual bool SetChartSpan (const vtkVector2i &position, const vtkVector2i &span)
 
- Public Member Functions inherited from vtkAbstractContextItem
vtkAbstractContextItemNewInstance () const
 
virtual bool PaintChildren (vtkContext2D *painter)
 
virtual void ReleaseGraphicsResources ()
 
unsigned int AddItem (vtkAbstractContextItem *item)
 
bool RemoveItem (vtkAbstractContextItem *item)
 
bool RemoveItem (unsigned int index)
 
vtkAbstractContextItemGetItem (unsigned int index)
 
unsigned int GetItemIndex (vtkAbstractContextItem *item)
 
unsigned int GetNumberOfItems ()
 
void ClearItems ()
 
unsigned int Raise (unsigned int index)
 
unsigned int Lower (unsigned int index)
 
virtual vtkAbstractContextItemGetPickedItem (const vtkContextMouseEvent &mouse)
 
virtual bool MouseEnterEvent (const vtkContextMouseEvent &mouse)
 
virtual bool MouseLeaveEvent (const vtkContextMouseEvent &mouse)
 
virtual bool MouseDoubleClickEvent (const vtkContextMouseEvent &mouse)
 
virtual bool MouseWheelEvent (const vtkContextMouseEvent &mouse, int delta)
 
virtual bool KeyPressEvent (const vtkContextKeyEvent &key)
 
virtual void SetParent (vtkAbstractContextItem *parent)
 
virtual vtkVector2f MapToParent (const vtkVector2f &point)
 
virtual vtkVector2f MapFromParent (const vtkVector2f &point)
 
virtual vtkVector2f MapToScene (const vtkVector2f &point)
 
virtual vtkVector2f MapFromScene (const vtkVector2f &point)
 
virtual unsigned int StackAbove (unsigned int index, unsigned int under)
 
virtual unsigned int StackUnder (unsigned int child, unsigned int above)
 
virtual bool KeyReleaseEvent (const vtkContextKeyEvent &key)
 
vtkContextSceneGetScene ()
 
vtkAbstractContextItemGetParent ()
 
virtual bool GetVisible ()
 
virtual void SetVisible (bool)
 
virtual bool GetInteractive ()
 
virtual void SetInteractive (bool)
 
- Public Member Functions inherited from vtkObject
vtkObjectNewInstance () const
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual unsigned long GetMTime ()
 
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)
 
template<class U , class T >
unsigned long AddObserver (unsigned long event, U observer, bool(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 &)
 
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 vtkScatterPlotMatrixSafeDownCast (vtkObjectBase *o)
 
static vtkScatterPlotMatrixNew ()
 
- Static Public Member Functions inherited from vtkChartMatrix
static int IsTypeOf (const char *type)
 
static vtkChartMatrixSafeDownCast (vtkObjectBase *o)
 
static vtkChartMatrixNew ()
 
- Static Public Member Functions inherited from vtkAbstractContextItem
static int IsTypeOf (const char *type)
 
static vtkAbstractContextItemSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkObject
static int IsTypeOf (const char *type)
 
static vtkObjectSafeDownCast (vtkObjectBase *o)
 
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static int IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkScatterPlotMatrix ()
 
 ~vtkScatterPlotMatrix ()
 
void UpdateLayout ()
 
void BigChartSelectionCallback (vtkObject *, unsigned long, void *)
 
virtual void UpdateAnimationPath (const vtkVector2i &newActivePos)
 
virtual void StartAnimation (vtkRenderWindowInteractor *interactor)
 
void AttachAxisRangeListener (vtkAxis *)
 
void AxisRangeForwarderCallback (vtkObject *, unsigned long, void *)
 
- Protected Member Functions inherited from vtkChartMatrix
 vtkChartMatrix ()
 
 ~vtkChartMatrix ()
 
- Protected Member Functions inherited from vtkAbstractContextItem
 vtkAbstractContextItem ()
 
 ~vtkAbstractContextItem ()
 
- 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 &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Static Protected Member Functions

static void ProcessEvents (vtkObject *caller, unsigned long event, void *clientData, void *callerData)
 

Protected Attributes

vtkVector2i ActivePlot
 
vtkSmartPointer< vtkTableInput
 
vtkNew< vtkStringArrayVisibleColumns
 
int NumberOfBins
 
vtkStdString Title
 
vtkSmartPointer< vtkTextPropertyTitleProperties
 
int SelectionMode
 
int NumberOfFrames
 
- Protected Attributes inherited from vtkChartMatrix
PIMPL * Private
 
vtkVector2i Size
 
vtkVector2f Gutter
 
int Borders [4]
 
bool LayoutIsDirty
 
- Protected Attributes inherited from vtkAbstractContextItem
vtkContextSceneScene
 
vtkAbstractContextItemParent
 
vtkContextScenePrivateChildren
 
bool Visible
 
bool Interactive
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Friends

class PIMPL
 

Detailed Description

container for a matrix of charts.

This class contains a matrix of charts. These charts will be of type vtkChartXY by default, but this can be overridden. The class will manage their layout and object lifetime.

Tests:
vtkScatterPlotMatrix (Tests)

Definition at line 46 of file vtkScatterPlotMatrix.h.

Member Typedef Documentation

Definition at line 56 of file vtkScatterPlotMatrix.h.

Member Enumeration Documentation

anonymous enum
Enumerator
SCATTERPLOT 
HISTOGRAM 
ACTIVEPLOT 
NOPLOT 

Definition at line 49 of file vtkScatterPlotMatrix.h.

Constructor & Destructor Documentation

vtkScatterPlotMatrix::vtkScatterPlotMatrix ( )
protected
vtkScatterPlotMatrix::~vtkScatterPlotMatrix ( )
protected

Member Function Documentation

static int vtkScatterPlotMatrix::IsTypeOf ( const char *  type)
static
virtual int vtkScatterPlotMatrix::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 vtkChartMatrix.

static vtkScatterPlotMatrix* vtkScatterPlotMatrix::SafeDownCast ( vtkObjectBase o)
static
virtual vtkObjectBase* vtkScatterPlotMatrix::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkChartMatrix.

vtkScatterPlotMatrix* vtkScatterPlotMatrix::NewInstance ( ) const
virtual void vtkScatterPlotMatrix::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 vtkChartMatrix.

static vtkScatterPlotMatrix* vtkScatterPlotMatrix::New ( )
static

Creates a new object.

virtual void vtkScatterPlotMatrix::Update ( )
virtual

Perform any updates to the item that may be necessary before rendering.

Reimplemented from vtkChartMatrix.

virtual bool vtkScatterPlotMatrix::Paint ( vtkContext2D painter)
virtual

Paint event for the chart matrix.

Reimplemented from vtkChartMatrix.

virtual void vtkScatterPlotMatrix::SetScene ( vtkContextScene scene)
virtual

Set the vtkContextScene for the item, always set for an item in a scene.

Reimplemented from vtkAbstractContextItem.

virtual bool vtkScatterPlotMatrix::SetActivePlot ( const vtkVector2i position)
virtual

Set the active plot, the one that will be displayed in the top-right. This defaults to (0, n-2), the plot below the first histogram on the left.

Returns
false is the position specified is not valid.
virtual vtkVector2i vtkScatterPlotMatrix::GetActivePlot ( )
virtual

Get the position of the active plot.

vtkAnnotationLink* vtkScatterPlotMatrix::GetAnnotationLink ( )

Get the AnnotationLink for the scatter plot matrix, this gives you access to the currently selected points in the scatter plot matrix.

virtual void vtkScatterPlotMatrix::SetInput ( vtkTable table)
virtual

Set the input table for the scatter plot matrix. This will cause all columns to be plotted against each other - a square scatter plot matrix.

void vtkScatterPlotMatrix::SetColumnVisibility ( const vtkStdString name,
bool  visible 
)

Set the visibility of the specified column.

void vtkScatterPlotMatrix::InsertVisibleColumn ( const vtkStdString name,
int  index 
)

Insert the specified column at the index position of the visible columns.

bool vtkScatterPlotMatrix::GetColumnVisibility ( const vtkStdString name)

Get the visibility of the specified column.

void vtkScatterPlotMatrix::SetColumnVisibilityAll ( bool  visible)

Set the visibility of all columns (true will make them all visible, false will remove all visible columns).

virtual vtkStringArray* vtkScatterPlotMatrix::GetVisibleColumns ( )
virtual

Get a list of the columns, and the order in which they are displayed.

virtual void vtkScatterPlotMatrix::SetVisibleColumns ( vtkStringArray visColumns)
virtual

Set the list of visible columns, and the order in which they will be displayed.

virtual void vtkScatterPlotMatrix::SetNumberOfBins ( int  numberOfBins)
virtual

Set the number of bins in the histograms along the central diagonal of the scatter plot matrix.

virtual int vtkScatterPlotMatrix::GetNumberOfBins ( ) const
inlinevirtual

Get the number of bins the histograms along the central diagonal scatter plot matrix. The default value is 10.

Definition at line 115 of file vtkScatterPlotMatrix.h.

void vtkScatterPlotMatrix::SetPlotColor ( int  plotType,
const vtkColor4ub color 
)

Set the color for the specified plotType.

void vtkScatterPlotMatrix::SetPlotMarkerStyle ( int  plotType,
int  style 
)

Sets the marker style for the specified plotType.

void vtkScatterPlotMatrix::SetPlotMarkerSize ( int  plotType,
float  size 
)

Sets the marker size for the specified plotType.

bool vtkScatterPlotMatrix::Hit ( const vtkContextMouseEvent mouse)
virtual

Return true if the supplied x, y coordinate is inside the item.

Reimplemented from vtkAbstractContextItem.

bool vtkScatterPlotMatrix::MouseMoveEvent ( const vtkContextMouseEvent mouse)
virtual

Mouse move event.

Reimplemented from vtkAbstractContextItem.

bool vtkScatterPlotMatrix::MouseButtonPressEvent ( const vtkContextMouseEvent mouse)
virtual

Mouse button down event

Reimplemented from vtkAbstractContextItem.

bool vtkScatterPlotMatrix::MouseButtonReleaseEvent ( const vtkContextMouseEvent mouse)
virtual

Mouse button release event.

Reimplemented from vtkAbstractContextItem.

int vtkScatterPlotMatrix::GetPlotType ( const vtkVector2i pos)

Returns the type of the plot at the given position. The return value is one of: SCATTERPLOT, HISTOGRAM, ACTIVEPLOT, or NOPLOT.

int vtkScatterPlotMatrix::GetPlotType ( int  row,
int  column 
)

Returns the type of the plot at the given position. The return value is one of: SCATTERPLOT, HISTOGRAM, ACTIVEPLOT, or NOPLOT.

void vtkScatterPlotMatrix::SetTitle ( const vtkStdString title)

Set/get the scatter plot title.

vtkStdString vtkScatterPlotMatrix::GetTitle ( )

Set/get the scatter plot title.

void vtkScatterPlotMatrix::SetTitleProperties ( vtkTextProperty prop)

Set/get the text properties for the chart title, i.e. color, font, size.

vtkTextProperty* vtkScatterPlotMatrix::GetTitleProperties ( )

Set/get the text properties for the chart title, i.e. color, font, size.

void vtkScatterPlotMatrix::SetGridVisibility ( int  plotType,
bool  visible 
)

Sets whether or not the grid for the given axis is visible given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

bool vtkScatterPlotMatrix::GetGridVisibility ( int  plotType)

Sets whether or not the grid for the given axis is visible given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

void vtkScatterPlotMatrix::SetBackgroundColor ( int  plotType,
const vtkColor4ub color 
)

Sets the background color for the chart given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

vtkColor4ub vtkScatterPlotMatrix::GetBackgroundColor ( int  plotType)

Sets the background color for the chart given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

void vtkScatterPlotMatrix::SetAxisColor ( int  plotType,
const vtkColor4ub color 
)

Sets the color for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

vtkColor4ub vtkScatterPlotMatrix::GetAxisColor ( int  plotType)

Sets the color for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

void vtkScatterPlotMatrix::SetGridColor ( int  plotType,
const vtkColor4ub color 
)

Sets the color for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

vtkColor4ub vtkScatterPlotMatrix::GetGridColor ( int  plotType)

Sets the color for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

void vtkScatterPlotMatrix::SetAxisLabelVisibility ( int  plotType,
bool  visible 
)

Sets whether or not the labels for the axes are visible, given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

bool vtkScatterPlotMatrix::GetAxisLabelVisibility ( int  plotType)

Sets whether or not the labels for the axes are visible, given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

void vtkScatterPlotMatrix::SetAxisLabelProperties ( int  plotType,
vtkTextProperty prop 
)

Set/get the text property for the axis labels of the given plot type, possible types are vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

vtkTextProperty* vtkScatterPlotMatrix::GetAxisLabelProperties ( int  plotType)

Set/get the text property for the axis labels of the given plot type, possible types are vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

void vtkScatterPlotMatrix::SetAxisLabelNotation ( int  plotType,
int  notation 
)

Sets the axis label notation for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

int vtkScatterPlotMatrix::GetAxisLabelNotation ( int  plotType)

Sets the axis label notation for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

void vtkScatterPlotMatrix::SetAxisLabelPrecision ( int  plotType,
int  precision 
)

Sets the axis label precision for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

int vtkScatterPlotMatrix::GetAxisLabelPrecision ( int  plotType)

Sets the axis label precision for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

void vtkScatterPlotMatrix::SetTooltipNotation ( int  plotType,
int  notation 
)

Set chart's tooltip notation and precision, given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

void vtkScatterPlotMatrix::SetTooltipPrecision ( int  plotType,
int  precision 
)

Set chart's tooltip notation and precision, given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

int vtkScatterPlotMatrix::GetTooltipNotation ( int  plotType)

Set chart's tooltip notation and precision, given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

int vtkScatterPlotMatrix::GetTooltipPrecision ( int  plotType)

Set chart's tooltip notation and precision, given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.

void vtkScatterPlotMatrix::SetTooltip ( vtkTooltipItem tooltip)

Set the vtkTooltipItem object that will be displayed by the active chart.

vtkTooltipItem* vtkScatterPlotMatrix::GetTooltip ( ) const

Get the vtkTooltipItem object that will be displayed by the active chart.

void vtkScatterPlotMatrix::SetIndexedLabels ( vtkStringArray labels)

Set indexed labels array.

vtkStringArray* vtkScatterPlotMatrix::GetIndexedLabels ( ) const

Get the indexed labels array.

void vtkScatterPlotMatrix::SetScatterPlotSelectedRowColumnColor ( const vtkColor4ub color)

Set the scatter plot selected row/column charts' background color.

vtkColor4ub vtkScatterPlotMatrix::GetScatterPlotSelectedRowColumnColor ( )

Set the scatter plot selected row/column charts' background color.

void vtkScatterPlotMatrix::SetScatterPlotSelectedActiveColor ( const vtkColor4ub color)

Set the scatter plot selected active chart background color.

vtkColor4ub vtkScatterPlotMatrix::GetScatterPlotSelectedActiveColor ( )

Set the scatter plot selected active chart background color.

void vtkScatterPlotMatrix::UpdateSettings ( )

Convenient method to update all the chart settings

void vtkScatterPlotMatrix::UpdateChartSettings ( int  plotType)

Update charts based on settings given the plot type

virtual void vtkScatterPlotMatrix::SetSelectionMode ( int  )
virtual

Set/get the Selection Mode that will be used by the chart while doing selection. The only valid enums are vtkContextScene::SELECTION_NONE, SELECTION_DEFAULT, SELECTION_ADDITION, SELECTION_SUBTRACTION, SELECTION_TOGGLE

virtual int vtkScatterPlotMatrix::GetSelectionMode ( )
virtual

Set/get the Selection Mode that will be used by the chart while doing selection. The only valid enums are vtkContextScene::SELECTION_NONE, SELECTION_DEFAULT, SELECTION_ADDITION, SELECTION_SUBTRACTION, SELECTION_TOGGLE

vtkStdString vtkScatterPlotMatrix::GetColumnName ( int  column)

Get the column name for the supplied index.

vtkStdString vtkScatterPlotMatrix::GetRowName ( int  row)

Get the column name for the supplied index.

void vtkScatterPlotMatrix::SetNumberOfFrames ( int  frames)

Set the number of animation frames in each transition. Default is 25, and 0 means to animations between axes.

int vtkScatterPlotMatrix::GetNumberOfFrames ( )

Get the number of animation frames in each transition. Default is 25, and 0 means to animations between axes.

void vtkScatterPlotMatrix::ClearAnimationPath ( )

Clear the animation path.

bool vtkScatterPlotMatrix::AddAnimationPath ( const vtkVector2i move)

Add a move to the animation path. Note that a move can only change i or j, not both. If the proposed move does not satisfy those criteria it will be rejected and the animation path will not be extended.

vtkIdType vtkScatterPlotMatrix::GetNumberOfAnimationPathElements ( )

Get the number of elements (transitions) in the animation path.

vtkVector2i vtkScatterPlotMatrix::GetAnimationPathElement ( vtkIdType  i)

Get the element specified from the animation path.

bool vtkScatterPlotMatrix::BeginAnimationPath ( vtkRenderWindowInteractor interactor)

Trigger the animation of the scatter plot matrix to begin.

virtual void vtkScatterPlotMatrix::AdvanceAnimation ( )
virtual

Advance the animation in response to the timer events. This is public to allow the animation to be manually advanced when timers are not a

virtual vtkChart* vtkScatterPlotMatrix::GetMainChart ( )
virtual

Get the main plot (the one in the top-right of the matrix.

void vtkScatterPlotMatrix::UpdateLayout ( )
protected

Internal helper to do the layout of the charts in the scatter plot matrix.

void vtkScatterPlotMatrix::AttachAxisRangeListener ( vtkAxis )
protected

Attach axis range listener so we can forward to dependent axes in matrix.

void vtkScatterPlotMatrix::AxisRangeForwarderCallback ( vtkObject ,
unsigned  long,
void *   
)
protected

Attach axis range listener so we can forward to dependent axes in matrix.

void vtkScatterPlotMatrix::BigChartSelectionCallback ( vtkObject ,
unsigned  long,
void *   
)
protected

The callback function when SelectionChangedEvent is invoked from the Big chart. This class will just forward the event.

virtual void vtkScatterPlotMatrix::UpdateAnimationPath ( const vtkVector2i newActivePos)
protectedvirtual

Given a new position for the active plot, calculate a an animation path from the old active plot to the new active plot.

virtual void vtkScatterPlotMatrix::StartAnimation ( vtkRenderWindowInteractor interactor)
protectedvirtual

Given the render window interactor, start animation of the animation path calculated above.

static void vtkScatterPlotMatrix::ProcessEvents ( vtkObject caller,
unsigned long  event,
void *  clientData,
void *  callerData 
)
staticprotected

Process events and dispatch to the appropriate member functions.

Friends And Related Function Documentation

friend class PIMPL
friend

Definition at line 366 of file vtkScatterPlotMatrix.h.

Member Data Documentation

vtkVector2i vtkScatterPlotMatrix::ActivePlot
protected

Definition at line 339 of file vtkScatterPlotMatrix.h.

vtkSmartPointer<vtkTable> vtkScatterPlotMatrix::Input
protected

Definition at line 342 of file vtkScatterPlotMatrix.h.

vtkNew<vtkStringArray> vtkScatterPlotMatrix::VisibleColumns
protected

Definition at line 345 of file vtkScatterPlotMatrix.h.

int vtkScatterPlotMatrix::NumberOfBins
protected

Definition at line 348 of file vtkScatterPlotMatrix.h.

vtkStdString vtkScatterPlotMatrix::Title
protected

Definition at line 351 of file vtkScatterPlotMatrix.h.

vtkSmartPointer<vtkTextProperty> vtkScatterPlotMatrix::TitleProperties
protected

Definition at line 352 of file vtkScatterPlotMatrix.h.

int vtkScatterPlotMatrix::SelectionMode
protected

Definition at line 355 of file vtkScatterPlotMatrix.h.

int vtkScatterPlotMatrix::NumberOfFrames
protected

Definition at line 358 of file vtkScatterPlotMatrix.h.


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