#include <vtkQtChartRepresentation.h>
This is a specialization of vtkQtTableRepresentation to put the data into a vtkQtChartView.
Definition at line 40 of file vtkQtChartRepresentation.h.
Public Types | |
typedef vtkQtTableRepresentation | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkQtChartTableSeriesModel * | GetSeriesModel () |
int | GetNumberOfSeries () |
const char * | GetSeriesName (int series) |
void | SetOptionsModel (vtkQtChartSeriesOptionsModel *) |
vtkQtChartSeriesOptionsModel * | GetOptionsModel () |
void | SetColumnsAsSeries (bool) |
virtual int | GetColumnsAsSeries () |
Static Public Member Functions | |
static vtkQtChartRepresentation * | New () |
static int | IsTypeOf (const char *type) |
static vtkQtChartRepresentation * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkQtChartRepresentation () | |
~vtkQtChartRepresentation () | |
bool | AddToView (vtkView *view) |
bool | RemoveFromView (vtkView *view) |
Protected Attributes | |
bool | ColumnsAsSeries |
Reimplemented from vtkQtTableRepresentation.
Definition at line 44 of file vtkQtChartRepresentation.h.
vtkQtChartRepresentation::vtkQtChartRepresentation | ( | ) | [protected] |
vtkQtChartRepresentation::~vtkQtChartRepresentation | ( | ) | [protected] |
static vtkQtChartRepresentation* vtkQtChartRepresentation::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataRepresentation.
virtual const char* vtkQtChartRepresentation::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkQtTableRepresentation.
static int vtkQtChartRepresentation::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 vtkQtTableRepresentation.
virtual int vtkQtChartRepresentation::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 vtkQtTableRepresentation.
static vtkQtChartRepresentation* vtkQtChartRepresentation::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkQtTableRepresentation.
void vtkQtChartRepresentation::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 vtkQtTableRepresentation.
vtkQtChartTableSeriesModel* vtkQtChartRepresentation::GetSeriesModel | ( | ) |
Return the series model for this table representation
void vtkQtChartRepresentation::SetOptionsModel | ( | vtkQtChartSeriesOptionsModel * | ) |
Get/Set the series options model. By default, vtkQtChartBasicSeriesOptionsModel will be used. The series options model must be changed before the representation is added to a view.
vtkQtChartSeriesOptionsModel* vtkQtChartRepresentation::GetOptionsModel | ( | ) |
Get/Set the series options model. By default, vtkQtChartBasicSeriesOptionsModel will be used. The series options model must be changed before the representation is added to a view.
int vtkQtChartRepresentation::GetNumberOfSeries | ( | ) |
Return the number of series. This is equivalent to this->GetSeriesModel()->getNumberOfSeries().
const char* vtkQtChartRepresentation::GetSeriesName | ( | int | series | ) |
Return the name of the series. The returned const char may be null if the series index is out of range. The returned const char is only valid until the next call to GetSeriesName.
void vtkQtChartRepresentation::SetColumnsAsSeries | ( | bool | ) |
Orients the table as being either columns-as-series or rows-as-series oriented.
virtual int vtkQtChartRepresentation::GetColumnsAsSeries | ( | ) | [virtual] |
Orients the table as being either columns-as-series or rows-as-series oriented.
bool vtkQtChartRepresentation::AddToView | ( | vtkView * | view | ) | [protected] |
Adds the representation to the view. This is called from vtkView::AddRepresentation().
bool vtkQtChartRepresentation::RemoveFromView | ( | vtkView * | view | ) | [protected] |
Removes the representation to the view. This is called from vtkView::RemoveRepresentation().
bool vtkQtChartRepresentation::ColumnsAsSeries [protected] |
Definition at line 89 of file vtkQtChartRepresentation.h.