ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPVXYChartView Class Reference

view proxy for vtkQtBarChartView More...

#include <vtkPVXYChartView.h>

Inheritance diagram for vtkPVXYChartView:
Inheritance graph
[legend]
Collaboration diagram for vtkPVXYChartView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetChartType (const char *type)
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 SetLegendVisibility (int visible)
void SetLegendLocation (int location)
void SetAxisVisibility (int index, bool visible)
void SetGridVisibility (int index, bool visible)
void SetAxisColor (int index, double red, double green, double blue)
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 SetAxisLogScale (int index, bool logScale)
void SetAxisTitle (int index, const char *title)
void SetAxisTitleColor (int index, double red, double green, double blue)
void SetAxisLabelsNumber (int axis, int number)
void SetAxisLabels (int axis, int index, double value)
void SetAxisLabelsLeftNumber (int number)
void SetAxisLabelsLeft (int index, double value)
void SetAxisLabelsBottomNumber (int number)
void SetAxisLabelsBottom (int index, double value)
void SetAxisLabelsRightNumber (int number)
void SetAxisLabelsRight (int index, double value)
void SetAxisLabelsTopNumber (int number)
void SetAxisLabelsTop (int index, double value)
void SetTooltipNotation (int notation)
void SetTooltipPrecision (int precision)
virtual vtkChartGetChart ()
virtual vtkAbstractContextItemGetContextItem ()
void SetAxisLabelFont (int index, const char *family, int pointSize, bool bold, bool italic)
void SetLeftAxisRange (double minimum, double maximum)
void SetRightAxisRange (double minimum, double maximum)
void SetTopAxisRange (double minimum, double maximum)
void SetBottomAxisRange (double minimum, double maximum)
void UnsetLeftAxisRange ()
void UnsetRightAxisRange ()
void UnsetTopAxisRange ()
void UnsetBottomAxisRange ()
void SetAxisTitleFont (int index, const char *family, int pointSize, bool bold, bool italic)

Static Public Member Functions

static vtkPVXYChartViewNew ()
static int IsTypeOf (const char *type)
static vtkPVXYChartViewSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkPVXYChartView ()
 ~vtkPVXYChartView ()
void SetAxisRange (int index, double min, double max)
void UnsetAxisRange (int index)
virtual void Render (bool interactive)
void SelectionChanged ()
virtual void SetInternalTitle (const char *)

Protected Attributes

char * InternalTitle
CommandImpl * Command
vtkChartChart
vtkPVPlotTimePlotTime

Detailed Description

view proxy for vtkQtBarChartView

vtkPVXYChartView is a concrete subclass of vtkSMChartViewProxy that creates a vtkQtBarChartView as the chart view.

Definition at line 32 of file vtkPVXYChartView.h.


Constructor & Destructor Documentation

vtkPVXYChartView::vtkPVXYChartView ( ) [protected]
vtkPVXYChartView::~vtkPVXYChartView ( ) [protected]

Member Function Documentation

static vtkPVXYChartView* vtkPVXYChartView::New ( ) [static]
virtual const char* vtkPVXYChartView::GetClassName ( ) [virtual]
static int vtkPVXYChartView::IsTypeOf ( const char *  type) [static]
virtual int vtkPVXYChartView::IsA ( const char *  type) [virtual]
static vtkPVXYChartView* vtkPVXYChartView::SafeDownCast ( vtkObject o) [static]
void vtkPVXYChartView::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]
void vtkPVXYChartView::SetChartType ( const char *  type)

Set the chart type, defaults to line chart

void vtkPVXYChartView::SetTitle ( const char *  title)

Set the title of the chart. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

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

Set the chart title's font. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

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

Set the chart title's color. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

void vtkPVXYChartView::SetTitleAlignment ( int  alignment)

Set the chart title's alignment. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

void vtkPVXYChartView::SetLegendVisibility ( int  visible)

Set the legend visibility. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

void vtkPVXYChartView::SetLegendLocation ( int  location)

Set the legend location. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

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

Sets whether or not the given axis is visible. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

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

Sets whether or not the grid for the given axis is visible. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

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

Sets the color for the given axis. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

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

Sets the color for the given axis. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

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

Sets whether or not the labels for the given axis are visible. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

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

Set the axis label font for the given axis. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

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

Sets the axis label color for the given axis. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

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

Sets the axis label notation for the given axis. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

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

Sets the axis label precision for the given axis. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

void vtkPVXYChartView::SetLeftAxisRange ( double  minimum,
double  maximum 
) [inline]

For axis ranges, ParaView overrides the VTK charts behavior. Instead of letting the user choose the behavior, we only have 2 modes, if any range is set, then the range is always used. If no range is set, then alone we let the chart determine the range.

Definition at line 140 of file vtkPVXYChartView.h.

void vtkPVXYChartView::SetRightAxisRange ( double  minimum,
double  maximum 
) [inline]

For axis ranges, ParaView overrides the VTK charts behavior. Instead of letting the user choose the behavior, we only have 2 modes, if any range is set, then the range is always used. If no range is set, then alone we let the chart determine the range.

Definition at line 142 of file vtkPVXYChartView.h.

