ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkPVXYChartView Class Reference

vtkPVView subclass for drawing charts More...

#include <vtkPVXYChartView.h>

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

Public Types

typedef vtkPVContextView Superclass
 
- Public Types inherited from vtkPVContextView
typedef vtkPVView Superclass
 
- Public Types inherited from vtkPVView
enum  { ViewTimeChangedEvent = 9000 }
 
typedef vtkView Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetChartType (const char *type)
 Set the chart type, defaults to line chart. More...
 
void SetChartTypeToLine ()
 
void SetChartTypeToBar ()
 
void SetChartTypeToBag ()
 
void SetChartTypeToBox ()
 
void SetChartTypeToArea ()
 
void SetChartTypeToFunctionalBag ()
 
void SetChartTypeToParallelCoordinates ()
 
void SetTitle (const char *title)
 Set the title of the chart. More...
 
void SetTitleColor (double red, double green, double blue)
 Set the chart title's color. More...
 
void SetTitleAlignment (int alignment)
 Set the chart title's alignment. More...
 
void SetLegendVisibility (int visible)
 Set the legend visibility. More...
 
void SetLegendLocation (int location)
 Set the legend location. More...
 
void SetLegendPosition (int x, int y)
 Set the legend position. More...
 
void SetLegendFontFamily (const char *family)
 Set the legend font family. More...
 
void SetLegendFontSize (int pointSize)
 Set the legend font size. More...
 
void SetLegendBold (bool bold)
 Set the legend font bold. More...
 
void SetLegendItalic (bool italic)
 Set the legend font italic. More...
 
void SetAxisLabelFont (int index, const char *family, int pointSize, bool bold, bool italic)
 Set the axis label font for the given axis. More...
 
void SetAxisTitleFont (int index, const char *family, int pointSize, bool bold, bool italic)
 Set the chart axis title's font for the given index. More...
 
void SetTooltipNotation (int notation)
 
void SetTooltipPrecision (int precision)
 
virtual vtkChart * GetChart ()
 Provides access to the chart view. More...
 
virtual vtkAbstractContextItem * GetContextItem ()
 Get the context item. More...
 
virtual void SetSelection (vtkChartRepresentation *repr, vtkSelection *selection)
 Representations can use this method to set the selection for a particular representation. More...
 
virtual void Update ()
 Overridden to rescale axes range on every update. More...
 
void SetTitleFont (const char *family, int pointSize, bool bold, bool italic)
 Set the chart title's font. More...
 
void SetTitleFontFamily (const char *family)
 Set the chart title's font. More...
 
void SetTitleFontSize (int pointSize)
 Set the chart title's font. More...
 
void SetTitleBold (bool bold)
 Set the chart title's font. More...
 
void SetTitleItalic (bool bold)
 Set the chart title's font. More...
 
void SetGridVisibility (int index, bool visible)
 Sets whether or not the grid for the given axis is visible. More...
 
 GENERATE_AXIS_FUNCTIONS (GridVisibility, bool)
 Sets whether or not the grid for the given axis is visible. More...
 
void SetAxisColor (int index, double red, double green, double blue)
 Sets the color for the given axis. More...
 
 GENERATE_AXIS_FUNCTIONS3 (AxisColor, double, double, double)
 Sets the color for the given axis. More...
 
void SetGridColor (int index, double red, double green, double blue)
 Sets the color for the given axis. More...
 
 GENERATE_AXIS_FUNCTIONS3 (GridColor, double, double, double)
 Sets the color for the given axis. More...
 
void SetAxisLabelVisibility (int index, bool visible)
 Sets whether or not the labels for the given axis are visible. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisLabelVisibility, bool)
 Sets whether or not the labels for the given axis are visible. More...
 
void SetAxisLabelFontFamily (int index, const char *family)
 Set the axis label font family for the given axis. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisLabelFontFamily, const char *)
 Set the axis label font family for the given axis. More...
 
void SetAxisLabelFontSize (int index, int pointSize)
 Set the axis label font size for the given axis. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisLabelFontSize, int)
 Set the axis label font size for the given axis. More...
 
void SetAxisLabelBold (int index, bool bold)
 Set the axis label font bold for the given axis. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisLabelBold, bool)
 Set the axis label font bold for the given axis. More...
 
