Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static 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
typedef vtkView Superclass
 
- Public Types inherited from vtkView
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void SetChartType (const char *type)
 Set the chart type, defaults to line chart. More...
 
void SetChartTypeToLine ()
 
void SetChartTypeToPoint ()
 
void SetChartTypeToBar ()
 
void SetChartTypeToBag ()
 
void SetChartTypeToBox ()
 
void SetChartTypeToArea ()
 
void SetChartTypeToFunctionalBag ()
 
void SetChartTypeToParallelCoordinates ()
 
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 SetLegendFontFile (const char *file)
 Set the legend font file. 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 SetLegendSymbolWidth (int width)
 Set the legend symbol width (default is 25) 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 vtkChartGetChart ()
 Provides access to the chart view. More...
 
vtkAbstractContextItemGetContextItem () override
 Get the context item. More...
 
void SetSelection (vtkChartRepresentation *repr, vtkSelection *selection) override
 Representations can use this method to set the selection for a particular representation. More...
 
void Update () override
 Overridden to rescale axes range on every update. More...
 
void SetTitleFont (const char *family, int pointSize, bool bold, bool italic) override
 Set the font of the title. More...
 
void SetTitleFontFamily (const char *family) override
 Set the font of the title. More...
 
void SetTitleFontSize (int pointSize) override
 Set the font of the title. More...
 
void SetTitleBold (bool bold) override
 Set the font of the title. More...
 
void SetTitleItalic (bool italic) override
 Set the font of the title. More...
 
void SetTitleFontFile (const char *file) override
 Set the font of the title. More...
 
const char * GetTitleFontFamily () override
 Set the font of the title. More...
 
int GetTitleFontSize () override
 Set the font of the title. More...
 
int GetTitleFontBold () override
 Set the font of the title. More...
 
int GetTitleFontItalic () override
 Set the font of the title. More...
 
void SetTitleColor (double red, double green, double blue) override
 Set the color of the title. More...
 
doubleGetTitleColor () override
 Set the color of the title. More...
 
void SetTitleAlignment (int alignment) override
 Set the alignement of the title. More...
 
int GetTitleAlignment () override
 Set the alignement of the title. 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 SetAxisLabelFontFile (int index, const char *file)
 Set the axis label font file for the given axis. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisLabelFontFile, const char *)
 Set the axis label font file 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 SetAxisTitleFontFile (int index, const char *file)
 Set the chart axis title's font file for the given index. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisTitleFontFile, const char *)
 Set the chart axis title's font file 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 are placed automatically. More...
 
 GENERATE_AXIS_FUNCTIONS (AxisUseCustomLabels, bool)
 Set whether the chart uses custom labels or if the labels 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, const std::string &value, const std::string &label)
 Set the axis labels and positions for the supplied axis at the given index. More...
 
 GENERATE_AXIS_FUNCTIONS3 (AxisLabels, int, const std::string &, const std::string &)
 Set the axis labels and 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...
 
virtual bool GetSortByXAxis ()
 Set whether to sort the data in the chart by the x-axis array so that line plot connectivity is from left to right rather than semi-randomly by index. More...
 
virtual void SetSortByXAxis (bool)
 Set whether to sort the data in the chart by the x-axis array so that line plot connectivity is from left to right rather than semi-randomly by index. More...
 
- Public Member Functions inherited from vtkPVContextView
void StillRender () override
 Triggers a high-resolution render. More...
 
void InteractiveRender () override
 Triggers a interactive render. More...
 
vtkSelectionGetSelection ()
 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 vtkContextViewGetContextView ()
 Get the context view. More...
 
virtual void SetupInteractor (vtkRenderWindowInteractor *)
 Set the interactor. More...
 
vtkRenderWindowInteractorGetInteractor ()
 Set the interactor. More...
 
virtual void SetTitle (const char *)
 Get/Set the title. More...
 
virtual char * GetTitle ()
 Get/Set the title. More...
 
- Public Member Functions inherited from vtkPVView
virtual void SetPPI (int)
 Description: Set the screen PPI. More...
 
virtual int GetPPI ()
 
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...
 
vtkRenderWindowGetRenderWindow ()
 If this view needs a render window (not all views may use one), this method can be used to get the render window associated with this view on the current process. More...
 
virtual void ScaleRendererViewports (const double viewport[4])
 vtkViewLayout calls this method to update the total viewport available for this view. More...
 
vtkMTimeType GetUpdateTimeStamp ()
 Provides access to the time when Update() was last called. More...
 
