VTK
|
set up a vtkTable in a Qt model More...
#include <vtkQtTableRepresentation.h>
set up a vtkTable in a Qt model
This class is a wrapper around vtkQtTableModelAdapter. It performs the following functions:
The user must supply the following items:
Definition at line 64 of file vtkQtTableRepresentation.h.
Reimplemented from vtkDataRepresentation.
Definition at line 67 of file vtkQtTableRepresentation.h.
vtkQtTableRepresentation::vtkQtTableRepresentation | ( | ) | [protected] |
vtkQtTableRepresentation::~vtkQtTableRepresentation | ( | ) | [protected] |
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.
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.
static vtkQtTableRepresentation* vtkQtTableRepresentation::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkDataRepresentation.
virtual vtkObjectBase* vtkQtTableRepresentation::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkDataRepresentation.
Reimplemented from vtkDataRepresentation.
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.
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 128 of file vtkQtTableRepresentation.h.
Definition at line 106 of file vtkQtTableRepresentation.h.
vtkLookupTable* vtkQtTableRepresentation::ColorTable [protected] |
Definition at line 110 of file vtkQtTableRepresentation.h.
vtkDoubleArray* vtkQtTableRepresentation::SeriesColors [protected] |
Definition at line 111 of file vtkQtTableRepresentation.h.
char* vtkQtTableRepresentation::KeyColumnInternal [protected] |
Definition at line 112 of file vtkQtTableRepresentation.h.
char* vtkQtTableRepresentation::FirstDataColumn [protected] |
Definition at line 113 of file vtkQtTableRepresentation.h.
char* vtkQtTableRepresentation::LastDataColumn [protected] |
Definition at line 114 of file vtkQtTableRepresentation.h.