#include <vtkQtChartViewBase.h>
vtkQtChartViewBase is a vtkView which wraps an instance of vtkQtChartArea. This view expects vtkQtChartTableRepresentation instances as its representation.
Definition at line 44 of file vtkQtChartViewBase.h.
Public Types | |
typedef vtkView | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Update () |
virtual void | Render () |
void | Show () |
void | AddTableToView (vtkTable *table) |
void | SetTitle (const char *title) |
void | SetTitleFont (const char *family, int pointSize, bool bold, bool italic) |
void | SetTitleColor (double red, double green, double blue) |
void | SetTitleAlignment (int alignment) |
void | SetAxisTitle (int index, const char *title) |
void | SetAxisTitleColor (int index, double red, double green, double blue) |
void | SetAxisTitleAlignment (int index, int alignment) |
void | SetLegendVisibility (bool visible) |
void | SetLegendLocation (int location) |
void | SetLegendFlow (int flow) |
void | SetAxisVisibility (int index, bool visible) |
void | SetAxisColor (int index, double red, double green, double blue) |
void | SetGridVisibility (int index, bool visible) |
void | SetGridColorType (int index, int gridColorType) |
void | SetGridColor (int index, double red, double green, double blue) |
void | SetAxisLabelVisibility (int index, bool visible) |
void | SetAxisLabelColor (int index, double red, double green, double blue) |
void | SetAxisLabelNotation (int index, int notation) |
void | SetAxisLabelPrecision (int index, int precision) |
void | SetAxisScale (int index, int scale) |
void | SetAxisBehavior (int index, int behavior) |
void | SetAxisRange (int index, double minimum, double maximum) |
void | SetAxisRange (int index, int minimum, int maximum) |
virtual void | AddChartSelectionHandlers (vtkQtChartMouseSelection *selector) |
vtkQtChartWidget * | GetChartWidget () |
vtkQtChartArea * | GetChartArea () |
vtkQtChartAxis * | GetAxis (int index) |
virtual vtkQtChartSeriesModelCollection * | GetChartSeriesModel () |
virtual void | SetupDefaultInteractor () |
void | SetAxisTitleFont (int index, const char *family, int pointSize, bool bold, bool italic) |
void | SetAxisLabelFont (int index, const char *family, int pointSize, bool bold, bool italic) |
vtkQtChartLegend * | GetLegend () |
void | SetColorSchemeToSpectrum () |
void | SetColorSchemeToWarm () |
void | SetColorSchemeToCool () |
void | SetColorSchemeToBlues () |
void | SetColorSchemeToWildFlower () |
void | SetColorSchemeToCitrus () |
Static Public Member Functions | |
static vtkQtChartViewBase * | New () |
static int | IsTypeOf (const char *type) |
static vtkQtChartViewBase * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
virtual vtkDataRepresentation * | CreateDefaultRepresentation (vtkAlgorithmOutput *conn) |
vtkQtChartViewBase () | |
~vtkQtChartViewBase () |
Reimplemented from vtkView.
Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.
Definition at line 48 of file vtkQtChartViewBase.h.
vtkQtChartViewBase::vtkQtChartViewBase | ( | ) | [protected] |
vtkQtChartViewBase::~vtkQtChartViewBase | ( | ) | [protected] |
static vtkQtChartViewBase* vtkQtChartViewBase::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkView.
Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.
virtual const char* vtkQtChartViewBase::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkView.
Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.
static int vtkQtChartViewBase::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkView.
Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.
virtual int vtkQtChartViewBase::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkView.
Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.
static vtkQtChartViewBase* vtkQtChartViewBase::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkView.
Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.
void vtkQtChartViewBase::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 vtkView.
Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.
virtual void vtkQtChartViewBase::Update | ( | ) | [virtual] |
Updates the view.
Reimplemented from vtkView.
Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.
virtual void vtkQtChartViewBase::Render | ( | ) | [virtual] |
Updates representations and then repaints the chart widget.
void vtkQtChartViewBase::Show | ( | ) |
Calls show() on the chart widget.
void vtkQtChartViewBase::AddTableToView | ( | vtkTable * | table | ) |
A convenience method to add a table to the chart view. This is here for now to work around a python wrapping bug.
void vtkQtChartViewBase::SetTitle | ( | const char * | title | ) |
Set the chart's title.
void vtkQtChartViewBase::SetTitleFont | ( | const char * | family, | |
int | pointSize, | |||
bool | bold, | |||
bool | italic | |||
) |
Set the chart title's font.
void vtkQtChartViewBase::SetTitleColor | ( | double | red, | |
double | green, | |||
double | blue | |||
) |
Set the chart title's color.
void vtkQtChartViewBase::SetTitleAlignment | ( | int | alignment | ) |
Set the chart title's alignment.
void vtkQtChartViewBase::SetAxisTitle | ( | int | index, | |
const char * | title | |||
) |
Set the chart axis title for the given index.
void vtkQtChartViewBase::SetAxisTitleFont | ( | int | index, | |
const char * | family, | |||
int | pointSize, | |||
bool | bold, | |||
bool | italic | |||
) |
Set the chart axis title's font for the given index.
void vtkQtChartViewBase::SetAxisTitleColor | ( | int | index, | |
double | red, | |||
double | green, | |||
double | blue | |||
) |
Set the chart axis title's color for the given index.
void vtkQtChartViewBase::SetAxisTitleAlignment | ( | int | index, | |
int | alignment | |||
) |
Set the chart axis title's alignment for the given index.
void vtkQtChartViewBase::SetLegendVisibility | ( | bool | visible | ) |
Sets whether or not the chart legend is visible.
void vtkQtChartViewBase::SetLegendLocation | ( | int | location | ) |
Sets the legend location.
void vtkQtChartViewBase::SetLegendFlow | ( | int | flow | ) |
Sets the legend flow.
void vtkQtChartViewBase::SetAxisVisibility | ( | int | index, | |
bool | visible | |||
) |
Sets whether or not the given axis is visible.
void vtkQtChartViewBase::SetAxisColor | ( | int | index, | |
double | red, | |||
double | green, | |||
double | blue | |||
) |
Sets the color for the given axis.
void vtkQtChartViewBase::SetGridVisibility | ( | int | index, | |
bool | visible | |||
) |
Sets whether or not the grid for the given axis is visible.
void vtkQtChartViewBase::SetGridColorType | ( | int | index, | |
int | gridColorType | |||
) |
Sets the grid color type for the given axis.
void vtkQtChartViewBase::SetGridColor | ( | int | index, | |
double | red, | |||
double | green, | |||
double | blue | |||
) |
Sets the grid color for the given axis.
void vtkQtChartViewBase::SetAxisLabelVisibility | ( | int | index, | |
bool | visible | |||
) |
Sets whether or not the labels for the given axis are visible.
void vtkQtChartViewBase::SetAxisLabelFont | ( | int | index, | |
const char * | family, | |||
int | pointSize, | |||
bool | bold, | |||
bool | italic | |||
) |
Set the axis label font for the given axis.
void vtkQtChartViewBase::SetAxisLabelColor | ( | int | index, | |
double | red, | |||
double | green, | |||
double | blue | |||
) |
Sets the axis label color for the given axis.
void vtkQtChartViewBase::SetAxisLabelNotation | ( | int | index, | |
int | notation | |||
) |
Sets the axis label notation for the given axis.
void vtkQtChartViewBase::SetAxisLabelPrecision | ( | int | index, | |
int | precision | |||
) |
Sets the axis label precision for the given axis.
void vtkQtChartViewBase::SetAxisScale | ( | int | index, | |
int | scale | |||
) |
Sets the scale for the given axis (Linear or Logarithmic).
void vtkQtChartViewBase::SetAxisBehavior | ( | int | index, | |
int | behavior | |||
) |
Sets the behavior for the given axis.
void vtkQtChartViewBase::SetAxisRange | ( | int | index, | |
double | minimum, | |||
double | maximum | |||
) |
Sets the best fir range for the given axis.
void vtkQtChartViewBase::SetAxisRange | ( | int | index, | |
int | minimum, | |||
int | maximum | |||
) |
Sets the best fir range for the given axis.
virtual void vtkQtChartViewBase::AddChartSelectionHandlers | ( | vtkQtChartMouseSelection * | selector | ) | [virtual] |
Adds chart layer selection handlers to the mouse selection.
Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.
vtkQtChartWidget* vtkQtChartViewBase::GetChartWidget | ( | ) |
Gets the chart widget, this is the main widget to display.
vtkQtChartArea* vtkQtChartViewBase::GetChartArea | ( | ) |
Gets the chart area from the chart widget. This method is equivalent to GetChartWidget()->getChartArea().
vtkQtChartAxis* vtkQtChartViewBase::GetAxis | ( | int | index | ) |
Gets the chart axis for the given index.
virtual vtkQtChartSeriesModelCollection* vtkQtChartViewBase::GetChartSeriesModel | ( | ) | [virtual] |
Gets the chart series model.
Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.
vtkQtChartLegend* vtkQtChartViewBase::GetLegend | ( | ) |
Gets the chart legend widget.
virtual void vtkQtChartViewBase::SetupDefaultInteractor | ( | ) | [virtual] |
Sets up the default interactor.
void vtkQtChartViewBase::SetColorSchemeToSpectrum | ( | ) |
Set color scheme methods
void vtkQtChartViewBase::SetColorSchemeToWarm | ( | ) |
Set color scheme methods
void vtkQtChartViewBase::SetColorSchemeToCool | ( | ) |
Set color scheme methods
void vtkQtChartViewBase::SetColorSchemeToBlues | ( | ) |
Set color scheme methods
void vtkQtChartViewBase::SetColorSchemeToWildFlower | ( | ) |
Set color scheme methods
void vtkQtChartViewBase::SetColorSchemeToCitrus | ( | ) |
Set color scheme methods
virtual vtkDataRepresentation* vtkQtChartViewBase::CreateDefaultRepresentation | ( | vtkAlgorithmOutput * | conn | ) | [protected, virtual] |
Create a vtkQtChartRepresentation for the given input connection.
Reimplemented from vtkView.