virtual void Deliver (int use_lod, unsigned int size, unsigned int *representation_ids)
 Called on all processes to request data-delivery for the list of representations. More...
 
virtual bool IsCached (vtkPVDataRepresentation *)
 Called in vtkPVDataRepresentation::ProcessViewRequest to check if the representation already has cached data. More...
 
virtual void ClearCache (vtkPVDataRepresentation *)
 Called by vtkPVDataRepresentation whenever vtkPVDataRepresentation::MarkModified is called. More...
 
virtual void SetPosition (int, int)
 Set the position on this view in the multiview configuration. More...
 
virtual intGetPosition ()
 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 intGetSize ()
 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...
 
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...
 
void SetTileScale (int x, int y)
 When saving screenshots with tiling, these methods get called. More...
 
void SetTileViewport (double x0, double y0, double x1, double y1)
 When saving screenshots with tiling, these methods get called. More...
 
virtual void SetLogName (const std::string &name)
 This is solely intended to simplify debugging and use for any other purpose is vehemently discouraged. More...
 
const std::stringGetLogName () const
 This is solely intended to simplify debugging and use for any other purpose is vehemently discouraged. More...
 
void SetDeliveryManager (vtkPVDataDeliveryManager *)
 Provides access to data delivery & cache manager for this view. More...
 
virtual vtkPVDataDeliveryManagerGetDeliveryManager ()
 Provides access to data delivery & cache manager for this view. More...
 
- Public Member Functions inherited from vtkView
vtkViewNewInstance () const
 
void AddRepresentation (vtkDataRepresentation *rep)
 
void SetRepresentation (vtkDataRepresentation *rep)
 
vtkDataRepresentationAddRepresentationFromInputConnection (vtkAlgorithmOutput *conn)
 
vtkDataRepresentationSetRepresentationFromInputConnection (vtkAlgorithmOutput *conn)
 
vtkDataRepresentationAddRepresentationFromInput (vtkDataObject *input)
 
vtkDataRepresentationSetRepresentationFromInput (vtkDataObject *input)
 
void RemoveRepresentation (vtkDataRepresentation *rep)
 
void RemoveRepresentation (vtkAlgorithmOutput *rep)
 
void RemoveAllRepresentations ()
 
int GetNumberOfRepresentations ()
 
vtkDataRepresentationGetRepresentation (int index=0)
 
bool IsRepresentationPresent (vtkDataRepresentation *rep)
 
virtual void ApplyViewTheme (vtkViewTheme *vtkNotUsed(theme))
 
vtkCommandGetObserver ()
 
void RegisterProgress (vtkObject *algorithm, const char *message=NULL)
 
void UnRegisterProgress (vtkObject *algorithm)
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static vtkPVXYChartViewNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVXYChartViewSafeDownCast (vtkObject *o)
 
static void SetIgnoreNegativeLogAxisWarning (bool val)
 When plotting data with nonpositive values, ignore the standard warning and draw only the data with positive values. More...
 
static bool GetIgnoreNegativeLogAxisWarning ()
 
- 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 vtkInformationObjectBaseKeyVIEW ()
 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 vtkInformationRequestKeyREQUEST_UPDATE ()
 This is a Update-Data pass. More...
 
static vtkInformationRequestKeyREQUEST_UPDATE_LOD ()
 This is a Update-LOD-Data pass. More...
 
static vtkInformationRequestKeyREQUEST_RENDER ()
 This is a render pass. More...
 
static void SetPiece (vtkInformation *info, vtkPVDataRepresentation *repr, vtkDataObject *data, unsigned long trueSize=0, int port=0)
 
static vtkDataObjectGetPiece (vtkInformation *info, vtkPVDataRepresentation *repr, int port=0)
 
static vtkDataObjectGetDeliveredPiece (vtkInformation *info, vtkPVDataRepresentation *repr, int port=0)
 
static void SetPieceLOD (vtkInformation *info, vtkPVDataRepresentation *repr, vtkDataObject *data, unsigned long trueSize=0, int port=0)
 
static vtkDataObjectGetPieceLOD (vtkInformation *info, vtkPVDataRepresentation *repr, int port=0)
 
static vtkDataObjectGetDeliveredPieceLOD (vtkInformation *info, vtkPVDataRepresentation *repr, int port=0)
 
static void SetUseGenericOpenGLRenderWindow (bool val)
 Use this to indicate that the process should use vtkGenericOpenGLRenderWindow rather than vtkRenderWindow when creating an new render window. More...
 
static bool GetUseGenericOpenGLRenderWindow ()
 Use this to indicate that the process should use vtkGenericOpenGLRenderWindow rather than vtkRenderWindow when creating an new render window. More...
 
