#include <vtkQtTableMetadataRepresentation.h>
A table representing data to be charted will usually have a single column listing the titles of the various series. This class pulls out those titles so that they can go into a vtkQtItemView where they may be toggled on and off. The lookup table in the superclass is used to assign colors to each series.
This class is meant to be used with vtkQtItemView.
Definition at line 45 of file vtkQtTableMetadataRepresentation.h.
Public Types | |
typedef vtkQtTableRepresentation | 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) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkQtTableMetadataRepresentation * | SafeDownCast (vtkObject *o) |
static vtkQtTableMetadataRepresentation * | New () |
Protected Member Functions | |
vtkQtTableMetadataRepresentation () | |
~vtkQtTableMetadataRepresentation () | |
bool | AddToView (vtkView *view) |
bool | RemoveFromView (vtkView *view) |
void | SetModelType () |
Reimplemented from vtkQtTableRepresentation.
Definition at line 48 of file vtkQtTableMetadataRepresentation.h.
vtkQtTableMetadataRepresentation::vtkQtTableMetadataRepresentation | ( | ) | [protected] |
vtkQtTableMetadataRepresentation::~vtkQtTableMetadataRepresentation | ( | ) | [protected] |
virtual const char* vtkQtTableMetadataRepresentation::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkQtTableRepresentation.
static int vtkQtTableMetadataRepresentation::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 vtkQtTableRepresentation.
virtual int vtkQtTableMetadataRepresentation::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 vtkQtTableRepresentation.
static vtkQtTableMetadataRepresentation* vtkQtTableMetadataRepresentation::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkQtTableRepresentation.
static vtkQtTableMetadataRepresentation* vtkQtTableMetadataRepresentation::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkDataRepresentation.
void vtkQtTableMetadataRepresentation::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 vtkQtTableRepresentation.
virtual void vtkQtTableMetadataRepresentation::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 vtkQtTableRepresentation.
bool vtkQtTableMetadataRepresentation::AddToView | ( | vtkView * | view | ) | [protected] |
Add this representation to the view. That view needs to be a vtkQtItemView or one of its subclasses.
bool vtkQtTableMetadataRepresentation::RemoveFromView | ( | vtkView * | view | ) | [protected] |
Remove this representation from a view.
void vtkQtTableMetadataRepresentation::SetModelType | ( | ) | [protected, virtual] |
This should set the model type to DATA, METADATA or FULL depending on what you want.
Reimplemented from vtkQtTableRepresentation.