void SetAxisLabelItalic (int index, bool italic)
 Set the axis label font italic for the given axis. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisLabelItalic, bool)
 Set the axis label font italic for the given axis. More...
 
void SetAxisLabelColor (int index, double red, double green, double blue)
 Sets the axis label color for the given axis. More...
 
 GENERATE_AXIS_FUNCTIONS3 (AxisLabelColor, double, double, double)
 Sets the axis label color for the given axis. More...
 
void SetAxisLabelNotation (int index, int notation)
 Sets the axis label notation for the given axis. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisLabelNotation, int)
 Sets the axis label notation for the given axis. More...
 
void SetAxisLabelPrecision (int index, int precision)
 Sets the axis label precision for the given axis. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisLabelPrecision, int)
 Sets the axis label precision for the given axis. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisRangeMinimum, double)
 For axis ranges, ParaView overrides the VTK charts behavior. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisRangeMaximum, double)
 For axis ranges, ParaView overrides the VTK charts behavior. More...
 
void SetAxisUseCustomRange (int index, bool useCustomRange)
 Set whether to use the range specified by SetAxisRange(..) (or variants) or to let the chart determine the range automatically based on the data being shown. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisUseCustomRange, bool)
 Set whether to use the range specified by SetAxisRange(..) (or variants) or to let the chart determine the range automatically based on the data being shown. More...
 
void SetAxisLogScale (int index, bool logScale)
 Sets whether or not the given axis uses a log10 scale. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisLogScale, bool)
 Sets whether or not the given axis uses a log10 scale. More...
 
void SetAxisTitle (int index, const char *title)
 Set the chart axis title for the given index. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisTitle, const char *)
 Set the chart axis title for the given index. More...
 
void SetAxisTitleFontFamily (int index, const char *family)
 Set the chart axis title's font family for the given index. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisTitleFontFamily, const char *)
 Set the chart axis title's font family for the given index. More...
 
void SetAxisTitleFontSize (int index, int pointSize)
 Set the chart axis title's font size for the given index. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisTitleFontSize, int)
 Set the chart axis title's font size for the given index. More...
 
void SetAxisTitleBold (int index, bool bold)
 Set the chart axis title's font bold for the given index. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisTitleBold, bool)
 Set the chart axis title's font bold for the given index. More...
 
void SetAxisTitleItalic (int index, bool italic)
 Set the chart axis title's font italic for the given index. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisTitleItalic, bool)
 Set the chart axis title's font italic for the given index. More...
 
void SetAxisTitleColor (int index, double red, double green, double blue)
 Set the chart axis title's color for the given index. More...
 
 GENERATE_AXIS_FUNCTIONS3 (AxisTitleColor, double, double, double)
 Set the chart axis title's color for the given index. More...
 
void SetAxisUseCustomLabels (int index, bool useCustomLabels)
 Set whether the chart uses custom labels or if the labels/ticks are placed automatically. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisUseCustomLabels, bool)
 Set whether the chart uses custom labels or if the labels/ticks are placed automatically. More...
 
void SetAxisLabelsNumber (int axis, int number)
 Set the number of labels for the supplied axis. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisLabelsNumber, int)
 Set the number of labels for the supplied axis. More...
 
void SetAxisLabels (int axis, int index, double value)
 Set the axis label positions for the supplied axis at the given index. More...
 
 GENERATE_AXIS_FUNCTIONS2 (AxisLabels, int, double)
 Set the axis label positions for the supplied axis at the given index. More...
 
virtual void SetHideTimeMarker (bool)
 Set the visibility for the time-marker in the view. More...
 
virtual bool GetHideTimeMarker ()
 Set the visibility for the time-marker in the view. More...
 
- Public Member Functions inherited from vtkPVContextView
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void StillRender ()
 Triggers a high-resolution render. More...
 
virtual void InteractiveRender ()
 Triggers a interactive render. More...
 
virtual void Initialize (unsigned int id)
 Initialize the view with an identifier. More...
 
vtkSelection * GetSelection ()
 Get the current selection created in the view. More...
 
virtual bool Export (vtkCSVExporter *exporter)
 Export the contents of this view using the exporter. More...
 
virtual vtkContextView * GetContextView ()
 Get the context view. More...
 
