set up a vtkTable in a Qt model More...
#include <vtkQtTableRepresentation.h>
Public Types | |
| typedef vtkDataRepresentation | Superclass |
Public Types inherited from vtkDataRepresentation | |
| typedef vtkPassInputTypeAlgorithm | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkQtTableRepresentation * | NewInstance () const |
| 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 () |
Public Member Functions inherited from vtkDataRepresentation | |
| vtkDataRepresentation * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | ApplyViewTheme (vtkViewTheme *vtkNotUsed(theme)) |
| virtual vtkSelection * | ConvertSelection (vtkView *view, vtkSelection *selection) |
| vtkAlgorithmOutput * | GetInputConnection (int port=0, int index=0) |
| vtkAnnotationLink * | GetAnnotationLink () |
| void | SetAnnotationLink (vtkAnnotationLink *link) |
| void | Select (vtkView *view, vtkSelection *selection) |
| void | Select (vtkView *view, vtkSelection *selection, bool extend) |
| void | Annotate (vtkView *view, vtkAnnotationLayers *annotations) |
| void | Annotate (vtkView *view, vtkAnnotationLayers *annotations, bool extend) |
| virtual void | SetSelectable (bool) |
| virtual bool | GetSelectable () |
| virtual void | SelectableOn () |
| virtual void | SelectableOff () |
| void | UpdateSelection (vtkSelection *selection) |
| void | UpdateSelection (vtkSelection *selection, bool extend) |
| void | UpdateAnnotations (vtkAnnotationLayers *annotations) |
| void | UpdateAnnotations (vtkAnnotationLayers *annotations, bool extend) |
| virtual vtkAlgorithmOutput * | GetInternalAnnotationOutputPort () |
| virtual vtkAlgorithmOutput * | GetInternalAnnotationOutputPort (int port) |
| virtual vtkAlgorithmOutput * | GetInternalAnnotationOutputPort (int port, int conn) |
| virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort () |
| virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort (int port) |
| virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort (int port, int conn) |
| virtual vtkAlgorithmOutput * | GetInternalOutputPort () |
| virtual vtkAlgorithmOutput * | GetInternalOutputPort (int port) |
| virtual vtkAlgorithmOutput * | GetInternalOutputPort (int port, int conn) |
| virtual void | SetSelectionType (int) |
| virtual int | GetSelectionType () |
| virtual void | SetSelectionArrayNames (vtkStringArray *names) |
| virtual vtkStringArray * | GetSelectionArrayNames () |
| virtual void | SetSelectionArrayName (const char *name) |
| virtual const char * | GetSelectionArrayName () |
Static Public Member Functions | |
| static int | IsTypeOf (const char *type) |
| static vtkQtTableRepresentation * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkDataRepresentation | |
| static vtkDataRepresentation * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkDataRepresentation * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| 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 Member Functions inherited from vtkDataRepresentation | |
| vtkDataRepresentation () | |
| ~vtkDataRepresentation () | |
| virtual void | ProcessEvents (vtkObject *caller, unsigned long eventId, void *callData) |
| virtual bool | AddToView (vtkView *vtkNotUsed(view)) |
| virtual bool | RemoveFromView (vtkView *vtkNotUsed(view)) |
| virtual vtkAnnotationLayers * | ConvertAnnotations (vtkView *view, vtkAnnotationLayers *annotations) |
| vtkTrivialProducer * | GetInternalInput (int port, int conn) |
| void | SetInternalInput (int port, int conn, vtkTrivialProducer *producer) |
| virtual void | SetAnnotationLinkInternal (vtkAnnotationLink *link) |
Protected Attributes | |
| vtkQtTableModelAdapter * | ModelAdapter |
| vtkLookupTable * | ColorTable |
| vtkDoubleArray * | SeriesColors |
| char * | KeyColumnInternal |
| char * | FirstDataColumn |
| char * | LastDataColumn |
Protected Attributes inherited from vtkDataRepresentation | |
| bool | Selectable |
| int | SelectionType |
| vtkStringArray * | SelectionArrayNames |
| Command * | Observer |
| vtkAnnotationLink * | AnnotationLinkInternal |
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.
Definition at line 67 of file vtkQtTableRepresentation.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkDataRepresentation.
|
static |
|
protectedvirtual |
Reimplemented from vtkDataRepresentation.
| vtkQtTableRepresentation* vtkQtTableRepresentation::NewInstance | ( | ) | const |
| void vtkQtTableRepresentation::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
| 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 |
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 |
Set/get the name of the first data column. This must be called BEFORE the representation is added to a view.
|
virtual |
Set/get the name of the first data column. This must be called BEFORE the representation is added to a view.
|
virtual |
Set/get the name of the last data column. This must be called BEFORE the representation is added to a view.
|
virtual |
Set/get the name of the last data column. This must be called BEFORE the representation is added to a view.
|
protected |
Update the table representation
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Prepare the input connections to this representation.
Reimplemented from vtkDataRepresentation.
|
protectedvirtual |
|
protectedvirtual |
|
inlineprotectedvirtual |
This should set the model type to DATA, METADATA or FULL depending on what you want.
Definition at line 128 of file vtkQtTableRepresentation.h.
|
protected |
Definition at line 106 of file vtkQtTableRepresentation.h.
|
protected |
Definition at line 110 of file vtkQtTableRepresentation.h.
|
protected |
Definition at line 111 of file vtkQtTableRepresentation.h.
|
protected |
Definition at line 112 of file vtkQtTableRepresentation.h.
|
protected |
Definition at line 113 of file vtkQtTableRepresentation.h.
|
protected |
Definition at line 114 of file vtkQtTableRepresentation.h.
1.8.6