- Static Public Member Functions inherited from vtkView
static vtkViewNew ()
 
static int IsTypeOf (const char *type)
 
static vtkViewSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkPVXYChartView ()
 
 ~vtkPVXYChartView () override
 
void SetAxisRangeMinimum (int index, double min)
 
void SetAxisRangeMaximum (int index, double max)
 
void Render (bool interactive) override
 Actual rendering implementation. More...
 
void SelectionChanged ()
 
- Protected Member Functions inherited from vtkPVContextView
 vtkPVContextView ()
 Get/Set the alignement of the title. More...
 
 ~vtkPVContextView () override
 Get/Set the alignement of the title. More...
 
virtual bool MapSelectionToInput (vtkSelection *)
 Called to transform the selection. More...
 
virtual std::string GetFormattedTitle ()
 Method to get the Formatted title after formatting it using the pushed arguments provided by vtkPVStringFormatter. More...
 
- Protected Member Functions inherited from vtkPVView
 vtkPVView (bool create_render_window=true)
 
 ~vtkPVView () override
 
vtkRenderWindowNewRenderWindow ()
 Subclasses should use this method to create new render windows instead of directly creating a new one. More...
 
void SetRenderWindow (vtkRenderWindow *)
 Subclasses can use this method to set the render window created for this view. More...
 
void AllReduce (const vtkBoundingBox &source, vtkBoundingBox &dest)
 Reduce bounding box between all participating processes. More...
 
void AllReduce (vtkTypeUInt64 source, vtkTypeUInt64 &dest, int operation, bool skip_data_server=false)
 Reduce between all participating processes using the operation (vtkCommunicator::StandardOperations) specified. More...
 
vtkPVSessionGetSession ()
 
virtual bool GetInCaptureScreenshot ()
 Flag set to true between calls to PrepareForScreenshot and CleanupAfterScreenshot. More...
 
void AddRepresentationInternal (vtkDataRepresentation *rep) override
 Overridden to assign IDs to each representation. More...
 
void RemoveRepresentationInternal (vtkDataRepresentation *rep) override
 Overridden to assign IDs to each representation. More...
 
int CallProcessViewRequest (vtkInformationRequestKey *passType, vtkInformation *request, vtkInformationVector *reply)
 Subclasses can use this method to trigger a pass on all representations. More...
 
- Protected Member Functions inherited from vtkView
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkView ()
 
 ~vtkView ()
 
virtual vtkDataRepresentationCreateDefaultRepresentation (vtkAlgorithmOutput *conn)
 
virtual void ProcessEvents (vtkObject *caller, unsigned long eventId, void *callData)
 
virtual void AddRepresentationInternal (vtkDataRepresentation *vtkNotUsed(rep))
 
virtual void RemoveRepresentationInternal (vtkDataRepresentation *vtkNotUsed(rep))
 
virtual void ProcessEvents (vtkObject *caller, unsigned long eventId, void *callData)
 
virtual void AddRepresentationInternal (vtkDataRepresentation *vtkNotUsed(rep))
 
virtual void RemoveRepresentationInternal (vtkDataRepresentation *vtkNotUsed(rep))
 
virtual void SetReuseSingleRepresentation (bool)
 
virtual bool GetReuseSingleRepresentation ()
 
virtual void ReuseSingleRepresentationOn ()
 
virtual void ReuseSingleRepresentationOff ()
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

bool HideTimeMarker
 
bool SortByXAxis
 
vtkChartChart
 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
vtkContextViewContextView
 Get/Set the alignement of the title. More...
 
- Protected Attributes inherited from vtkPVView
double ViewTime
 
double CacheKey
 
bool UseCache
 
int Size [2]
 
int Position [2]
 
int PPI
 
vtkTimeStamp UpdateTimeStamp
 Keeps track of the time when vtkPVRenderView::Update() was called. More...
 
vtkInformationRequestInformation
 These are passed as arguments to vtkDataRepresentation::ProcessViewRequest(). More...
 
vtkInformationVectorReplyInformationVector
 These are passed as arguments to vtkDataRepresentation::ProcessViewRequest(). More...
 
- Protected Attributes inherited from vtkView
bool ReuseSingleRepresentation
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Static Protected Attributes

static bool IgnoreNegativeLogAxisWarning
 

Additional Inherited Members

- Static Protected Member Functions inherited from vtkPVView
static vtkPVDataDeliveryManagerGetDeliveryManager (vtkInformation *info)
 

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 ( )
overrideprotected

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 
)
overridevirtual

