#include <vtkQtTableRepresentation.h>
This class is a wrapper around vtkQtTableModelAdapter. It performs the following functions:
The user must supply the following items:
Definition at line 63 of file vtkQtTableRepresentation.h.
Public Types | |
typedef vtkDataRepresentation | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetColorTable (vtkLookupTable *t) |
virtual vtkLookupTable * | GetColorTable () |
void | SetKeyColumn (const char *col) |
char * | GetKeyColumn () |
virtual void | SetFirstDataColumn (const char *) |
virtual char * | GetFirstDataColumn () |
virtual void | SetLastDataColumn (const char *) |
virtual char * | GetLastDataColumn () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkQtTableRepresentation * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkQtTableRepresentation () | |
~vtkQtTableRepresentation () | |
void | UpdateTable () |
virtual void | SetKeyColumnInternal (const char *) |
virtual char * | GetKeyColumnInternal () |
virtual void | ResetModel () |
virtual void | CreateSeriesColors () |
virtual void | SetModelType () |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Protected Attributes | |
vtkQtTableModelAdapter * | ModelAdapter |
vtkLookupTable * | ColorTable |
vtkDoubleArray * | SeriesColors |
char * | KeyColumnInternal |
char * | FirstDataColumn |
char * | LastDataColumn |
Reimplemented from vtkDataRepresentation.
Reimplemented in vtkQtChartRepresentation.
Definition at line 66 of file vtkQtTableRepresentation.h.
vtkQtTableRepresentation::vtkQtTableRepresentation | ( | ) | [protected] |
vtkQtTableRepresentation::~vtkQtTableRepresentation | ( | ) | [protected] |
virtual const char* vtkQtTableRepresentation::GetClassName | ( | ) | [virtual] |
static int vtkQtTableRepresentation::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 vtkDataRepresentation.
Reimplemented in vtkQtChartRepresentation.
virtual int vtkQtTableRepresentation::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 vtkDataRepresentation.
Reimplemented in vtkQtChartRepresentation.
static vtkQtTableRepresentation* vtkQtTableRepresentation::SafeDownCast | ( | vtkObject * | o | ) | [static] |
void vtkQtTableRepresentation::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 vtkDataRepresentation.
Reimplemented in vtkQtChartRepresentation.
void vtkQtTableRepresentation::SetColorTable | ( | vtkLookupTable * | t | ) |
Set/get the lookup table that will be used to determine colors for each series. The table's range should be [0, 1).
virtual vtkLookupTable* vtkQtTableRepresentation::GetColorTable | ( | ) | [virtual] |
Set/get the lookup table that will be used to determine colors for each series. The table's range should be [0, 1).
void vtkQtTableRepresentation::SetKeyColumn | ( | const char * | col | ) |
Set/get the name of the column that contains series names. This must be called BEFORE the representation is added to a view.
char* vtkQtTableRepresentation::GetKeyColumn | ( | ) |
Set/get the name of the column that contains series names. This must be called BEFORE the representation is added to a view.
virtual void vtkQtTableRepresentation::SetFirstDataColumn | ( | const char * | ) | [virtual] |
Set/get the name of the first data column. This must be called BEFORE the representation is added to a view.
virtual char* vtkQtTableRepresentation::GetFirstDataColumn | ( | ) | [virtual] |
Set/get the name of the first data column. This must be called BEFORE the representation is added to a view.
virtual void vtkQtTableRepresentation::SetLastDataColumn | ( | const char * | ) | [virtual] |
Set/get the name of the last data column. This must be called BEFORE the representation is added to a view.
virtual char* vtkQtTableRepresentation::GetLastDataColumn | ( | ) | [virtual] |
Set/get the name of the last data column. This must be called BEFORE the representation is added to a view.
void vtkQtTableRepresentation::UpdateTable | ( | ) | [protected] |
Update the table representation
virtual void vtkQtTableRepresentation::SetKeyColumnInternal | ( | const char * | ) | [protected, virtual] |
virtual char* vtkQtTableRepresentation::GetKeyColumnInternal | ( | ) | [protected, virtual] |
virtual int vtkQtTableRepresentation::RequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
Prepare the input connections to this representation.
Reimplemented from vtkDataRepresentation.
virtual void vtkQtTableRepresentation::ResetModel | ( | ) | [protected, virtual] |
virtual void vtkQtTableRepresentation::CreateSeriesColors | ( | ) | [protected, virtual] |
virtual void vtkQtTableRepresentation::SetModelType | ( | ) | [inline, protected, virtual] |
This should set the model type to DATA, METADATA or FULL depending on what you want.
Definition at line 127 of file vtkQtTableRepresentation.h.
Definition at line 105 of file vtkQtTableRepresentation.h.
vtkLookupTable* vtkQtTableRepresentation::ColorTable [protected] |
Definition at line 109 of file vtkQtTableRepresentation.h.
vtkDoubleArray* vtkQtTableRepresentation::SeriesColors [protected] |
Definition at line 110 of file vtkQtTableRepresentation.h.
char* vtkQtTableRepresentation::KeyColumnInternal [protected] |
Definition at line 111 of file vtkQtTableRepresentation.h.
char* vtkQtTableRepresentation::FirstDataColumn [protected] |
Definition at line 112 of file vtkQtTableRepresentation.h.
char* vtkQtTableRepresentation::LastDataColumn [protected] |
Definition at line 113 of file vtkQtTableRepresentation.h.