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:

Warning:
Call SetInputConnection with a table connection BEFORE the representation is added to a view or strange things may happen, including segfaults.

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 vtkLookupTableGetColorTable ()
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 vtkQtTableRepresentationSafeDownCast (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

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

Member Typedef Documentation

Reimplemented from vtkDataRepresentation.

Reimplemented in vtkQtChartRepresentation.

Definition at line 66 of file vtkQtTableRepresentation.h.


Constructor & Destructor Documentation

vtkQtTableRepresentation::vtkQtTableRepresentation (  )  [protected]

vtkQtTableRepresentation::~vtkQtTableRepresentation (  )  [protected]


Member Function Documentation

virtual const char* vtkQtTableRepresentation::GetClassName (  )  [virtual]

Reimplemented from vtkDataRepresentation.

Reimplemented in vtkQtChartRepresentation.

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]

Reimplemented from vtkDataRepresentation.

Reimplemented in vtkQtChartRepresentation.

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.


Member Data Documentation

Definition at line 105 of file vtkQtTableRepresentation.h.

Definition at line 109 of file vtkQtTableRepresentation.h.

Definition at line 110 of file vtkQtTableRepresentation.h.

Definition at line 111 of file vtkQtTableRepresentation.h.

Definition at line 112 of file vtkQtTableRepresentation.h.

Definition at line 113 of file vtkQtTableRepresentation.h.


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

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