void vtkPVXYChartView::SetTopAxisRange ( double  minimum,
double  maximum 
) [inline]

For axis ranges, ParaView overrides the VTK charts behavior. Instead of letting the user choose the behavior, we only have 2 modes, if any range is set, then the range is always used. If no range is set, then alone we let the chart determine the range.

Definition at line 144 of file vtkPVXYChartView.h.

void vtkPVXYChartView::SetBottomAxisRange ( double  minimum,
double  maximum 
) [inline]

For axis ranges, ParaView overrides the VTK charts behavior. Instead of letting the user choose the behavior, we only have 2 modes, if any range is set, then the range is always used. If no range is set, then alone we let the chart determine the range.

Definition at line 146 of file vtkPVXYChartView.h.

void vtkPVXYChartView::UnsetLeftAxisRange ( ) [inline]

For axis ranges, ParaView overrides the VTK charts behavior. Instead of letting the user choose the behavior, we only have 2 modes, if any range is set, then the range is always used. If no range is set, then alone we let the chart determine the range.

Definition at line 148 of file vtkPVXYChartView.h.

void vtkPVXYChartView::UnsetRightAxisRange ( ) [inline]

For axis ranges, ParaView overrides the VTK charts behavior. Instead of letting the user choose the behavior, we only have 2 modes, if any range is set, then the range is always used. If no range is set, then alone we let the chart determine the range.

Definition at line 150 of file vtkPVXYChartView.h.

void vtkPVXYChartView::UnsetTopAxisRange ( ) [inline]

For axis ranges, ParaView overrides the VTK charts behavior. Instead of letting the user choose the behavior, we only have 2 modes, if any range is set, then the range is always used. If no range is set, then alone we let the chart determine the range.

Definition at line 152 of file vtkPVXYChartView.h.

void vtkPVXYChartView::UnsetBottomAxisRange ( ) [inline]

For axis ranges, ParaView overrides the VTK charts behavior. Instead of letting the user choose the behavior, we only have 2 modes, if any range is set, then the range is always used. If no range is set, then alone we let the chart determine the range.

Definition at line 154 of file vtkPVXYChartView.h.

void vtkPVXYChartView::SetAxisLogScale ( int  index,
bool  logScale 
)

Sets whether or not the given axis uses a log10 scale. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

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

Set the chart axis title for the given index. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

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

Set the chart axis title's font for the given index. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

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

Set the chart axis title's color for the given index. These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.

void vtkPVXYChartView::SetAxisLabelsNumber ( int  axis,
int  number 
)

Set the number of labels for the supplied axis.

void vtkPVXYChartView::SetAxisLabels ( int  axis,
int  index,
double  value 
)

Set the axis label positions for the supplied axis at the given index.

void vtkPVXYChartView::SetAxisLabelsLeftNumber ( int  number)

Set the number of axis labels for the left axis.

void vtkPVXYChartView::SetAxisLabelsLeft ( int  index,
double  value 
)

Set the label positions for the left axis.

void vtkPVXYChartView::SetAxisLabelsBottomNumber ( int  number)

Set the number of labels for the bottom axis.

void vtkPVXYChartView::SetAxisLabelsBottom ( int  index,
double  value 
)

Set the label positions for the bottom axis.

void vtkPVXYChartView::SetAxisLabelsRightNumber ( int  number)

Set the number of labels for the right axis.

void vtkPVXYChartView::SetAxisLabelsRight ( int  index,
double  value 
)

Set the label positions for the right axis.

void vtkPVXYChartView::SetAxisLabelsTopNumber ( int  number)

Set the number of labels for the top axis.

void vtkPVXYChartView::SetAxisLabelsTop ( int  index,
double  value 
)

Set the label positions for the top axis.

void vtkPVXYChartView::SetTooltipNotation ( int  notation)
void vtkPVXYChartView::SetTooltipPrecision ( int  precision)
virtual vtkChart* vtkPVXYChartView::GetChart ( ) [virtual]

Provides access to the chart view.

virtual vtkAbstractContextItem* vtkPVXYChartView::GetContextItem ( ) [virtual]

Get the context item.

Implements vtkPVContextView.

void vtkPVXYChartView::SetAxisRange ( int  index,
double  min,
double  max 
) [protected]
void vtkPVXYChartView::UnsetAxisRange ( int  index) [protected]
virtual void vtkPVXYChartView::Render ( bool  interactive) [protected, virtual]

Actual rendering implementation.

Reimplemented from vtkPVContextView.

virtual void vtkPVXYChartView::SetInternalTitle ( const char *  ) [protected, virtual]

Set the internal title, for managing time replacement in the chart title.

void vtkPVXYChartView::SelectionChanged ( ) [protected]

Member Data Documentation

Store the unreplaced chart title in the case where ${TIME} is used...

Definition at line 239 of file vtkPVXYChartView.h.

Pointer to the proxy's chart instance.

Definition at line 247 of file vtkPVXYChartView.h.

Pointer to the proxy's chart instance.

Definition at line 248 of file vtkPVXYChartView.h.

CommandImpl* vtkPVXYChartView::Command [protected]

Definition at line 254 of file vtkPVXYChartView.h.


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