vtkQtChartRepresentation Class Reference

#include <vtkQtChartRepresentation.h>

Inheritance diagram for vtkQtChartRepresentation:

Inheritance graph
[legend]
Collaboration diagram for vtkQtChartRepresentation:

Collaboration graph
[legend]

List of all members.


Detailed Description

A representation for displaying a vtkTable in a vtkQtChartView.

This is a specialization of vtkQtTableRepresentation to put the data into a vtkQtChartView.

Tests:
vtkQtChartRepresentation (Tests)

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)
vtkQtChartTableSeriesModelGetSeriesModel ()
int GetNumberOfSeries ()
const char * GetSeriesName (int series)
void SetOptionsModel (vtkQtChartSeriesOptionsModel *)
vtkQtChartSeriesOptionsModelGetOptionsModel ()
void SetColumnsAsSeries (bool)
virtual int GetColumnsAsSeries ()

Static Public Member Functions

static vtkQtChartRepresentationNew ()
static int IsTypeOf (const char *type)
static vtkQtChartRepresentationSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkQtChartRepresentation ()
 ~vtkQtChartRepresentation ()
bool AddToView (vtkView *view)
bool RemoveFromView (vtkView *view)

Protected Attributes

bool ColumnsAsSeries

Member Typedef Documentation

Reimplemented from vtkQtTableRepresentation.

Definition at line 44 of file vtkQtChartRepresentation.h.


Constructor & Destructor Documentation

vtkQtChartRepresentation::vtkQtChartRepresentation (  )  [protected]

vtkQtChartRepresentation::~vtkQtChartRepresentation (  )  [protected]


Member Function Documentation

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().


Member Data Documentation

Definition at line 89 of file vtkQtChartRepresentation.h.


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

Generated on Mon Sep 27 18:44:33 2010 for VTK by  doxygen 1.5.6