VTK
|
container for a matrix of charts. More...
#include <vtkScatterPlotMatrix.h>
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.
Definition at line 44 of file vtkScatterPlotMatrix.h.
Reimplemented from vtkChartMatrix.
Definition at line 54 of file vtkScatterPlotMatrix.h.
anonymous enum |
Definition at line 47 of file vtkScatterPlotMatrix.h.
vtkScatterPlotMatrix::vtkScatterPlotMatrix | ( | ) | [protected] |
vtkScatterPlotMatrix::~vtkScatterPlotMatrix | ( | ) | [protected] |
virtual const char* vtkScatterPlotMatrix::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkChartMatrix.
static int vtkScatterPlotMatrix::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 vtkChartMatrix.
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 | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkChartMatrix.
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.
Reimplemented from vtkChartMatrix.
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 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.
virtual vtkVector2i vtkScatterPlotMatrix::GetActivePlot | ( | ) | [virtual] |
Get the position of the active plot.
vtkAnnotationLink* vtkScatterPlotMatrix::GetActiveAnnotationLink | ( | ) |
Get the active AnnotationLink from the big chart, which is the only active AnnotationLink in the matrix.
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 [inline, virtual] |
Get the number of bins the histograms along the central diagonal scatter plot matrix. The default value is 10.
Definition at line 116 of file vtkScatterPlotMatrix.h.
void vtkScatterPlotMatrix::SetPlotColor | ( | int | plotType, |
const vtkColor4ub & | color | ||
) |
Set the color for the specified plotType.
Sets the marker style for the specified plotType.
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.
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}.
Sets the axis label notation for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.
Sets the axis label notation for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.
Sets the axis label precision for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.
Sets the axis label precision for the axes given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.
Set chart's tooltip notation and precision, given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.
Set chart's tooltip notation and precision, given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.
Set chart's tooltip notation and precision, given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.
Set chart's tooltip notation and precision, given a plot type, which refers to vtkScatterPlotMatrix::{SCATTERPLOT, HISTOGRAM, ACTIVEPLOT}.
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
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 | ) | [protected, virtual] |
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 | ) | [protected, virtual] |
Given the render window interactor, start animation of the animation path calculated above.
PIMPL* vtkScatterPlotMatrix::Private [protected] |
Reimplemented from vtkChartMatrix.
Definition at line 281 of file vtkScatterPlotMatrix.h.
vtkVector2i vtkScatterPlotMatrix::ActivePlot [protected] |
Definition at line 285 of file vtkScatterPlotMatrix.h.
vtkSmartPointer<vtkTable> vtkScatterPlotMatrix::Input [protected] |
Definition at line 288 of file vtkScatterPlotMatrix.h.
vtkNew<vtkStringArray> vtkScatterPlotMatrix::VisibleColumns [protected] |
Definition at line 291 of file vtkScatterPlotMatrix.h.
int vtkScatterPlotMatrix::NumberOfBins [protected] |
Definition at line 294 of file vtkScatterPlotMatrix.h.
vtkStdString vtkScatterPlotMatrix::Title [protected] |
Definition at line 297 of file vtkScatterPlotMatrix.h.
Definition at line 298 of file vtkScatterPlotMatrix.h.
int vtkScatterPlotMatrix::SelectionMode [protected] |
Definition at line 301 of file vtkScatterPlotMatrix.h.