vtkPVView subclass for drawing charts More...
#include <vtkPVXYChartView.h>
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 | SetChartTypeToImage () |
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 | SetTooltipLabelFormat (const vtkStdString &labelFormat) |
void | SetTooltipNotation (int notation) |
void | SetTooltipPrecision (int precision) |
virtual vtkChart * | GetChart () |
Provides access to the chart view. More... | |
vtkAbstractContextItem * | GetContextItem () 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... | |
double * | GetTitleColor () 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... | |
vtkSelection * | GetSelection () |
Get the current selection created in the view. More... | |
virtual vtkContextView * | GetContextView () |
Get the context view. More... | |
virtual void | SetupInteractor (vtkRenderWindowInteractor *) |
Set the interactor. More... | |
vtkRenderWindowInteractor * | GetInteractor () |
Set the interactor. More... | |
virtual bool | Export (vtkAbstractChartExporter *exporter) |
Export the contents of this view using the exporter. 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 () |
virtual bool | GetViewTimeValid () |
Get ViewTimeValid. More... | |
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... | |
vtkRenderWindow * | GetRenderWindow () |
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 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... | |
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::string & | GetLogName () 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 vtkPVDataDeliveryManager * | GetDeliveryManager () |
Provides access to data delivery & cache manager for this view. More... | |
Public Member Functions inherited from vtkView | |
vtkView * | NewInstance () const |
void | AddRepresentation (vtkDataRepresentation *rep) |
void | SetRepresentation (vtkDataRepresentation *rep) |
vtkDataRepresentation * | AddRepresentationFromInputConnection (vtkAlgorithmOutput *conn) |
vtkDataRepresentation * | SetRepresentationFromInputConnection (vtkAlgorithmOutput *conn) |
vtkDataRepresentation * | AddRepresentationFromInput (vtkDataObject *input) |
vtkDataRepresentation * | SetRepresentationFromInput (vtkDataObject *input) |
void | RemoveRepresentation (vtkDataRepresentation *rep) |
void | RemoveRepresentation (vtkAlgorithmOutput *rep) |
void | RemoveAllRepresentations () |
int | GetNumberOfRepresentations () |
vtkDataRepresentation * | GetRepresentation (int index=0) |
bool | IsRepresentationPresent (vtkDataRepresentation *rep) |
virtual void | ApplyViewTheme (vtkViewTheme *vtkNotUsed(theme)) |
vtkCommand * | GetObserver () |
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) |
vtkCommand * | GetCommand (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) |
vtkCommand * | GetCommand (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 vtkPVXYChartView * | New () |
static int | IsTypeOf (const char *type) |
static vtkPVXYChartView * | SafeDownCast (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 vtkPVContextView * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkPVView | |
static int | IsTypeOf (const char *type) |
static vtkPVView * | SafeDownCast (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... | |
static void | SetPiece (vtkInformation *info, vtkPVDataRepresentation *repr, vtkDataObject *data, unsigned long trueSize=0, int port=0) |
static vtkDataObject * | GetPiece (vtkInformation *info, vtkPVDataRepresentation *repr, int port=0) |
static vtkDataObject * | GetDeliveredPiece (vtkInformation *info, vtkPVDataRepresentation *repr, int port=0) |
static void | SetPieceLOD (vtkInformation *info, vtkPVDataRepresentation *repr, vtkDataObject *data, unsigned long trueSize=0, int port=0) |
static vtkDataObject * | GetPieceLOD (vtkInformation *info, vtkPVDataRepresentation *repr, int port=0) |
static vtkDataObject * | GetDeliveredPieceLOD (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 vtkView * | New () |
static int | IsTypeOf (const char *type) |
static vtkView * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkObject | |
static vtkObject * | New () |
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 vtkObjectBase * | New () |
static vtkObjectBase * | New () |
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 | |
vtkRenderWindow * | NewRenderWindow () |
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... | |
vtkPVSession * | GetSession () |
virtual bool | GetInCaptureScreenshot () |
Flag set to true between calls to PrepareForScreenshot and CleanupAfterScreenshot . More... | |
void | SynchronizeRepresentationTemporalPipelineStates () |
Called in Update() to sync HasTemporalPipeline flags between representations on all processes. 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 vtkObjectBase * | NewInstanceInternal () const |
vtkView () | |
~vtkView () | |
virtual vtkDataRepresentation * | CreateDefaultRepresentation (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 |
vtkChart * | Chart |
Pointer to the proxy's chart instance. More... | |
vtkPVPlotTime * | PlotTime |
Pointer to the proxy's chart instance. More... | |
vtkChartWarning * | LogScaleWarningLabel |
Pointer to the proxy's chart instance. More... | |
Protected Attributes inherited from vtkPVContextView | |
vtkContextView * | ContextView |
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... | |
vtkInformation * | RequestInformation |
These are passed as arguments to vtkDataRepresentation::ProcessViewRequest(). More... | |
vtkInformationVector * | ReplyInformationVector |
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 vtkPVDataDeliveryManager * | GetDeliveryManager (vtkInformation *info) |
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 53 of file vtkPVXYChartView.h.
Definition at line 57 of file vtkPVXYChartView.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
Reimplemented from vtkPVContextView.
Reimplemented from vtkPVContextView.
|
static |
|
overridevirtual |
Reimplemented from vtkPVContextView.
void vtkPVXYChartView::SetChartType | ( | const char * | type | ) |
Set the chart type, defaults to line chart.
|
inline |
Definition at line 64 of file vtkPVXYChartView.h.
|
inline |
Definition at line 65 of file vtkPVXYChartView.h.
|
inline |
Definition at line 66 of file vtkPVXYChartView.h.
|
inline |
Definition at line 67 of file vtkPVXYChartView.h.
|
inline |
Definition at line 68 of file vtkPVXYChartView.h.
|
inline |
Definition at line 69 of file vtkPVXYChartView.h.
|
inline |
Definition at line 70 of file vtkPVXYChartView.h.
|
inline |
Definition at line 71 of file vtkPVXYChartView.h.
|
inline |
Definition at line 72 of file vtkPVXYChartView.h.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
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.
|
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.
|
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.
|
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.
void vtkPVXYChartView::SetLegendVisibility | ( | int | visible | ) |
Set the legend visibility.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
void vtkPVXYChartView::SetLegendLocation | ( | int | location | ) |
Set the legend location.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
void vtkPVXYChartView::SetLegendFontFamily | ( | const char * | family | ) |
Set the legend font family.
void vtkPVXYChartView::SetLegendFontFile | ( | const char * | file | ) |
Set the legend font file.
void vtkPVXYChartView::SetLegendFontSize | ( | int | pointSize | ) |
Set the legend font size.
void vtkPVXYChartView::SetLegendBold | ( | bool | bold | ) |
Set the legend font bold.
void vtkPVXYChartView::SetLegendItalic | ( | bool | italic | ) |
Set the legend font italic.
void vtkPVXYChartView::SetLegendSymbolWidth | ( | int | width | ) |
Set the legend symbol width (default is 25)
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.
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.
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.
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.
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.
Sets the color for the given axis.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
void vtkPVXYChartView::SetAxisLabelVisibility | ( | int | index, |
bool | visible | ||
) |
Sets whether or not the labels for the given axis are visible.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
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.
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.
Set the axis label font family for the given axis.
vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS | ( | AxisLabelFontFamily | , |
const char * | |||
) |
Set the axis label font family for the given axis.
Set the axis label font file for the given axis.
vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS | ( | AxisLabelFontFile | , |
const char * | |||
) |
Set the axis label font file for the given axis.
Set the axis label font size for the given axis.
vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS | ( | AxisLabelFontSize | , |
int | |||
) |
Set the axis label font size for the given axis.
void vtkPVXYChartView::SetAxisLabelBold | ( | int | index, |
bool | bold | ||
) |
Set the axis label font bold for the given axis.
vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS | ( | AxisLabelBold | , |
bool | |||
) |
Set the axis label font bold for the given axis.
void vtkPVXYChartView::SetAxisLabelItalic | ( | int | index, |
bool | italic | ||
) |
Set the axis label font italic for the given axis.
vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS | ( | AxisLabelItalic | , |
bool | |||
) |
Set the axis label font italic for the given axis.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Set the chart axis title's color for the given index.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
void vtkPVXYChartView::SetAxisUseCustomLabels | ( | int | index, |
bool | useCustomLabels | ||
) |
Set whether the chart uses custom labels or if the labels are placed automatically.
vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS | ( | AxisUseCustomLabels | , |
bool | |||
) |
Set whether the chart uses custom labels or if the labels are placed automatically.
Set the number of labels for the supplied axis.
vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS | ( | AxisLabelsNumber | , |
int | |||
) |
Set the number of labels for the supplied axis.
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.
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.
void vtkPVXYChartView::SetTooltipLabelFormat | ( | const vtkStdString & | labelFormat | ) |
void vtkPVXYChartView::SetTooltipNotation | ( | int | notation | ) |
void vtkPVXYChartView::SetTooltipPrecision | ( | int | precision | ) |
|
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.
|
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.
|
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.
|
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.
|
inlinestatic |
When plotting data with nonpositive values, ignore the standard warning and draw only the data with positive values.
Definition at line 462 of file vtkPVXYChartView.h.
|
inlinestatic |
Definition at line 466 of file vtkPVXYChartView.h.
|
virtual |
Provides access to the chart view.
|
overridevirtual |
Get the context item.
Implements vtkPVContextView.
|
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.
|
overridevirtual |
Overridden to rescale axes range on every update.
Reimplemented from vtkPVView.
|
overrideprotectedvirtual |
Actual rendering implementation.
Reimplemented from vtkPVContextView.
|
protected |
|
protected |
Pointer to the proxy's chart instance.
Definition at line 511 of file vtkPVXYChartView.h.
|
protected |
Pointer to the proxy's chart instance.
Definition at line 512 of file vtkPVXYChartView.h.
|
protected |
Pointer to the proxy's chart instance.
Definition at line 513 of file vtkPVXYChartView.h.
|
protected |
Definition at line 518 of file vtkPVXYChartView.h.
|
protected |
Definition at line 519 of file vtkPVXYChartView.h.
|
staticprotected |
Definition at line 521 of file vtkPVXYChartView.h.