ParaView
|
vtkPVView subclass for drawing charts More...
#include <vtkPVXYChartView.h>
Public Types | |
typedef vtkPVContextView | Superclass |
![]() | |
typedef vtkPVView | Superclass |
![]() | |
enum | { ViewTimeChangedEvent = 9000 } |
typedef vtkView | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetChartType (const char *type) |
Set the chart type, defaults to line chart. More... | |
void | SetChartTypeToLine () |
void | SetChartTypeToBar () |
void | SetChartTypeToBag () |
void | SetChartTypeToBox () |
void | SetChartTypeToArea () |
void | SetChartTypeToFunctionalBag () |
void | SetChartTypeToParallelCoordinates () |
void | SetTitle (const char *title) |
Set the title of the chart. More... | |
void | SetTitleColor (double red, double green, double blue) |
Set the chart title's color. More... | |
void | SetTitleAlignment (int alignment) |
Set the chart title's alignment. More... | |
void | SetLegendVisibility (int visible) |
Set the legend visibility. More... | |
void | SetLegendLocation (int location) |
Set the legend location. More... | |
void | SetLegendPosition (int x, int y) |
Set the legend position. More... | |
void | SetLegendFontFamily (const char *family) |
Set the legend font family. More... | |
void | SetLegendFontSize (int pointSize) |
Set the legend font size. More... | |
void | SetLegendBold (bool bold) |
Set the legend font bold. More... | |
void | SetLegendItalic (bool italic) |
Set the legend font italic. More... | |
void | SetAxisLabelFont (int index, const char *family, int pointSize, bool bold, bool italic) |
Set the axis label font for the given axis. More... | |
void | SetAxisTitleFont (int index, const char *family, int pointSize, bool bold, bool italic) |
Set the chart axis title's font for the given index. More... | |
void | SetTooltipNotation (int notation) |
void | SetTooltipPrecision (int precision) |
virtual vtkChart * | GetChart () |
Provides access to the chart view. More... | |
virtual vtkAbstractContextItem * | GetContextItem () |
Get the context item. More... | |
virtual void | SetSelection (vtkChartRepresentation *repr, vtkSelection *selection) |
Representations can use this method to set the selection for a particular representation. More... | |
virtual void | Update () |
Overridden to rescale axes range on every update. More... | |
void | SetTitleFont (const char *family, int pointSize, bool bold, bool italic) |
Set the chart title's font. More... | |
void | SetTitleFontFamily (const char *family) |
Set the chart title's font. More... | |
void | SetTitleFontSize (int pointSize) |
Set the chart title's font. More... | |
void | SetTitleBold (bool bold) |
Set the chart title's font. More... | |
void | SetTitleItalic (bool bold) |
Set the chart title's font. More... | |
void | SetGridVisibility (int index, bool visible) |
Sets whether or not the grid for the given axis is visible. More... | |
GENERATE_AXIS_FUNCTIONS (GridVisibility, bool) | |
Sets whether or not the grid for the given axis is visible. More... | |
void | SetAxisColor (int index, double red, double green, double blue) |
Sets the color for the given axis. More... | |
GENERATE_AXIS_FUNCTIONS3 (AxisColor, double, double, double) | |
Sets the color for the given axis. More... | |
void | SetGridColor (int index, double red, double green, double blue) |
Sets the color for the given axis. More... | |
GENERATE_AXIS_FUNCTIONS3 (GridColor, double, double, double) | |
Sets the color for the given axis. More... | |
void | SetAxisLabelVisibility (int index, bool visible) |
Sets whether or not the labels for the given axis are visible. More... | |
GENERATE_AXIS_FUNCTIONS (AxisLabelVisibility, bool) | |
Sets whether or not the labels for the given axis are visible. More... | |
void | SetAxisLabelFontFamily (int index, const char *family) |
Set the axis label font family for the given axis. More... | |
GENERATE_AXIS_FUNCTIONS (AxisLabelFontFamily, const char *) | |
Set the axis label font family for the given axis. More... | |
void | SetAxisLabelFontSize (int index, int pointSize) |
Set the axis label font size for the given axis. More... | |
GENERATE_AXIS_FUNCTIONS (AxisLabelFontSize, int) | |
Set the axis label font size for the given axis. More... | |
void | SetAxisLabelBold (int index, bool bold) |
Set the axis label font bold for the given axis. More... | |
GENERATE_AXIS_FUNCTIONS (AxisLabelBold, bool) | |
Set the axis label font bold for the given axis. More... | |
void | SetAxisLabelItalic (int index, bool italic) |
Set the axis label font italic for the given axis. More... | |
GENERATE_AXIS_FUNCTIONS (AxisLabelItalic, bool) | |
Set the axis label font italic for the given axis. More... | |
void | SetAxisLabelColor (int index, double red, double green, double blue) |
Sets the axis label color for the given axis. More... | |
GENERATE_AXIS_FUNCTIONS3 (AxisLabelColor, double, double, double) | |
Sets the axis label color for the given axis. More... | |
void | SetAxisLabelNotation (int index, int notation) |
Sets the axis label notation for the given axis. More... | |
GENERATE_AXIS_FUNCTIONS (AxisLabelNotation, int) | |
Sets the axis label notation for the given axis. More... | |
void | SetAxisLabelPrecision (int index, int precision) |
Sets the axis label precision for the given axis. More... | |
GENERATE_AXIS_FUNCTIONS (AxisLabelPrecision, int) | |
Sets the axis label precision for the given axis. More... | |
GENERATE_AXIS_FUNCTIONS (AxisRangeMinimum, double) | |
For axis ranges, ParaView overrides the VTK charts behavior. More... | |
GENERATE_AXIS_FUNCTIONS (AxisRangeMaximum, double) | |
For axis ranges, ParaView overrides the VTK charts behavior. More... | |
void | SetAxisUseCustomRange (int index, bool useCustomRange) |
Set whether to use the range specified by SetAxisRange(..) (or variants) or to let the chart determine the range automatically based on the data being shown. More... | |
GENERATE_AXIS_FUNCTIONS (AxisUseCustomRange, bool) | |
Set whether to use the range specified by SetAxisRange(..) (or variants) or to let the chart determine the range automatically based on the data being shown. More... | |
void | SetAxisLogScale (int index, bool logScale) |
Sets whether or not the given axis uses a log10 scale. More... | |
GENERATE_AXIS_FUNCTIONS (AxisLogScale, bool) | |
Sets whether or not the given axis uses a log10 scale. More... | |
void | SetAxisTitle (int index, const char *title) |
Set the chart axis title for the given index. More... | |
GENERATE_AXIS_FUNCTIONS (AxisTitle, const char *) | |
Set the chart axis title for the given index. More... | |
void | SetAxisTitleFontFamily (int index, const char *family) |
Set the chart axis title's font family for the given index. More... | |
GENERATE_AXIS_FUNCTIONS (AxisTitleFontFamily, const char *) | |
Set the chart axis title's font family for the given index. More... | |
void | SetAxisTitleFontSize (int index, int pointSize) |
Set the chart axis title's font size for the given index. More... | |
GENERATE_AXIS_FUNCTIONS (AxisTitleFontSize, int) | |
Set the chart axis title's font size for the given index. More... | |
void | SetAxisTitleBold (int index, bool bold) |
Set the chart axis title's font bold for the given index. More... | |
GENERATE_AXIS_FUNCTIONS (AxisTitleBold, bool) | |
Set the chart axis title's font bold for the given index. More... | |
void | SetAxisTitleItalic (int index, bool italic) |
Set the chart axis title's font italic for the given index. More... | |
GENERATE_AXIS_FUNCTIONS (AxisTitleItalic, bool) | |
Set the chart axis title's font italic for the given index. More... | |
void | SetAxisTitleColor (int index, double red, double green, double blue) |
Set the chart axis title's color for the given index. More... | |
GENERATE_AXIS_FUNCTIONS3 (AxisTitleColor, double, double, double) | |
Set the chart axis title's color for the given index. More... | |
void | SetAxisUseCustomLabels (int index, bool useCustomLabels) |
Set whether the chart uses custom labels or if the labels/ticks are placed automatically. More... | |
GENERATE_AXIS_FUNCTIONS (AxisUseCustomLabels, bool) | |
Set whether the chart uses custom labels or if the labels/ticks are placed automatically. More... | |
void | SetAxisLabelsNumber (int axis, int number) |
Set the number of labels for the supplied axis. More... | |
GENERATE_AXIS_FUNCTIONS (AxisLabelsNumber, int) | |
Set the number of labels for the supplied axis. More... | |
void | SetAxisLabels (int axis, int index, double value) |
Set the axis label positions for the supplied axis at the given index. More... | |
GENERATE_AXIS_FUNCTIONS2 (AxisLabels, int, double) | |
Set the axis label positions for the supplied axis at the given index. More... | |
virtual void | SetHideTimeMarker (bool) |
Set the visibility for the time-marker in the view. More... | |
virtual bool | GetHideTimeMarker () |
Set the visibility for the time-marker in the view. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | StillRender () |
Triggers a high-resolution render. More... | |
virtual void | InteractiveRender () |
Triggers a interactive render. More... | |
virtual void | Initialize (unsigned int id) |
Initialize the view with an identifier. More... | |
vtkSelection * | GetSelection () |
Get the current selection created in the view. More... | |
virtual bool | Export (vtkCSVExporter *exporter) |
Export the contents of this view using the exporter. More... | |
virtual vtkContextView * | GetContextView () |
Get the context view. More... | |
virtual vtkRenderWindow * | GetRenderWindow () |
virtual void | SetupInteractor (vtkRenderWindowInteractor *) |
Set the interactor. More... | |
vtkRenderWindowInteractor * | GetInteractor () |
Set the interactor. More... | |
virtual void | SetUseOffscreenRenderingForScreenshots (bool) |
Set or get whether offscreen rendering should be used during CaptureWindow calls. More... | |
virtual void | UseOffscreenRenderingForScreenshotsOn () |
Set or get whether offscreen rendering should be used during CaptureWindow calls. More... | |
virtual void | UseOffscreenRenderingForScreenshotsOff () |
Set or get whether offscreen rendering should be used during CaptureWindow calls. More... | |
virtual bool | GetUseOffscreenRenderingForScreenshots () |
Set or get whether offscreen rendering should be used during CaptureWindow calls. More... | |
virtual void | SetUseOffscreenRendering (bool) |
Get/Set whether to use offscreen rendering for all rendering. More... | |
virtual void | UseOffscreenRenderingOn () |
Get/Set whether to use offscreen rendering for all rendering. More... | |
virtual void | UseOffscreenRenderingOff () |
Get/Set whether to use offscreen rendering for all rendering. More... | |
virtual bool | GetUseOffscreenRendering () |
Get/Set whether to use offscreen rendering for all rendering. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
bool | InTileDisplayMode () |
Returns true if the application is currently in tile display mode. More... | |
bool | InCaveDisplayMode () |
Returns true if the application is currently in cave/immersive display mode. More... | |
bool | GetLocalProcessSupportsInteraction () |
Returns true if the local process can support interaction. More... | |
virtual unsigned int | GetIdentifier () |
virtual void | SetPosition (int, int) |
Set the position on this view in the multiview configuration. More... | |
virtual int * | GetPosition () |
Set the position on this view in the multiview configuration. More... | |
virtual void | GetPosition (int &, int &) |
Set the position on this view in the multiview configuration. More... | |
virtual void | GetPosition (int [2]) |
Set the position on this view in the multiview configuration. More... | |
virtual void | SetSize (int, int) |
Set the size of this view in the multiview configuration. More... | |
virtual int * | GetSize () |
Set the size of this view in the multiview configuration. More... | |
virtual void | GetSize (int &, int &) |
Set the size of this view in the multiview configuration. More... | |
virtual void | GetSize (int [2]) |
Set the size of this view in the multiview configuration. More... | |
bool | SynchronizeBounds (double bounds[6]) |
This encapsulates a whole lot of logic for communication between processes. More... | |
bool | SynchronizeSize (double &size) |
This encapsulates a whole lot of logic for communication between processes. More... | |
bool | SynchronizeSize (unsigned int &size) |
This encapsulates a whole lot of logic for communication between processes. More... | |
virtual void | SetViewTime (double value) |
Get/Set the time this view is showing. More... | |
virtual double | GetViewTime () |
Get/Set the time this view is showing. More... | |
virtual void | SetCacheKey (double) |
Get/Set the cache key. More... | |
virtual double | GetCacheKey () |
Get/Set the cache key. More... | |
virtual void | SetUseCache (bool) |
Get/Set whether caching is enabled. More... | |
virtual bool | GetUseCache () |
Get/Set whether caching is enabled. More... | |
virtual void | PrepareForScreenshot () |
These methods are used to setup the view for capturing screen shots. More... | |
virtual void | CleanupAfterScreenshot () |
These methods are used to setup the view for capturing screen shots. More... | |
Static Public Member Functions | |
static vtkPVXYChartView * | New () |
static int | IsTypeOf (const char *type) |
static vtkPVXYChartView * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkPVContextView * | SafeDownCast (vtkObject *o) |
![]() | |
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... | |
Protected Member Functions | |
vtkPVXYChartView () | |
~vtkPVXYChartView () | |
void | SetAxisRangeMinimum (int index, double min) |
void | SetAxisRangeMaximum (int index, double max) |
virtual void | Render (bool interactive) |
Actual rendering implementation. More... | |
void | SelectionChanged () |
virtual void | SetInternalTitle (const char *) |
Set the internal title, for managing time replacement in the chart title. More... | |
![]() | |
vtkPVContextView () | |
~vtkPVContextView () | |
virtual bool | MapSelectionToInput (vtkSelection *) |
Called to transform the selection. More... | |
void | OnStartRender () |
Callbacks called when the primary "renderer" in the vtkContextView starts/ends rendering. More... | |
void | OnEndRender () |
Callbacks called when the primary "renderer" in the vtkContextView starts/ends rendering. More... | |
![]() | |
vtkPVView () | |
~vtkPVView () | |
virtual void | AddRepresentationInternal (vtkDataRepresentation *rep) |
Overridden to check that the representation has View setup properly. More... | |
void | CallProcessViewRequest (vtkInformationRequestKey *passType, vtkInformation *request, vtkInformationVector *reply) |
Subclasses can use this method to trigger a pass on all representations. More... | |
Protected Attributes | |
char * | InternalTitle |
Store the unreplaced chart title in the case where ${TIME} is used... More... | |
bool | HideTimeMarker |
vtkChart * | Chart |
Pointer to the proxy's chart instance. More... | |
vtkPVPlotTime * | PlotTime |
Pointer to the proxy's chart instance. More... | |
vtkChartWarning * | LogScaleWarningLabel |
Pointer to the proxy's chart instance. More... | |
![]() | |
vtkContextView * | ContextView |
vtkRenderWindow * | RenderWindow |
bool | UseOffscreenRenderingForScreenshots |
bool | UseOffscreenRendering |
![]() | |
vtkPVSynchronizedRenderWindows * | SynchronizedWindows |
unsigned int | Identifier |
Every view gets a unique identifier that it uses to register itself with the SynchronizedWindows. More... | |
double | CacheKey |
bool | UseCache |
int | Size [2] |
int | Position [2] |
vtkInformation * | RequestInformation |
These are passed as arguments to vtkDataRepresentation::ProcessViewRequest(). More... | |
vtkInformationVector * | ReplyInformationVector |
These are passed as arguments to vtkDataRepresentation::ProcessViewRequest(). More... | |
double | ViewTime |
Subclasses can use this method to trigger a pass on all representations. More... | |
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.
Definition at line 69 of file vtkPVXYChartView.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkPVContextView.
|
static |
|
virtual |
Reimplemented from vtkPVContextView.
|
static |
void vtkPVXYChartView::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
void vtkPVXYChartView::SetChartType | ( | const char * | type | ) |
Set the chart type, defaults to line chart.
|
inline |
Definition at line 76 of file vtkPVXYChartView.h.
|
inline |
Definition at line 77 of file vtkPVXYChartView.h.
|
inline |
Definition at line 78 of file vtkPVXYChartView.h.
|
inline |
Definition at line 79 of file vtkPVXYChartView.h.
|
inline |
Definition at line 80 of file vtkPVXYChartView.h.
|
inline |
Definition at line 81 of file vtkPVXYChartView.h.
|
inline |
Definition at line 82 of file vtkPVXYChartView.h.
void vtkPVXYChartView::SetTitle | ( | const char * | title | ) |
Set the title of the chart.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
void vtkPVXYChartView::SetTitleFont | ( | const char * | family, |
int | pointSize, | ||
bool | bold, | ||
bool | italic | ||
) |
Set the chart title's font.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
void vtkPVXYChartView::SetTitleFontFamily | ( | const char * | family | ) |
Set the chart title's font.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
void vtkPVXYChartView::SetTitleFontSize | ( | int | pointSize | ) |
Set the chart title's font.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
void vtkPVXYChartView::SetTitleBold | ( | bool | bold | ) |
Set the chart title's font.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
void vtkPVXYChartView::SetTitleItalic | ( | bool | bold | ) |
Set the chart title's font.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
void vtkPVXYChartView::SetTitleColor | ( | double | red, |
double | green, | ||
double | blue | ||
) |
Set the chart title's color.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
void vtkPVXYChartView::SetTitleAlignment | ( | int | alignment | ) |
Set the chart title's alignment.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
void vtkPVXYChartView::SetLegendVisibility | ( | int | visible | ) |
Set the legend visibility.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
void vtkPVXYChartView::SetLegendLocation | ( | int | location | ) |
Set the legend location.
These methods should not be called directly. They are made public only so that the client-server-stream-interpreter can invoke them. Use the corresponding properties to change these values.
void vtkPVXYChartView::SetLegendPosition | ( | int | x, |
int | y | ||
) |
Set the legend position.
void vtkPVXYChartView::SetLegendFontFamily | ( | const char * | family | ) |
Set the legend font family.
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::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.
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.
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.
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.
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.
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.
void vtkPVXYChartView::SetAxisLabelFontFamily | ( | int | index, |
const char * | family | ||
) |
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.
void vtkPVXYChartView::SetAxisLabelFontSize | ( | int | index, |
int | pointSize | ||
) |
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
void vtkPVXYChartView::SetAxisUseCustomLabels | ( | int | index, |
bool | useCustomLabels | ||
) |
Set whether the chart uses custom labels or if the labels/ticks are placed automatically.
vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS | ( | AxisUseCustomLabels | , |
bool | |||
) |
Set whether the chart uses custom labels or if the labels/ticks are placed automatically.
void vtkPVXYChartView::SetAxisLabelsNumber | ( | int | axis, |
int | number | ||
) |
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, | ||
double | value | ||
) |
Set the axis label positions for the supplied axis at the given index.
vtkPVXYChartView::GENERATE_AXIS_FUNCTIONS2 | ( | AxisLabels | , |
int | , | ||
double | |||
) |
Set the axis label positions for the supplied axis at the given index.
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 |
Provides access to the chart view.
|
virtual |
Get the context item.
Implements vtkPVContextView.
|
virtual |
Representations can use this method to set the selection for a particular representation.
Subclasses override this method to pass on the selection to the chart using annotation link. Note this is meant to pass selection for the local process alone. The view does not manage data movement for the selection.
Implements vtkPVContextView.
|
virtual |
Overridden to rescale axes range on every update.
Reimplemented from vtkPVContextView.
|
protected |
|
protected |
|
protectedvirtual |
Actual rendering implementation.
Reimplemented from vtkPVContextView.
|
protectedvirtual |
Set the internal title, for managing time replacement in the chart title.
|
protected |
|
protected |
Store the unreplaced chart title in the case where ${TIME} is used...
Definition at line 466 of file vtkPVXYChartView.h.
|
protected |
Pointer to the proxy's chart instance.
Definition at line 478 of file vtkPVXYChartView.h.
|
protected |
Pointer to the proxy's chart instance.
Definition at line 479 of file vtkPVXYChartView.h.
|
protected |
Pointer to the proxy's chart instance.
Definition at line 480 of file vtkPVXYChartView.h.
|
protected |
Definition at line 485 of file vtkPVXYChartView.h.