vtkQtTableRepresentation Class Reference

#include <vtkQtTableRepresentation.h>

Inheritance diagram for vtkQtTableRepresentation:

Inheritance graph
[legend]
Collaboration diagram for vtkQtTableRepresentation:

Collaboration graph
[legend]

List of all members.


Detailed Description

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:

Note that this is an abstract class. You really want to use vtkQtTableDataRepresentation or vtkQtTableMetadataRepresentation instead.

Definition at line 62 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)
virtual void SetInputConnection (vtkAlgorithmOutput *conn)
virtual void Update ()
void SetColorTable (vtkLookupTable *t)
virtual vtkLookupTableGetColorTable ()
void SetKeyColumn (const char *col)
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 vtkQtTableRepresentationSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkQtTableRepresentation ()
 ~vtkQtTableRepresentation ()
virtual void SetKeyColumnInternal (const char *)
virtual char * GetKeyColumnInternal ()
virtual void ResetModel ()
virtual void CreateSeriesColors ()
virtual void SetModelType ()

Protected Attributes

vtkQtTableModelAdapterModelAdapter
vtkLookupTableColorTable
vtkDoubleArraySeriesColors
char * KeyColumnInternal
char * FirstDataColumn
char * LastDataColumn

Member Typedef Documentation


Constructor & Destructor Documentation

vtkQtTableRepresentation::vtkQtTableRepresentation (  )  [protected]

vtkQtTableRepresentation::~vtkQtTableRepresentation (  )  [protected]


Member Function Documentation

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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataRepresentation.

Reimplemented in vtkQtChartRepresentation, vtkQtChartTableRepresentation, vtkQtTableDataRepresentation, and vtkQtTableMetadataRepresentation.

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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataRepresentation.

Reimplemented in vtkQtChartRepresentation, vtkQtChartTableRepresentation, vtkQtTableDataRepresentation, and vtkQtTableMetadataRepresentation.

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, vtkQtChartTableRepresentation, vtkQtTableDataRepresentation, and vtkQtTableMetadataRepresentation.

virtual void vtkQtTableRepresentation::SetInputConnection ( vtkAlgorithmOutput conn  )  [virtual]

Hand in a connection to a vtkTable. NOTE: This must be called BEFORE the representation is added to a view or strange things may happen, including segfaults.

Reimplemented from vtkDataRepresentation.

Reimplemented in vtkQtChartRepresentation, and vtkQtTableMetadataRepresentation.

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. vtkSetStringMacro(KeyColumn);

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.

virtual void vtkQtTableRepresentation::Update (  )  [virtual]

Update the table representation

Reimplemented in vtkQtChartRepresentation.

virtual void vtkQtTableRepresentation::SetKeyColumnInternal ( const char *   )  [protected, virtual]

virtual char* vtkQtTableRepresentation::GetKeyColumnInternal (  )  [protected, virtual]

virtual void vtkQtTableRepresentation::ResetModel (  )  [protected, virtual]

virtual void vtkQtTableRepresentation::CreateSeriesColors (  )  [protected, virtual]

Reimplemented in vtkQtChartRepresentation.

virtual void vtkQtTableRepresentation::SetModelType (  )  [inline, protected, virtual]

This should set the model type to DATA, METADATA or FULL depending on what you want.

Reimplemented in vtkQtTableDataRepresentation, and vtkQtTableMetadataRepresentation.

Definition at line 127 of file vtkQtTableRepresentation.h.


Member Data Documentation

Definition at line 112 of file vtkQtTableRepresentation.h.

Definition at line 116 of file vtkQtTableRepresentation.h.

Definition at line 117 of file vtkQtTableRepresentation.h.

Definition at line 118 of file vtkQtTableRepresentation.h.

Definition at line 119 of file vtkQtTableRepresentation.h.

Definition at line 120 of file vtkQtTableRepresentation.h.


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

Generated on Wed Jun 3 19:29:15 2009 for VTK by  doxygen 1.5.6