Reimplemented from vtkPVContextView.

◆ 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.

◆ SetChartTypeToPoint()

void vtkPVXYChartView::SetChartTypeToPoint ( )
inline

Definition at line 77 of file vtkPVXYChartView.h.

◆ SetChartTypeToBar()

void vtkPVXYChartView::SetChartTypeToBar ( )
inline

Definition at line 78 of file vtkPVXYChartView.h.

◆ SetChartTypeToBag()

void vtkPVXYChartView::SetChartTypeToBag ( )
inline

Definition at line 79 of file vtkPVXYChartView.h.

◆ SetChartTypeToBox()

void vtkPVXYChartView::SetChartTypeToBox ( )
inline

Definition at line 80 of file vtkPVXYChartView.h.

◆ SetChartTypeToArea()

void vtkPVXYChartView::SetChartTypeToArea ( )
inline

Definition at line 81 of file vtkPVXYChartView.h.

◆ SetChartTypeToFunctionalBag()

void vtkPVXYChartView::SetChartTypeToFunctionalBag ( )
inline

Definition at line 82 of file vtkPVXYChartView.h.

◆ SetChartTypeToParallelCoordinates()

void vtkPVXYChartView::SetChartTypeToParallelCoordinates ( )
inline

Definition at line 83 of file vtkPVXYChartView.h.

◆ SetTitleFont()

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

Set the font of the title.

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.

Implements vtkPVContextView.

◆ SetTitleFontFamily()

void vtkPVXYChartView::SetTitleFontFamily ( const char *  family)
overridevirtual

Set the font of the title.

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.

Implements vtkPVContextView.

◆ SetTitleFontSize()

void vtkPVXYChartView::SetTitleFontSize ( int  pointSize)
overridevirtual

Set the font of the title.

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.

Implements vtkPVContextView.

◆ SetTitleBold()

void vtkPVXYChartView::SetTitleBold ( bool  bold)
overridevirtual

Set the font of the title.

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.

Implements vtkPVContextView.

◆ SetTitleItalic()

void vtkPVXYChartView::SetTitleItalic ( bool  italic)
overridevirtual

Set the font of the title.

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.

Implements vtkPVContextView.

◆ SetTitleFontFile()

void vtkPVXYChartView::SetTitleFontFile ( const char *  file)
overridevirtual

Set the font of the title.

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.

Implements vtkPVContextView.

◆ GetTitleFontFamily()

const char* vtkPVXYChartView::GetTitleFontFamily ( )
overridevirtual

Set the font of the title.

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.

Implements vtkPVContextView.

◆ GetTitleFontSize()

int vtkPVXYChartView::GetTitleFontSize ( )
overridevirtual

Set the font of the title.

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.

Implements vtkPVContextView.

◆ GetTitleFontBold()

int vtkPVXYChartView::GetTitleFontBold ( )
overridevirtual

Set the font of the title.

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.

Implements vtkPVContextView.

◆ GetTitleFontItalic()

int vtkPVXYChartView::GetTitleFontItalic ( )
overridevirtual

Set the font of the title.

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.

Implements vtkPVContextView.

◆ SetTitleColor()

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

Set the color of the title.

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.

Implements vtkPVContextView.

◆ GetTitleColor()

double* vtkPVXYChartView::GetTitleColor ( )
overridevirtual

Set the color of the title.

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.

Implements vtkPVContextView.

◆ SetTitleAlignment()

void vtkPVXYChartView::SetTitleAlignment ( int  alignment)
overridevirtual

Set the alignement of the title.

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.

Implements vtkPVContextView.

◆ GetTitleAlignment()

int vtkPVXYChartView::GetTitleAlignment ( )
overridevirtual

Set the alignement of the title.

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.

Implements vtkPVContextView.

◆ 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.

◆ SetLegendFontFile()

void vtkPVXYChartView::SetLegendFontFile ( const char *  file)

Set the legend font file.

◆ 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.

◆ SetLegendSymbolWidth()

void vtkPVXYChartView::SetLegendSymbolWidth ( int  width)

Set the legend symbol width (default is 25)

◆ 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/21]

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/5]

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/5]

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/21]

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/21]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisLabelFontFamily  ,
const char *   
)

Set the axis label font family for the given axis.

◆ SetAxisLabelFontFile()

void vtkPVXYChartView::SetAxisLabelFontFile ( int  index,
const char *  file 
)

Set the axis label font file for the given axis.

◆ GENERATE_AXIS_FUNCTIONS() [4/21]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisLabelFontFile  ,
const char *   
)