virtual vtkRenderWindow * GetRenderWindow ()
 
virtual void SetupInteractor (vtkRenderWindowInteractor *)
 Set the interactor. More...
 
vtkRenderWindowInteractor * GetInteractor ()
 Set the interactor. More...
 
virtual void SetUseOffscreenRenderingForScreenshots (bool)
 Set or get whether offscreen rendering should be used during CaptureWindow calls. More...
 
virtual void UseOffscreenRenderingForScreenshotsOn ()
 Set or get whether offscreen rendering should be used during CaptureWindow calls. More...
 
virtual void UseOffscreenRenderingForScreenshotsOff ()
 Set or get whether offscreen rendering should be used during CaptureWindow calls. More...
 
virtual bool GetUseOffscreenRenderingForScreenshots ()
 Set or get whether offscreen rendering should be used during CaptureWindow calls. More...
 
virtual void SetUseOffscreenRendering (bool)
 Get/Set whether to use offscreen rendering for all rendering. More...
 
virtual void UseOffscreenRenderingOn ()
 Get/Set whether to use offscreen rendering for all rendering. More...
 
virtual void UseOffscreenRenderingOff ()
 Get/Set whether to use offscreen rendering for all rendering. More...
 
virtual bool GetUseOffscreenRendering ()
 Get/Set whether to use offscreen rendering for all rendering. More...
 
- Public Member Functions inherited from vtkPVView
void PrintSelf (ostream &os, vtkIndent indent)
 
bool InTileDisplayMode ()
 Returns true if the application is currently in tile display mode. More...
 
bool InCaveDisplayMode ()
 Returns true if the application is currently in cave/immersive display mode. More...
 
bool GetLocalProcessSupportsInteraction ()
 Returns true if the local process can support interaction. More...
 
virtual unsigned int GetIdentifier ()
 
virtual void SetPosition (int, int)
 Set the position on this view in the multiview configuration. More...
 
virtual int * GetPosition ()
 Set the position on this view in the multiview configuration. More...
 
virtual void GetPosition (int &, int &)
 Set the position on this view in the multiview configuration. More...
 
virtual void GetPosition (int [2])
 Set the position on this view in the multiview configuration. More...
 
virtual void SetSize (int, int)
 Set the size of this view in the multiview configuration. More...
 
virtual int * GetSize ()
 Set the size of this view in the multiview configuration. More...
 
virtual void GetSize (int &, int &)
 Set the size of this view in the multiview configuration. More...
 
virtual void GetSize (int [2])
 Set the size of this view in the multiview configuration. More...
 
bool SynchronizeBounds (double bounds[6])
 This encapsulates a whole lot of logic for communication between processes. More...
 
bool SynchronizeSize (double &size)
 This encapsulates a whole lot of logic for communication between processes. More...
 
bool SynchronizeSize (unsigned int &size)
 This encapsulates a whole lot of logic for communication between processes. More...
 
virtual void SetViewTime (double value)
 Get/Set the time this view is showing. More...
 
virtual double GetViewTime ()
 Get/Set the time this view is showing. More...
 
virtual void SetCacheKey (double)
 Get/Set the cache key. More...
 
virtual double GetCacheKey ()
 Get/Set the cache key. More...
 
virtual void SetUseCache (bool)
 Get/Set whether caching is enabled. More...
 
virtual bool GetUseCache ()
 Get/Set whether caching is enabled. More...
 
virtual void PrepareForScreenshot ()
 These methods are used to setup the view for capturing screen shots. More...
 
virtual void CleanupAfterScreenshot ()
 These methods are used to setup the view for capturing screen shots. More...
 

Static Public Member Functions

static vtkPVXYChartViewNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVXYChartViewSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkPVContextView
static int IsTypeOf (const char *type)
 
static vtkPVContextViewSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkPVView
static int IsTypeOf (const char *type)
 
static vtkPVViewSafeDownCast (vtkObject *o)
 
static void SetEnableStreaming (bool)
 
static bool GetEnableStreaming ()
 
static vtkInformationObjectBaseKey * VIEW ()
 Key used to pass the vtkPVView pointer to the representation during any of the view passes such as REQUEST_UPDATE(), REQUEST_UPDATE_LOD(), REQUEST_RENDER(), etc. More...
 
