vtkQtChartView Class Reference

#include <vtkQtChartView.h>

Inheritance diagram for vtkQtChartView:

Inheritance graph
[legend]
Collaboration diagram for vtkQtChartView:

Collaboration graph
[legend]

List of all members.


Detailed Description

Wraps a vtkQtChartArea into a VTK view.

vtkQtChartView is a vtkView which wraps an instance of vtkQtChartArea. This view expects vtkQtChartRepresentation instances as its representation.

See also:
vtkQtChartRepresentation

Definition at line 48 of file vtkQtChartView.h.


Public Types

typedef vtkQtView Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual QWidget * GetWidget ()
virtual void Update ()
virtual void Render ()
void Show ()
void AddTableToView (vtkTable *table)
void SetTitle (const char *title)
void SetTitleFont (const char *family, int pointSize, bool bold, bool italic)
void SetTitleColor (double red, double green, double blue)
void SetTitleAlignment (int alignment)
void SetAxisTitle (int index, const char *title)
void SetAxisTitleColor (int index, double red, double green, double blue)
void SetAxisTitleAlignment (int index, int alignment)
void SetLegendVisibility (bool visible)
void SetLegendLocation (int location)
void SetLegendFlow (int flow)
void SetAxisVisibility (int index, bool visible)
void SetAxisColor (int index, double red, double green, double blue)
void SetGridVisibility (int index, bool visible)
void SetGridColorType (int index, int gridColorType)
void SetGridColor (int index, double red, double green, double blue)
void SetAxisLabelVisibility (int index, bool visible)
void SetAxisLabelColor (int index, double red, double green, double blue)
void SetAxisLabelNotation (int index, int notation)
void SetAxisLabelPrecision (int index, int precision)
void SetAxisScale (int index, int scale)
void SetAxisBehavior (int index, int behavior)
void SetAxisRange (int index, double minimum, double maximum)
void SetAxisRange (int index, int minimum, int maximum)
virtual void AddChartSelectionHandlers (vtkQtChartMouseSelection *selector)
vtkQtChartAreaGetChartArea ()
vtkQtChartAxisGetAxis (int index)
virtual
vtkQtChartSeriesModelCollection
GetChartSeriesModel ()=0
virtual
vtkQtChartSeriesOptionsModelCollection
GetChartOptionsModel ()
virtual vtkQtChartSeriesOptionsGetChartSeriesOptions (int series)=0
virtual vtkQtChartSeriesLayerGetChartSeriesLayer ()=0
virtual void SetupDefaultInteractor ()
void SetAxisTitleFont (int index, const char *family, int pointSize, bool bold, bool italic)
void SetAxisLabelFont (int index, const char *family, int pointSize, bool bold, bool italic)
vtkQtChartLegendGetLegend ()
void SetColorSchemeToSpectrum ()
void SetColorSchemeToWarm ()
void SetColorSchemeToCool ()
void SetColorSchemeToBlues ()
void SetColorSchemeToWildFlower ()
void SetColorSchemeToCitrus ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkQtChartViewSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkQtChartView ()
 ~vtkQtChartView ()
virtual vtkDataRepresentationCreateDefaultRepresentation (vtkAlgorithmOutput *conn)

Member Typedef Documentation

Reimplemented from vtkQtView.

Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.

Definition at line 53 of file vtkQtChartView.h.


Constructor & Destructor Documentation

vtkQtChartView::vtkQtChartView (  )  [protected]

vtkQtChartView::~vtkQtChartView (  )  [protected]


Member Function Documentation

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

static int vtkQtChartView::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 vtkQtView.

Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.

virtual int vtkQtChartView::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 vtkQtView.

Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.

static vtkQtChartView* vtkQtChartView::SafeDownCast ( vtkObject o  )  [static]

void vtkQtChartView::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 vtkQtView.

Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.

virtual QWidget* vtkQtChartView::GetWidget (  )  [virtual]

Get the main container of this view (a QWidget). The application typically places the view with a call to GetWidget(): something like this this->ui->box->layout()->addWidget(this->View->GetWidget());

Implements vtkQtView.

virtual void vtkQtChartView::Update (  )  [virtual]

Updates the view.

Reimplemented from vtkView.

Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.

virtual void vtkQtChartView::Render (  )  [virtual]

Updates representations and then repaints the chart widget.

void vtkQtChartView::Show (  ) 

Calls show() on the chart widget.

void vtkQtChartView::AddTableToView ( vtkTable table  ) 

A convenience method to add a table to the chart view. This is here for now to work around a python wrapping bug.

void vtkQtChartView::SetTitle ( const char *  title  ) 

Set the chart's title.

void vtkQtChartView::SetTitleFont ( const char *  family,
int  pointSize,
bool  bold,
bool  italic 
)

Set the chart title's font.

void vtkQtChartView::SetTitleColor ( double  red,
double  green,
double  blue 
)

Set the chart title's color.

void vtkQtChartView::SetTitleAlignment ( int  alignment  ) 

Set the chart title's alignment.

void vtkQtChartView::SetAxisTitle ( int  index,
const char *  title 
)