Set the axis label font file 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() [5/21]

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() [6/21]

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() [7/21]

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/5]

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() [8/21]

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() [9/21]

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() [10/21]

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() [11/21]

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() [12/21]

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() [13/21]

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() [14/21]

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() [15/21]

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.

◆ SetAxisTitleFontFile()

void vtkPVXYChartView::SetAxisTitleFontFile ( int  index,
const char *  file 
)

Set the chart axis title's font file 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/21]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisTitleFontFile  ,
const char *   
)

Set the chart axis title's font file 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() [17/21]

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() [18/21]

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() [19/21]

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/5]

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 are placed automatically.

◆ GENERATE_AXIS_FUNCTIONS() [20/21]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisUseCustomLabels  ,
bool   
)

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

◆ SetAxisLabelsNumber()

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

Set the number of labels for the supplied axis.

◆ GENERATE_AXIS_FUNCTIONS() [21/21]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS ( AxisLabelsNumber  ,
int   
)

Set the number of labels for the supplied axis.

◆ SetAxisLabels()

void vtkPVXYChartView::SetAxisLabels ( int  axis,
int  index,
const std::string value,
const std::string label 
)

Set the axis labels and positions for the supplied axis at the given index.

◆ GENERATE_AXIS_FUNCTIONS3() [5/5]

vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS3 ( AxisLabels  ,
int  ,
const std::string ,
const std::string  
)

Set the axis labels and 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.

◆ GetSortByXAxis()

virtual bool vtkPVXYChartView::GetSortByXAxis ( )
virtual

Set whether to sort the data in the chart by the x-axis array so that line plot connectivity is from left to right rather than semi-randomly by index.

◆ SetSortByXAxis()

virtual void vtkPVXYChartView::SetSortByXAxis ( bool  )
virtual

Set whether to sort the data in the chart by the x-axis array so that line plot connectivity is from left to right rather than semi-randomly by index.

◆ SetIgnoreNegativeLogAxisWarning()

static void vtkPVXYChartView::SetIgnoreNegativeLogAxisWarning ( bool  val)
inlinestatic

When plotting data with nonpositive values, ignore the standard warning and draw only the data with positive values.

Definition at line 472 of file vtkPVXYChartView.h.

◆ GetIgnoreNegativeLogAxisWarning()

static bool vtkPVXYChartView::GetIgnoreNegativeLogAxisWarning ( )
inlinestatic

Definition at line 476 of file vtkPVXYChartView.h.

◆ GetChart()

virtual vtkChart* vtkPVXYChartView::GetChart ( )
virtual

Provides access to the chart view.

◆ GetContextItem()

vtkAbstractContextItem* vtkPVXYChartView::GetContextItem ( )
overridevirtual

Get the context item.

Implements vtkPVContextView.

◆ SetSelection()

void vtkPVXYChartView::SetSelection ( vtkChartRepresentation repr,
vtkSelection selection 
)
overridevirtual

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

void vtkPVXYChartView::Update ( )
overridevirtual

Overridden to rescale axes range on every update.

Reimplemented from vtkPVView.

◆ SetAxisRangeMinimum()

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

◆ SetAxisRangeMaximum()

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

◆ Render()

void vtkPVXYChartView::Render ( bool  interactive)
overrideprotectedvirtual

Actual rendering implementation.

Reimplemented from vtkPVContextView.

◆ SelectionChanged()

void vtkPVXYChartView::SelectionChanged ( )
protected

Member Data Documentation

◆ Chart

vtkChart* vtkPVXYChartView::Chart
protected

Pointer to the proxy's chart instance.

Definition at line 521 of file vtkPVXYChartView.h.

◆ PlotTime

vtkPVPlotTime* vtkPVXYChartView::PlotTime
protected

Pointer to the proxy's chart instance.

Definition at line 522 of file vtkPVXYChartView.h.

◆ LogScaleWarningLabel

vtkChartWarning* vtkPVXYChartView::LogScaleWarningLabel
protected

Pointer to the proxy's chart instance.

Definition at line 523 of file vtkPVXYChartView.h.

◆ HideTimeMarker

bool vtkPVXYChartView::HideTimeMarker
protected

Definition at line 528 of file vtkPVXYChartView.h.

◆ SortByXAxis

bool vtkPVXYChartView::SortByXAxis
protected

Definition at line 529 of file vtkPVXYChartView.h.

◆ IgnoreNegativeLogAxisWarning

bool vtkPVXYChartView::IgnoreNegativeLogAxisWarning
staticprotected

Definition at line 531 of file vtkPVXYChartView.h.


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