static vtkInformationRequestKey * REQUEST_UPDATE ()
 This is a Update-Data pass. More...
 
static vtkInformationRequestKey * REQUEST_UPDATE_LOD ()
 This is a Update-LOD-Data pass. More...
 
static vtkInformationRequestKey * REQUEST_RENDER ()
 This is a render pass. More...
 

Protected Member Functions

 vtkPVXYChartView ()
 
 ~vtkPVXYChartView ()
 
void SetAxisRangeMinimum (int index, double min)
 
void SetAxisRangeMaximum (int index, double max)
 
virtual void Render (bool interactive)
 Actual rendering implementation. More...
 
void SelectionChanged ()
 
virtual void SetInternalTitle (const char *)
 Set the internal title, for managing time replacement in the chart title. More...
 
- Protected Member Functions inherited from vtkPVContextView
 vtkPVContextView ()
 
 ~vtkPVContextView ()
 
virtual bool MapSelectionToInput (vtkSelection *)
 Called to transform the selection. More...
 
void OnStartRender ()
 Callbacks called when the primary "renderer" in the vtkContextView starts/ends rendering. More...
 
void OnEndRender ()
 Callbacks called when the primary "renderer" in the vtkContextView starts/ends rendering. More...
 
- Protected Member Functions inherited from vtkPVView
 vtkPVView ()
 
 ~vtkPVView ()
 
virtual void AddRepresentationInternal (vtkDataRepresentation *rep)
 Overridden to check that the representation has View setup properly. More...
 
void CallProcessViewRequest (vtkInformationRequestKey *passType, vtkInformation *request, vtkInformationVector *reply)
 Subclasses can use this method to trigger a pass on all representations. More...
 

Protected Attributes

char * InternalTitle
 Store the unreplaced chart title in the case where ${TIME} is used... More...
 
bool HideTimeMarker
 
vtkChart * Chart
 Pointer to the proxy's chart instance. More...
 
vtkPVPlotTimePlotTime
 Pointer to the proxy's chart instance. More...
 
vtkChartWarningLogScaleWarningLabel
 Pointer to the proxy's chart instance. More...
 
- Protected Attributes inherited from vtkPVContextView
vtkContextView * ContextView
 
vtkRenderWindow * RenderWindow
 
bool UseOffscreenRenderingForScreenshots
 
bool UseOffscreenRendering
 
- Protected Attributes inherited from vtkPVView
vtkPVSynchronizedRenderWindowsSynchronizedWindows
 
unsigned int Identifier
 Every view gets a unique identifier that it uses to register itself with the SynchronizedWindows. More...
 
double CacheKey
 
bool UseCache
 
int Size [2]
 
int Position [2]
 
vtkInformation * RequestInformation
 These are passed as arguments to vtkDataRepresentation::ProcessViewRequest(). More...
 
vtkInformationVector * ReplyInformationVector
 These are passed as arguments to vtkDataRepresentation::ProcessViewRequest(). More...
 
double ViewTime
 Subclasses can use this method to trigger a pass on all representations. More...
 

Detailed Description

vtkPVView subclass for drawing charts

vtkPVXYChartView is a concrete subclass of vtkPVContextView – which in turn inherits vtkPVView – that creates a vtkChart to perform rendering.

Definition at line 65 of file vtkPVXYChartView.h.

Member Typedef Documentation

§ Superclass

Definition at line 69 of file vtkPVXYChartView.h.

Constructor & Destructor Documentation

§ vtkPVXYChartView()

vtkPVXYChartView::vtkPVXYChartView ( )
protected

§ ~vtkPVXYChartView()

vtkPVXYChartView::~vtkPVXYChartView ( )
protected

Member Function Documentation

§ New()

static vtkPVXYChartView* vtkPVXYChartView::New ( )
static

§ GetClassName()

virtual const char* vtkPVXYChartView::GetClassName ( )
virtual

Reimplemented from vtkPVContextView.

§ IsTypeOf()

static int vtkPVXYChartView::IsTypeOf ( const char *  type)
static

§ IsA()

virtual int vtkPVXYChartView::IsA ( const char *  type)
virtual

Reimplemented from vtkPVContextView.

§ SafeDownCast()