Set the chart axis title for the given index.

void vtkQtChartView::SetAxisTitleFont ( int  index,
const char *  family,
int  pointSize,
bool  bold,
bool  italic 
)

Set the chart axis title's font for the given index.

void vtkQtChartView::SetAxisTitleColor ( int  index,
double  red,
double  green,
double  blue 
)

Set the chart axis title's color for the given index.

void vtkQtChartView::SetAxisTitleAlignment ( int  index,
int  alignment 
)

Set the chart axis title's alignment for the given index.

void vtkQtChartView::SetLegendVisibility ( bool  visible  ) 

Sets whether or not the chart legend is visible.

void vtkQtChartView::SetLegendLocation ( int  location  ) 

Sets the legend location.

void vtkQtChartView::SetLegendFlow ( int  flow  ) 

Sets the legend flow.

void vtkQtChartView::SetAxisVisibility ( int  index,
bool  visible 
)

Sets whether or not the given axis is visible.

void vtkQtChartView::SetAxisColor ( int  index,
double  red,
double  green,
double  blue 
)

Sets the color for the given axis.

void vtkQtChartView::SetGridVisibility ( int  index,
bool  visible 
)

Sets whether or not the grid for the given axis is visible.

void vtkQtChartView::SetGridColorType ( int  index,
int  gridColorType 
)

Sets the grid color type for the given axis.

void vtkQtChartView::SetGridColor ( int  index,
double  red,
double  green,
double  blue 
)

Sets the grid color for the given axis.

void vtkQtChartView::SetAxisLabelVisibility ( int  index,
bool  visible 
)

Sets whether or not the labels for the given axis are visible.

void vtkQtChartView::SetAxisLabelFont ( int  index,
const char *  family,
int  pointSize,
bool  bold,
bool  italic 
)

Set the axis label font for the given axis.

void vtkQtChartView::SetAxisLabelColor ( int  index,
double  red,
double  green,
double  blue 
)

Sets the axis label color for the given axis.

void vtkQtChartView::SetAxisLabelNotation ( int  index,
int  notation 
)

Sets the axis label notation for the given axis.

void vtkQtChartView::SetAxisLabelPrecision ( int  index,
int  precision 
)

Sets the axis label precision for the given axis.

void vtkQtChartView::SetAxisScale ( int  index,
int  scale 
)

Sets the scale for the given axis (Linear or Logarithmic).

void vtkQtChartView::SetAxisBehavior ( int  index,
int  behavior 
)

Sets the behavior for the given axis.

void vtkQtChartView::SetAxisRange ( int  index,
double  minimum,
double  maximum 
)

Sets the best fir range for the given axis.

void vtkQtChartView::SetAxisRange ( int  index,
int  minimum,
int  maximum 
)

Sets the best fir range for the given axis.

virtual void vtkQtChartView::AddChartSelectionHandlers ( vtkQtChartMouseSelection selector  )  [virtual]

Adds chart layer selection handlers to the mouse selection.

Reimplemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.

vtkQtChartArea* vtkQtChartView::GetChartArea (  ) 

Gets the chart area from the chart widget. This method is equivalent to GetChartWidget()->getChartArea().

vtkQtChartAxis* vtkQtChartView::GetAxis ( int  index  ) 

Gets the chart axis for the given index.

virtual vtkQtChartSeriesModelCollection* vtkQtChartView::GetChartSeriesModel (  )  [pure virtual]

Gets the chart series model.

Implemented in vtkQtBarChartView, vtkQtLineChartView, vtkQtStackedChartView, and vtkQtStatisticalBoxChartView.

virtual vtkQtChartSeriesOptionsModelCollection* vtkQtChartView::GetChartOptionsModel (  )  [virtual]

Gets the series options model.

virtual vtkQtChartSeriesOptions* vtkQtChartView::GetChartSeriesOptions ( int  series  )  [pure virtual]

virtual vtkQtChartSeriesLayer* vtkQtChartView::GetChartSeriesLayer (  )  [pure virtual]

vtkQtChartLegend* vtkQtChartView::GetLegend (  ) 

Gets the chart legend widget.

virtual void vtkQtChartView::SetupDefaultInteractor (  )  [virtual]

Sets up the default interactor.

void vtkQtChartView::SetColorSchemeToSpectrum (  ) 

Set color scheme methods

void vtkQtChartView::SetColorSchemeToWarm (  ) 

Set color scheme methods

void vtkQtChartView::SetColorSchemeToCool (  ) 

Set color scheme methods

void vtkQtChartView::SetColorSchemeToBlues (  ) 

Set color scheme methods

void vtkQtChartView::SetColorSchemeToWildFlower (  ) 

Set color scheme methods

void vtkQtChartView::SetColorSchemeToCitrus (  ) 

Set color scheme methods

virtual vtkDataRepresentation* vtkQtChartView::CreateDefaultRepresentation ( vtkAlgorithmOutput conn  )  [protected, virtual]

Create a vtkQtChartRepresentation for the given input connection.

Reimplemented from vtkView.


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

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