static vtkPVXYChartView* vtkPVXYChartView::SafeDownCast ( vtkObject *  o)
static

§ PrintSelf()

void vtkPVXYChartView::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

§ SetChartType()

void vtkPVXYChartView::SetChartType ( const char *  type)

Set the chart type, defaults to line chart.

§ SetChartTypeToLine()

void vtkPVXYChartView::SetChartTypeToLine ( )
inline

Definition at line 76 of file vtkPVXYChartView.h.

§ SetChartTypeToBar()

void vtkPVXYChartView::SetChartTypeToBar ( )
inline

Definition at line 77 of file vtkPVXYChartView.h.

§ SetChartTypeToBag()

void vtkPVXYChartView::SetChartTypeToBag ( )
inline

Definition at line 78 of file vtkPVXYChartView.h.

§ SetChartTypeToBox()

void vtkPVXYChartView::SetChartTypeToBox ( )
inline

Definition at line 79 of file vtkPVXYChartView.h.

§ SetChartTypeToArea()

void vtkPVXYChartView::SetChartTypeToArea ( )
inline

Definition at line 80 of file vtkPVXYChartView.h.

§ SetChartTypeToFunctionalBag()

void vtkPVXYChartView::SetChartTypeToFunctionalBag ( )
inline

Definition at line 81 of file vtkPVXYChartView.h.

§ SetChartTypeToParallelCoordinates()

void vtkPVXYChartView::SetChartTypeToParallelCoordinates ( )
inline

Definition at line 82 of file vtkPVXYChartView.h.

§ SetTitle()

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.

§ SetTitleFont()

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.

§ SetTitleFontFamily()

void vtkPVXYChartView::SetTitleFontFamily ( const char *  family)

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.

§ SetTitleFontSize()

void vtkPVXYChartView::SetTitleFontSize ( int  pointSize)

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.

§ SetTitleBold()

void vtkPVXYChartView::SetTitleBold ( bool  bold)

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.

§ SetTitleItalic()

void vtkPVXYChartView::SetTitleItalic ( bool  bold)

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.

§ SetTitleColor()

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.

§ SetTitleAlignment()

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.

§ SetLegendVisibility()

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.

§ SetLegendLocation()

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.

§ SetLegendPosition()

void vtkPVXYChartView::SetLegendPosition ( int  x,
int  y 
)

Set the legend position.

§ SetLegendFontFamily()

void vtkPVXYChartView::SetLegendFontFamily ( const char *  family)

Set the legend font family.

§ SetLegendFontSize()

void vtkPVXYChartView::SetLegendFontSize ( int  pointSize)

Set the legend font size.

§ SetLegendBold()

void vtkPVXYChartView::SetLegendBold ( bool  bold)

Set the legend font bold.

§ SetLegendItalic()

void vtkPVXYChartView::SetLegendItalic ( bool  italic)

Set the legend font italic.

§ SetGridVisibility()

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.

§ GENERATE_AXIS_FUNCTIONS() [1/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( GridVisibility  ,
bool   
)

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.

§ SetAxisColor()

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.

§ GENERATE_AXIS_FUNCTIONS3() [1/4]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS3 ( AxisColor  ,
double  ,
double  ,
double   
)

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.

§ SetGridColor()

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.

§ GENERATE_AXIS_FUNCTIONS3() [2/4]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS3 ( GridColor  ,
double  ,
double  ,
double   
)

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.

§ SetAxisLabelVisibility()

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.

§ GENERATE_AXIS_FUNCTIONS() [2/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisLabelVisibility  ,
bool   
)

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.

§ SetAxisLabelFont()

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.

§ SetAxisLabelFontFamily()

void vtkPVXYChartView::SetAxisLabelFontFamily ( int  index,
const char *  family 
)

Set the axis label font family for the given axis.

§ GENERATE_AXIS_FUNCTIONS() [3/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisLabelFontFamily  ,
const char *   
)

Set the axis label font family for the given axis.

§ SetAxisLabelFontSize()

void vtkPVXYChartView::SetAxisLabelFontSize ( int  index,
int  pointSize 
)

Set the axis label font size for the given axis.

§ GENERATE_AXIS_FUNCTIONS() [4/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisLabelFontSize  ,
int   
)

Set the axis label font size for the given axis.

§ SetAxisLabelBold()

void vtkPVXYChartView::SetAxisLabelBold ( int  index,
bool  bold 
)

Set the axis label font bold for the given axis.

§ GENERATE_AXIS_FUNCTIONS() [5/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisLabelBold  ,
bool   
)

Set the axis label font bold for the given axis.

§ SetAxisLabelItalic()

void vtkPVXYChartView::SetAxisLabelItalic ( int  index,
bool  italic 
)

Set the axis label font italic for the given axis.

§ GENERATE_AXIS_FUNCTIONS() [6/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisLabelItalic  ,
bool   
)

Set the axis label font italic for the given axis.

§ SetAxisLabelColor()

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.

§ GENERATE_AXIS_FUNCTIONS3() [3/4]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS3 ( AxisLabelColor  ,
double  ,
double  ,
double   
)

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.

§ SetAxisLabelNotation()

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.

§ GENERATE_AXIS_FUNCTIONS() [7/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisLabelNotation  ,
int   
)

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.

§ SetAxisLabelPrecision()

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.

§ GENERATE_AXIS_FUNCTIONS() [8/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisLabelPrecision  ,
int   
)

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.

§ GENERATE_AXIS_FUNCTIONS() [9/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisRangeMinimum  ,
double   
)

For axis ranges, ParaView overrides the VTK charts behavior.

Users can either specify an explicit range or let the VTK chart determine the range based on the data. To specify a range explicitly, users should use SetAxisUseCustomRange() to on for the corresponding axis and then use these methods to set the ranges. Note these ranges are only respected when the corresponding AxisUseCustomRange flag it set.

§ GENERATE_AXIS_FUNCTIONS() [10/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisRangeMaximum  ,
double   
)

For axis ranges, ParaView overrides the VTK charts behavior.

Users can either specify an explicit range or let the VTK chart determine the range based on the data. To specify a range explicitly, users should use SetAxisUseCustomRange() to on for the corresponding axis and then use these methods to set the ranges. Note these ranges are only respected when the corresponding AxisUseCustomRange flag it set.

§ SetAxisUseCustomRange()

void vtkPVXYChartView::SetAxisUseCustomRange ( int  index,
bool  useCustomRange 
)

Set whether to use the range specified by SetAxisRange(..) (or variants) or to let the chart determine the range automatically based on the data being shown.

§ GENERATE_AXIS_FUNCTIONS() [11/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisUseCustomRange  ,
bool   
)

Set whether to use the range specified by SetAxisRange(..) (or variants) or to let the chart determine the range automatically based on the data being shown.

§ SetAxisLogScale()

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.

§ GENERATE_AXIS_FUNCTIONS() [12/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisLogScale  ,
bool   
)

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.

§ SetAxisTitle()

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.

§ GENERATE_AXIS_FUNCTIONS() [13/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisTitle  ,
const char *   
)

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.

§ SetAxisTitleFont()

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.

§ SetAxisTitleFontFamily()

void vtkPVXYChartView::SetAxisTitleFontFamily ( int  index,
const char *  family 
)

Set the chart axis title's font family 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.

§ GENERATE_AXIS_FUNCTIONS() [14/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisTitleFontFamily  ,
const char *   
)

Set the chart axis title's font family 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.

§ SetAxisTitleFontSize()

void vtkPVXYChartView::SetAxisTitleFontSize ( int  index,
int  pointSize 
)

Set the chart axis title's font size 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.

§ GENERATE_AXIS_FUNCTIONS() [15/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisTitleFontSize  ,
int   
)

Set the chart axis title's font size 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.

§ SetAxisTitleBold()

void vtkPVXYChartView::SetAxisTitleBold ( int  index,
bool  bold 
)

Set the chart axis title's font bold 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.

§ GENERATE_AXIS_FUNCTIONS() [16/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisTitleBold  ,
bool   
)

Set the chart axis title's font bold 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.

§ SetAxisTitleItalic()

void vtkPVXYChartView::SetAxisTitleItalic ( int  index,
bool  italic 
)

Set the chart axis title's font italic 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.

§ GENERATE_AXIS_FUNCTIONS() [17/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisTitleItalic  ,
bool   
)

Set the chart axis title's font italic 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.

§ SetAxisTitleColor()

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.

§ GENERATE_AXIS_FUNCTIONS3() [4/4]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS3 ( AxisTitleColor  ,
double  ,
double  ,
double   
)

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.

§ SetAxisUseCustomLabels()

void vtkPVXYChartView::SetAxisUseCustomLabels ( int  index,
bool  useCustomLabels 
)

Set whether the chart uses custom labels or if the labels/ticks are placed automatically.

§ GENERATE_AXIS_FUNCTIONS() [18/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisUseCustomLabels  ,
bool   
)

Set whether the chart uses custom labels or if the labels/ticks are placed automatically.

§ SetAxisLabelsNumber()

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

Set the number of labels for the supplied axis.

§ GENERATE_AXIS_FUNCTIONS() [19/19]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisLabelsNumber  ,
int   
)

Set the number of labels for the supplied axis.

§ SetAxisLabels()

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

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

§ GENERATE_AXIS_FUNCTIONS2()

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS2 ( AxisLabels  ,
int  ,
double   
)

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

§ SetTooltipNotation()

void vtkPVXYChartView::SetTooltipNotation ( int  notation)

§ SetTooltipPrecision()

void vtkPVXYChartView::SetTooltipPrecision ( int  precision)

§ SetHideTimeMarker()

virtual void vtkPVXYChartView::SetHideTimeMarker ( bool  )
virtual

Set the visibility for the time-marker in the view.

Note, you cannot force the time-marker to be shown. One can only hide it when the view would have shown it otherwise.

§ GetHideTimeMarker()

virtual bool vtkPVXYChartView::GetHideTimeMarker ( )
virtual

Set the visibility for the time-marker in the view.

Note, you cannot force the time-marker to be shown. One can only hide it when the view would have shown it otherwise.

§ GetChart()

virtual vtkChart* vtkPVXYChartView::GetChart ( )
virtual

Provides access to the chart view.

§ GetContextItem()

virtual vtkAbstractContextItem* vtkPVXYChartView::GetContextItem ( )
virtual

Get the context item.

Implements vtkPVContextView.

§ SetSelection()

virtual void vtkPVXYChartView::SetSelection ( vtkChartRepresentation repr,
vtkSelection *  selection 
)
virtual

Representations can use this method to set the selection for a particular representation.

Subclasses override this method to pass on the selection to the chart using annotation link. Note this is meant to pass selection for the local process alone. The view does not manage data movement for the selection.

Implements vtkPVContextView.

§ Update()

virtual void vtkPVXYChartView::Update ( )
virtual

Overridden to rescale axes range on every update.

Reimplemented from vtkPVContextView.

§ SetAxisRangeMinimum()

void vtkPVXYChartView::SetAxisRangeMinimum ( int  index,
double  min 
)
protected

§ SetAxisRangeMaximum()

void vtkPVXYChartView::SetAxisRangeMaximum ( int  index,
double  max 
)
protected

§ Render()

virtual void vtkPVXYChartView::Render ( bool  interactive)
protectedvirtual

Actual rendering implementation.

Reimplemented from vtkPVContextView.

§ SetInternalTitle()

virtual void vtkPVXYChartView::SetInternalTitle ( const char *  )
protectedvirtual

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

§ SelectionChanged()

void vtkPVXYChartView::SelectionChanged ( )
protected

Member Data Documentation

§ InternalTitle

char* vtkPVXYChartView::InternalTitle
protected

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

Definition at line 466 of file vtkPVXYChartView.h.

§ Chart

vtkChart* vtkPVXYChartView::Chart
protected

Pointer to the proxy's chart instance.

Definition at line 478 of file vtkPVXYChartView.h.

§ PlotTime

vtkPVPlotTime* vtkPVXYChartView::PlotTime
protected

Pointer to the proxy's chart instance.

Definition at line 479 of file vtkPVXYChartView.h.

§ LogScaleWarningLabel

vtkChartWarning* vtkPVXYChartView::LogScaleWarningLabel
protected

Pointer to the proxy's chart instance.

Definition at line 480 of file vtkPVXYChartView.h.

§ HideTimeMarker

bool vtkPVXYChartView::HideTimeMarker
protected

Definition at line 485 of file vtkPVXYChartView.h.


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