Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
vtkXYChartRepresentation Class Reference

vtkXYChartRepresentation is representation that is used to add vtkPlot subclasses to a vtkChartXY instance e.g. More...

#include <vtkXYChartRepresentation.h>

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

Classes

class  vtkInternals
 

Public Types

typedef vtkChartRepresentation Superclass
 
- Public Types inherited from vtkChartRepresentation
typedef vtkPVDataRepresentation Superclass
 
- Public Types inherited from vtkPVDataRepresentation
enum  { SkippedUpdateDataEvent = vtkCommand::UserEvent + 91, UpdateTimeChangedEvent }
 
typedef vtkDataRepresentation Superclass
 
- Public Types inherited from vtkDataRepresentation
typedef vtkPassInputTypeAlgorithm Superclass
 
- Public Types inherited from vtkPassInputTypeAlgorithm
typedef vtkAlgorithm Superclass
 
- Public Types inherited from vtkAlgorithm
enum  DesiredOutputPrecision
 
enum  DesiredOutputPrecision
 
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void SetVisibility (bool visible) override
 Set visibility of the representation. More...
 
void SetChartTypeToLine ()
 
void SetChartTypeToPoints ()
 
void SetChartTypeToBar ()
 
void SetChartTypeToStacked ()
 
void SetChartTypeToBag ()
 
void SetChartTypeToFunctionalBag ()
 
void SetChartTypeToArea ()
 
vtkChartXYGetChart ()
 Returns the vtkChartXY instance from the view to which this representation is added. More...
 
void ClearSeriesVisibilities ()
 
void ClearLineThicknesses ()
 
void ClearLineStyles ()
 
void ClearColors ()
 
void ClearOpacities ()
 
void ClearAxisCorners ()
 
void ClearMarkerSizes ()
 
void ClearMarkerStyles ()
 
void ClearLabels ()
 
virtual void SetSelectionColor (double, double, double)
 
virtual void SetSelectionColor (double [3])
 
virtual doubleGetSelectionColor ()
 
virtual void GetSelectionColor (double &, double &, double &)
 
virtual void GetSelectionColor (double [3])
 
virtual void SetChartType (int)
 Get/Set the chart type, defaults to line chart. More...
 
virtual int GetChartType ()
 Get/Set the chart type, defaults to line chart. More...
 
virtual void SetXAxisSeriesName (const char *)
 Set the series to use as the X-axis. More...
 
virtual char * GetXAxisSeriesName ()
 Set the series to use as the X-axis. More...
 
virtual void SetUseIndexForXAxis (bool)
 Set whether the index should be used for the x axis. More...
 
virtual bool GetUseIndexForXAxis ()
 Set whether the index should be used for the x axis. More...
 
void SetSortDataByXAxis (bool val)
 Get/set whether the points in the chart should be sorted by their x-axis value. More...
 
virtual bool GetSortDataByXAxis ()
 Get/set whether the points in the chart should be sorted by their x-axis value. More...
 
void SetSeriesVisibility (const char *seriesname, bool visible)
 Set/Clear the properties for Y series/columns. More...
 
void SetLineThickness (const char *name, double value)
 Set/Clear the properties for Y series/columns. More...
 
void SetLineStyle (const char *name, int value)
 Set/Clear the properties for Y series/columns. More...
 
void SetColor (const char *name, double r, double g, double b)
 Set/Clear the properties for Y series/columns. More...
 
void SetOpacity (const char *seriesname, double opacity)
 Set/Clear the properties for Y series/columns. More...
 
void SetAxisCorner (const char *name, int corner)
 Set/Clear the properties for Y series/columns. More...
 
void SetMarkerStyle (const char *name, int style)
 Set/Clear the properties for Y series/columns. More...
 
void SetMarkerSize (const char *name, double value)
 Set/Clear the properties for Y series/columns. More...
 
void SetLabel (const char *name, const char *label)
 Set/Clear the properties for Y series/columns. More...
 
void SetUseColorMapping (const char *name, bool useColorMapping)
 Set/Clear the properties for Y series/columns. More...
 
void SetLookupTable (const char *name, vtkScalarsToColors *lut)
 Set/Clear the properties for Y series/columns. More...
 
const char * GetLabel (const char *name) const
 Set/Clear the properties for Y series/columns. More...
 
virtual void SetSeriesLabelPrefix (const char *)
 Get/Set the series label prefix. More...
 
virtual char * GetSeriesLabelPrefix ()
 Get/Set the series label prefix. More...
 
bool Export (vtkAbstractChartExporter *exporter) override
 Called by vtkPVContextView::Export() to export the representation's data to a CSV file. More...
 
- Public Member Functions inherited from vtkChartRepresentation
void SetSelectionRepresentation (vtkChartSelectionRepresentation *)
 These must only be set during initialization before adding the representation to any views or calling Update(). More...
 
void MarkModified () override
 This needs to be called on all instances of vtkGeometryRepresentation when the input is modified. More...
 
void SetCompositeDataSetIndex (unsigned int)
 
void AddCompositeDataSetIndex (unsigned int)
 
void ResetCompositeDataSetIndices ()
 
unsigned int Initialize (unsigned int minIdAvailable, unsigned int maxIdAvailable) override
 Override because of internal selection representations that need to be initialized as well. More...
 
virtual std::string GetDefaultSeriesLabel (const std::string &tableName, const std::string &columnName)
 Method to provide the default name given the name of a table and a column in that table. More...
 
virtual bool MapSelectionToInput (vtkSelection *sel)
 This method is called on the client-side by the vtkPVContextView whenever a new selection is made on all the visible representations in that view. More...
 
virtual bool MapSelectionToView (vtkSelection *sel)
 This is the inverse of MapSelectionToInput(). More...
 
void SetFieldAssociation (int)
 Set the field association for arrays to use. More...
 
virtual int GetFieldAssociation ()
 Set the field association for arrays to use. More...
 
virtual void SetFlattenTable (int)
 Flatten the table, i.e. More...
 
virtual int GetFlattenTable ()
 Flatten the table, i.e. More...
 
virtual bool Export (vtkAbstractChartExporter *vtkNotUsed(exporter))
 Called by vtkPVContextView::Export() to export the representation's data to a CSV file. More...
 
- Public Member Functions inherited from vtkPVDataRepresentation
unsigned int GetUniqueIdentifier ()
 Return 0 if the Initialize() method was not called otherwise a unique ID that will be shared across the processes for that same object. More...
 
virtual bool GetVisibility ()
 
virtual vtkDataObjectGetRenderedDataObject (int vtkNotUsed(port))
 Returns the data object that is rendered from the given input port. More...
 
double GetCacheKey () const
 Returns the cache-key the representation is currently using. More...
 
vtkAlgorithmOutputGetInternalOutputPort () override
 Retrieves an output port for the input data object at the specified port and connection index. More...
 
vtkAlgorithmOutputGetInternalOutputPort (int port) override
 
vtkAlgorithmOutputGetInternalOutputPort (int port, int conn) override
 
vtkViewGetView () const
 Provides access to the view. More...
 
vtkMTimeType GetPipelineDataTime ()
 Returns the timestamp when RequestData was executed on the representation. More...
 
bool GetNeedsUpdate ()
 Returns true if the representation needs an update. More...
 
virtual void SetArrayIdNames (const char *vtkNotUsed(pointArray), const char *vtkNotUsed(cellArray))
 Specify the array names used for the selection. More...
 
virtual void SetUpdateTime (double time)
 Set the update time. More...
 
virtual double GetUpdateTime ()
 Set the update time. More...
 
virtual bool GetUpdateTimeValid ()
 Get whether the UpdateTime is valid. More...
 
void ResetUpdateTime ()
 Get whether the UpdateTime is valid. More...
 
virtual void SetForcedCacheKey (double val)
 Generally, caching is within the purview of the vtkPVView (and subclasses). More...
 
virtual void SetForceUseCache (bool val)
 Generally, caching is within the purview of the vtkPVView (and subclasses). More...
 
virtual double GetForcedCacheKey ()
 Generally, caching is within the purview of the vtkPVView (and subclasses). More...
 
virtual bool GetForceUseCache ()
 Generally, caching is within the purview of the vtkPVView (and subclasses). More...
 
bool AddToView (vtkView *view) override
 Making these methods public. More...
 
bool RemoveFromView (vtkView *view) override
 Making these methods public. 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...
 
virtual bool GetHasTemporalPipeline ()
 This flag indicates if the representation is for a temporal pipeline. More...
 
virtual void SetHasTemporalPipeline (bool)
 This flag indicates if the representation is for a temporal pipeline. More...
 
void SetInputConnection (int port, vtkAlgorithmOutput *input) override
 Overridden to ensure that MarkModified is called. More...
 
void AddInputConnection (int port, vtkAlgorithmOutput *input) override
 Overridden to ensure that MarkModified is called. More...
 
- Public Member Functions inherited from vtkDataRepresentation
vtkDataRepresentationNewInstance () const
 
virtual void ApplyViewTheme (vtkViewTheme *vtkNotUsed(theme))
 
virtual vtkSelectionConvertSelection (vtkView *view, vtkSelection *selection)
 
vtkAlgorithmOutputGetInputConnection (int port=0, int index=0)
 
vtkAnnotationLinkGetAnnotationLink ()
 
void SetAnnotationLink (vtkAnnotationLink *link)
 
void Select (vtkView *view, vtkSelection *selection)
 
void Select (vtkView *view, vtkSelection *selection, bool extend)
 
void Annotate (vtkView *view, vtkAnnotationLayers *annotations)
 
void Annotate (vtkView *view, vtkAnnotationLayers *annotations, bool extend)
 
virtual void SetSelectable (bool)
 
virtual bool GetSelectable ()
 
virtual void SelectableOn ()
 
virtual void SelectableOff ()
 
void UpdateSelection (vtkSelection *selection)
 
void UpdateSelection (vtkSelection *selection, bool extend)
 
void UpdateAnnotations (vtkAnnotationLayers *annotations)
 
void UpdateAnnotations (vtkAnnotationLayers *annotations, bool extend)
 
virtual vtkAlgorithmOutputGetInternalAnnotationOutputPort ()
 
virtual vtkAlgorithmOutputGetInternalAnnotationOutputPort (int port)
 
virtual vtkAlgorithmOutputGetInternalAnnotationOutputPort (int port, int conn)
 
virtual vtkAlgorithmOutputGetInternalSelectionOutputPort ()
 
virtual vtkAlgorithmOutputGetInternalSelectionOutputPort (int port)
 
virtual vtkAlgorithmOutputGetInternalSelectionOutputPort (int port, int conn)
 
virtual void SetSelectionType (int)
 
virtual int GetSelectionType ()
 
virtual void SetSelectionArrayNames (vtkStringArray *names)
 
virtual vtkStringArrayGetSelectionArrayNames ()
 
virtual void SetSelectionArrayName (const char *name)
 
virtual const char * GetSelectionArrayName ()
 
vtkAlgorithmOutputGetInputConnection (int port=0, int index=0)
 
vtkAnnotationLinkGetAnnotationLink ()
 
void SetAnnotationLink (vtkAnnotationLink *link)
 
void Select (vtkView *view, vtkSelection *selection)
 
void Select (vtkView *view, vtkSelection *selection, bool extend)
 
void Annotate (vtkView *view, vtkAnnotationLayers *annotations)
 
void Annotate (vtkView *view, vtkAnnotationLayers *annotations, bool extend)
 
virtual void SetSelectable (bool)
 
virtual bool GetSelectable ()
 
virtual void SelectableOn ()
 
virtual void SelectableOff ()
 
void UpdateSelection (vtkSelection *selection)
 
void UpdateSelection (vtkSelection *selection, bool extend)
 
void UpdateAnnotations (vtkAnnotationLayers *annotations)
 
void UpdateAnnotations (vtkAnnotationLayers *annotations, bool extend)
 
virtual vtkAlgorithmOutputGetInternalAnnotationOutputPort ()
 
virtual vtkAlgorithmOutputGetInternalAnnotationOutputPort (int port)
 
virtual vtkAlgorithmOutputGetInternalAnnotationOutputPort (int port, int conn)
 
virtual vtkAlgorithmOutputGetInternalSelectionOutputPort ()
 
virtual vtkAlgorithmOutputGetInternalSelectionOutputPort (int port)
 
virtual vtkAlgorithmOutputGetInternalSelectionOutputPort (int port, int conn)
 
virtual void SetSelectionType (int)
 
virtual int GetSelectionType ()
 
virtual void SetSelectionArrayNames (vtkStringArray *names)
 
virtual vtkStringArrayGetSelectionArrayNames ()
 
virtual void SetSelectionArrayName (const char *name)
 
virtual const char * GetSelectionArrayName ()
 
- Public Member Functions inherited from vtkPassInputTypeAlgorithm
vtkPassInputTypeAlgorithmNewInstance () const
 
vtkPolyDataGetPolyDataOutput ()
 
vtkStructuredPointsGetStructuredPointsOutput ()
 
vtkImageDataGetImageDataOutput ()
 
vtkStructuredGridGetStructuredGridOutput ()
 
vtkUnstructuredGridGetUnstructuredGridOutput ()
 
vtkRectilinearGridGetRectilinearGridOutput ()
 
vtkTableGetTableOutput ()
 
vtkGraphGetGraphOutput ()
 
vtkDataObjectGetInput ()
 
vtkDataObjectGetOutput ()
 
vtkDataObjectGetOutput (int)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
void AddInputData (vtkDataObject *)
 
void AddInputData (int, vtkDataObject *)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
vtkDataObjectGetOutput ()
 
vtkDataObjectGetOutput (int)
 
void SetInputData (vtkDataObject *)
 
void SetInputData (int, vtkDataObject *)
 
void AddInputData (vtkDataObject *)
 
void AddInputData (int, vtkDataObject *)
 
virtual int ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
- Public Member Functions inherited from vtkAlgorithm
vtkAlgorithmNewInstance () const
 
int HasExecutive ()
 
vtkExecutiveGetExecutive ()
 
virtual void SetExecutive (vtkExecutive *executive)
 
virtual int ModifyRequest (vtkInformation *request, int when)
 
vtkInformationGetInputPortInformation (int port)
 
vtkInformationGetOutputPortInformation (int port)
 
int GetNumberOfInputPorts ()
 
int GetNumberOfOutputPorts ()
 
void UpdateProgress (double amount)
 
vtkInformationGetInputArrayInformation (int idx)
 
void RemoveAllInputs ()
 
vtkDataObjectGetOutputDataObject (int port)
 
virtual void RemoveInputConnection (int port, vtkAlgorithmOutput *input)
 
virtual void RemoveInputConnection (int port, int idx)
 
virtual void RemoveAllInputConnections (int port)
 
int GetNumberOfInputConnections (int port)
 
int GetTotalNumberOfInputConnections ()
 
vtkAlgorithmOutputGetInputConnection (int port, int index)
 
vtkAlgorithmGetInputAlgorithm (int port, int index, int &algPort)
 
vtkAlgorithmGetInputAlgorithm (int port, int index)
 
vtkExecutiveGetInputExecutive (int port, int index)
 
vtkInformationGetInputInformation (int port, int index)
 
vtkInformationGetOutputInformation (int port)
 
virtual int Update (int port, vtkInformationVector *requests)
 
virtual int Update (vtkInformation *requests)
 
virtual int UpdateExtent (const int extents[6])
 
virtual void UpdateInformation ()
 
virtual void UpdateDataObject ()
 
virtual void PropagateUpdateExtent ()
 
virtual void UpdateWholeExtent ()
 
void ConvertTotalInputToPortConnection (int ind, int &port, int &conn)
 
int SetUpdateExtentToWholeExtent (int port)
 
int SetUpdateExtentToWholeExtent ()
 
void SetUpdateExtent (int port, int extent[6])
 
void SetUpdateExtent (int extent[6])
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
int ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo)
 
virtual int ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime)
 
virtual vtkInformationGetInformation ()
 
virtual void SetInformation (vtkInformation *)
 
void Register (vtkObjectBase *o) VTK_OVERRIDE
 
void UnRegister (vtkObjectBase *o) VTK_OVERRIDE
 
virtual void SetAbortExecute (int)
 
virtual int GetAbortExecute ()
 
virtual void AbortExecuteOn ()
 
virtual void AbortExecuteOff ()
 
virtual void SetProgress (double)
 
virtual double GetProgress ()
 
void SetProgressText (const char *ptext)
 
virtual char * GetProgressText ()
 
virtual unsigned long GetErrorCode ()
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
 
virtual void SetInputArrayToProcess (int idx, vtkInformation *info)
 
virtual void SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
 
vtkDataObjectGetInputDataObject (int port, int connection)
 
virtual void SetInputConnection (vtkAlgorithmOutput *input)
 
virtual void AddInputConnection (vtkAlgorithmOutput *input)
 
virtual void SetInputDataObject (int port, vtkDataObject *data)
 
virtual void SetInputDataObject (vtkDataObject *data)
 
virtual void AddInputDataObject (int port, vtkDataObject *data)
 
virtual void AddInputDataObject (vtkDataObject *data)
 
vtkAlgorithmOutputGetOutputPort (int index)
 
vtkAlgorithmOutputGetOutputPort ()
 
vtkAlgorithmGetInputAlgorithm ()
 
vtkExecutiveGetInputExecutive ()
 
vtkInformationGetInputInformation ()
 
virtual void Update (int port)
 
virtual void Update ()
 
virtual int UpdatePiece (int piece, int numPieces, int ghostLevels, const int extents[6]=0)
 
virtual int UpdateTimeStep (double time, int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0)
 
virtual void SetReleaseDataFlag (int)
 
virtual int GetReleaseDataFlag ()
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output)
 
int UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType)
 
void SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel)
 
void SetUpdateExtent (int piece, int numPieces, int ghostLevel)
 
intGetUpdateExtent ()
 
intGetUpdateExtent (int port)
 
void GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1)
 
void GetUpdateExtent (int extent[6])
 
void GetUpdateExtent (int port, int extent[6])
 
int GetUpdatePiece ()
 
int GetUpdatePiece (int port)
 
int GetUpdateNumberOfPieces ()
 
int GetUpdateNumberOfPieces (int port)
 
int GetUpdateGhostLevel ()
 
int GetUpdateGhostLevel (int port)
 
void SetProgressObserver (vtkProgressObserver *)
 
virtual vtkProgressObserverGetProgressObserver ()
 
- 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)
 
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 vtkXYChartRepresentationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkXYChartRepresentationSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkChartRepresentation
static vtkChartRepresentationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkChartRepresentationSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkPVDataRepresentation
static int IsTypeOf (const char *type)
 
static vtkPVDataRepresentationSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkDataRepresentation
static vtkDataRepresentationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkDataRepresentationSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkPassInputTypeAlgorithm
static vtkPassInputTypeAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPassInputTypeAlgorithmSafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAlgorithm
static vtkAlgorithmNew ()
 
static int IsTypeOf (const char *type)
 
static vtkAlgorithmSafeDownCast (vtkObjectBase *o)
 
static vtkInformationIntegerKeyINPUT_IS_OPTIONAL ()
 
static vtkInformationIntegerKeyINPUT_IS_REPEATABLE ()
 
static vtkInformationInformationVectorKeyINPUT_REQUIRED_FIELDS ()
 
static vtkInformationStringVectorKeyINPUT_REQUIRED_DATA_TYPE ()
 
static vtkInformationInformationVectorKeyINPUT_ARRAYS_TO_PROCESS ()
 
static vtkInformationIntegerKeyINPUT_PORT ()
 
static vtkInformationIntegerKeyINPUT_CONNECTION ()
 
static vtkInformationIntegerKeyCAN_PRODUCE_SUB_EXTENT ()
 
static vtkInformationIntegerKeyCAN_HANDLE_PIECE_REQUEST ()
 
static void SetDefaultExecutivePrototype (vtkExecutive *proto)
 
- 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

 vtkXYChartRepresentation ()
 
 ~vtkXYChartRepresentation () override
 
bool RemoveFromView (vtkView *view) override
 Overridden to remove all plots from the view. More...
 
int ProcessViewRequest (vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo) override
 vtkAlgorithm::ProcessRequest() equivalent for rendering passes. More...
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 Subclasses should override this to connect inputs to the internal pipeline as necessary. More...
 
vtkSmartPointer< vtkDataObjectTransformTable (vtkSmartPointer< vtkDataObject >) override
 Method to be overridden to apply an operation of the table after it is gathered to the first rank for rendering the chart. More...
 
void PrepareForRendering () override
 This method is called before actual render if this->MTime was modified since the last time this method was called. More...
 
- Protected Member Functions inherited from vtkChartRepresentation
 vtkChartRepresentation ()
 
 ~vtkChartRepresentation () override
 
int FillInputPortInformation (int port, vtkInformation *info) override
 Fill input port information. More...
 
bool AddToView (vtkView *view) override
 Adds the representation to the view. More...
 
bool RemoveFromView (vtkView *view) override
 Removes the representation to the view. More...
 
vtkTableGetLocalOutput (bool pre_delivery=false)
 Convenience method to get the first vtkTable from LocalOutput, if any. More...
 
virtual vtkSmartPointer< vtkDataObjectTransformInputData (vtkDataObject *data)
 Method to be overridden to transform input data. More...
 
virtual vtkSmartPointer< vtkDataObjectReduceDataToRoot (vtkDataObject *data)
 Chart representation/views expect that the data is reduced to root node and then passed on the rendering nodes. More...
 
bool GetLocalOutput (MapOfTables &tables)
 Convenience method to get all vtkTable instances with their associated names. More...
 
- Protected Member Functions inherited from vtkPVDataRepresentation
 vtkPVDataRepresentation ()
 
 ~vtkPVDataRepresentation () override
 
vtkExecutiveCreateDefaultExecutive () override
 Create a default executive. More...
 
int RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
 
int RequestUpdateTime (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 
- Protected Member Functions inherited from vtkDataRepresentation
virtual vtkObjectBaseNewInstanceInternal () const
 
 vtkDataRepresentation ()
 
 ~vtkDataRepresentation ()
 
virtual void ProcessEvents (vtkObject *caller, unsigned long eventId, void *callData)
 
virtual bool AddToView (vtkView *vtkNotUsed(view))
 
virtual bool RemoveFromView (vtkView *vtkNotUsed(view))
 
virtual vtkAnnotationLayersConvertAnnotations (vtkView *view, vtkAnnotationLayers *annotations)
 
vtkTrivialProducerGetInternalInput (int port, int conn)
 
void SetInternalInput (int port, int conn, vtkTrivialProducer *producer)
 
virtual void SetAnnotationLinkInternal (vtkAnnotationLink *link)
 
- Protected Member Functions inherited from vtkPassInputTypeAlgorithm
 vtkPassInputTypeAlgorithm ()
 
 ~vtkPassInputTypeAlgorithm ()
 
virtual int RequestUpdateTimeDependentInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int FillOutputPortInformation (int port, vtkInformation *info)
 
vtkDataObjectGetInput (int port)
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestDataObject (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
 
- Protected Member Functions inherited from vtkAlgorithm
 vtkAlgorithm ()
 
 ~vtkAlgorithm ()
 
virtual void SetNumberOfInputPorts (int n)
 
virtual void SetNumberOfOutputPorts (int n)
 
int InputPortIndexInRange (int index, const char *action)
 
int OutputPortIndexInRange (int index, const char *action)
 
int GetInputArrayAssociation (int idx, vtkInformationVector **inputVector)
 
void ReportReferences (vtkGarbageCollector *) VTK_OVERRIDE
 
virtual void SetNumberOfInputConnections (int port, int n)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
int GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector)
 
int GetInputArrayAssociation (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkDataArrayGetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input)
 
vtkDataArrayGetInputArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input)
 
vtkAbstractArrayGetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association)
 
vtkInformationGetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector)
 
virtual void SetErrorCode (unsigned long)
 
virtual void SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input)
 
void SetInputDataInternal (int port, vtkDataObject *input)
 
void AddInputDataInternal (int port, vtkDataObject *input)
 
- 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 &)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

vtkInternalsInternals
 
- Protected Attributes inherited from vtkChartRepresentation
int FieldAssociation
 
vtkWeakPointer< vtkPVContextViewContextView
 
int FlattenTable
 
vtkSmartPointer< vtkMultiBlockDataSetLocalOutput
 
std::set< unsigned intCompositeIndices
 
vtkWeakPointer< vtkChartSelectionRepresentationSelectionRepresentation
 
- Protected Attributes inherited from vtkPVDataRepresentation
double UpdateTime
 
bool UpdateTimeValid
 
unsigned int UniqueIdentifier
 
- Protected Attributes inherited from vtkDataRepresentation
bool Selectable
 
int SelectionType
 
vtkStringArraySelectionArrayNames
 
CommandObserver
 
vtkAnnotationLinkAnnotationLinkInternal
 
- Protected Attributes inherited from vtkAlgorithm
vtkInformationInformation
 
double Progress
 
char * ProgressText
 
vtkProgressObserverProgressObserver
 
unsigned long ErrorCode
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Friends

class vtkInternals
 

Additional Inherited Members

- Public Attributes inherited from vtkAlgorithm
 SINGLE_PRECISION
 
 DOUBLE_PRECISION
 
 DEFAULT_PRECISION
 
int AbortExecute
 
- Protected Types inherited from vtkChartRepresentation
typedef std::map< std::string, std::pair< vtkSmartPointer< vtkTable >, unsigned int > > MapOfTables
 
- Static Protected Member Functions inherited from vtkAlgorithm
static vtkInformationIntegerKeyPORT_REQUIREMENTS_FILLED ()
 
- Static Protected Attributes inherited from vtkAlgorithm
static vtkExecutiveDefaultExecutivePrototype
 

Detailed Description

vtkXYChartRepresentation is representation that is used to add vtkPlot subclasses to a vtkChartXY instance e.g.

adding vtkPlotBar to create a bar chart or vtkPlotLine to create a line chart. For every selected series (or column in a vtkTable), this class adds a new vtkPlot to the vtkChartXY. vtkXYChartRepresentation provides a union of APIs for changing the appearance of vtkPlot instances. Developers should only expose the applicable API in the ServerManager XML.

To select which type of vtkPlot instances this class will use, you must set the ChartType. Refer to vtkChartXY::AddPlot() for details on what the type must be.

Definition at line 28 of file vtkXYChartRepresentation.h.

Member Typedef Documentation

◆ Superclass

Definition at line 32 of file vtkXYChartRepresentation.h.

Constructor & Destructor Documentation

◆ vtkXYChartRepresentation()

vtkXYChartRepresentation::vtkXYChartRepresentation ( )
protected

◆ ~vtkXYChartRepresentation()

vtkXYChartRepresentation::~vtkXYChartRepresentation ( )
overrideprotected

Member Function Documentation

◆ New()

static vtkXYChartRepresentation* vtkXYChartRepresentation::New ( )
static

◆ GetClassName()

virtual const char* vtkXYChartRepresentation::GetClassName ( )
virtual

◆ IsTypeOf()

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

◆ IsA()

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

◆ SafeDownCast()

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

◆ PrintSelf()

void vtkXYChartRepresentation::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkChartRepresentation.

◆ SetVisibility()

void vtkXYChartRepresentation::SetVisibility ( bool  visible)
overridevirtual

Set visibility of the representation.

Overridden to ensure that internally added vtkPlot instances are updated when hiding the representation.

Reimplemented from vtkChartRepresentation.

◆ SetChartType()

virtual void vtkXYChartRepresentation::SetChartType ( int  )
virtual

Get/Set the chart type, defaults to line chart.

This must be set before this representation is updated. Valid values are vtkChart::LINE, vtkChart::POINTS, vtkChart::BAR, etc. Default is vtkChart::LINE.

◆ GetChartType()

virtual int vtkXYChartRepresentation::GetChartType ( )
virtual

Get/Set the chart type, defaults to line chart.

This must be set before this representation is updated. Valid values are vtkChart::LINE, vtkChart::POINTS, vtkChart::BAR, etc. Default is vtkChart::LINE.

◆ SetChartTypeToLine()

void vtkXYChartRepresentation::SetChartTypeToLine ( )

◆ SetChartTypeToPoints()

void vtkXYChartRepresentation::SetChartTypeToPoints ( )

◆ SetChartTypeToBar()

void vtkXYChartRepresentation::SetChartTypeToBar ( )

◆ SetChartTypeToStacked()

void vtkXYChartRepresentation::SetChartTypeToStacked ( )

◆ SetChartTypeToBag()

void vtkXYChartRepresentation::SetChartTypeToBag ( )

◆ SetChartTypeToFunctionalBag()

void vtkXYChartRepresentation::SetChartTypeToFunctionalBag ( )

◆ SetChartTypeToArea()

void vtkXYChartRepresentation::SetChartTypeToArea ( )

◆ GetChart()

vtkChartXY* vtkXYChartRepresentation::GetChart ( )

Returns the vtkChartXY instance from the view to which this representation is added.

Thus this will return a non-null value only when this representation is added to a view.

◆ SetXAxisSeriesName()

virtual void vtkXYChartRepresentation::SetXAxisSeriesName ( const char *  )
virtual

Set the series to use as the X-axis.

◆ GetXAxisSeriesName()

virtual char* vtkXYChartRepresentation::GetXAxisSeriesName ( )
virtual

Set the series to use as the X-axis.

◆ SetUseIndexForXAxis()

virtual void vtkXYChartRepresentation::SetUseIndexForXAxis ( bool  )
virtual

Set whether the index should be used for the x axis.

When true, XSeriesName is ignored.

◆ GetUseIndexForXAxis()

virtual bool vtkXYChartRepresentation::GetUseIndexForXAxis ( )
virtual

Set whether the index should be used for the x axis.

When true, XSeriesName is ignored.

◆ SetSortDataByXAxis()

void vtkXYChartRepresentation::SetSortDataByXAxis ( bool  val)

Get/set whether the points in the chart should be sorted by their x-axis value.

Points are connected in line plots in the order they are in the table. Sorting by the x-axis allows the line to have no cycles.

◆ GetSortDataByXAxis()

virtual bool vtkXYChartRepresentation::GetSortDataByXAxis ( )
virtual

Get/set whether the points in the chart should be sorted by their x-axis value.

Points are connected in line plots in the order they are in the table. Sorting by the x-axis allows the line to have no cycles.

◆ SetSeriesVisibility()

void vtkXYChartRepresentation::SetSeriesVisibility ( const char *  seriesname,
bool  visible 
)

Set/Clear the properties for Y series/columns.

◆ SetLineThickness()

void vtkXYChartRepresentation::SetLineThickness ( const char *  name,
double  value 
)

Set/Clear the properties for Y series/columns.

◆ SetLineStyle()

void vtkXYChartRepresentation::SetLineStyle ( const char *  name,
int  value 
)

Set/Clear the properties for Y series/columns.

◆ SetColor()

void vtkXYChartRepresentation::SetColor ( const char *  name,
double  r,
double  g,
double  b 
)

Set/Clear the properties for Y series/columns.

◆ SetOpacity()

void vtkXYChartRepresentation::SetOpacity ( const char *  seriesname,
double  opacity 
)

Set/Clear the properties for Y series/columns.

◆ SetAxisCorner()

void vtkXYChartRepresentation::SetAxisCorner ( const char *  name,
int  corner 
)

Set/Clear the properties for Y series/columns.

◆ SetMarkerStyle()

void vtkXYChartRepresentation::SetMarkerStyle ( const char *  name,
int  style 
)

Set/Clear the properties for Y series/columns.

◆ SetMarkerSize()

void vtkXYChartRepresentation::SetMarkerSize ( const char *  name,
double  value 
)

Set/Clear the properties for Y series/columns.

◆ SetLabel()

void vtkXYChartRepresentation::SetLabel ( const char *  name,
const char *  label 
)

Set/Clear the properties for Y series/columns.

◆ SetUseColorMapping()

void vtkXYChartRepresentation::SetUseColorMapping ( const char *  name,
bool  useColorMapping 
)

Set/Clear the properties for Y series/columns.

◆ SetLookupTable()

void vtkXYChartRepresentation::SetLookupTable ( const char *  name,
vtkScalarsToColors lut 
)

Set/Clear the properties for Y series/columns.

◆ GetLabel()

const char* vtkXYChartRepresentation::GetLabel ( const char *  name) const

Set/Clear the properties for Y series/columns.

◆ ClearSeriesVisibilities()

void vtkXYChartRepresentation::ClearSeriesVisibilities ( )

◆ ClearLineThicknesses()

void vtkXYChartRepresentation::ClearLineThicknesses ( )

◆ ClearLineStyles()

void vtkXYChartRepresentation::ClearLineStyles ( )

◆ ClearColors()

void vtkXYChartRepresentation::ClearColors ( )

◆ ClearOpacities()

void vtkXYChartRepresentation::ClearOpacities ( )

◆ ClearAxisCorners()

void vtkXYChartRepresentation::ClearAxisCorners ( )

◆ ClearMarkerSizes()

void vtkXYChartRepresentation::ClearMarkerSizes ( )

◆ ClearMarkerStyles()

void vtkXYChartRepresentation::ClearMarkerStyles ( )

◆ ClearLabels()

void vtkXYChartRepresentation::ClearLabels ( )

◆ SetSelectionColor() [1/2]

virtual void vtkXYChartRepresentation::SetSelectionColor ( double  ,
double  ,
double   
)
virtual

◆ SetSelectionColor() [2/2]

virtual void vtkXYChartRepresentation::SetSelectionColor ( double  [3])
virtual

◆ GetSelectionColor() [1/3]

virtual double* vtkXYChartRepresentation::GetSelectionColor ( )
virtual

◆ GetSelectionColor() [2/3]

virtual void vtkXYChartRepresentation::GetSelectionColor ( double ,
double ,
double  
)
virtual

◆ GetSelectionColor() [3/3]

virtual void vtkXYChartRepresentation::GetSelectionColor ( double  [3])
virtual

◆ SetSeriesLabelPrefix()

virtual void vtkXYChartRepresentation::SetSeriesLabelPrefix ( const char *  )
virtual

Get/Set the series label prefix.

◆ GetSeriesLabelPrefix()

virtual char* vtkXYChartRepresentation::GetSeriesLabelPrefix ( )
virtual

Get/Set the series label prefix.

◆ Export()

bool vtkXYChartRepresentation::Export ( vtkAbstractChartExporter exporter)
override

Called by vtkPVContextView::Export() to export the representation's data to a CSV file.

Return false on failure which will call the exporting process to abort and raise an error. Default implementation simply returns false.

◆ RemoveFromView()

bool vtkXYChartRepresentation::RemoveFromView ( vtkView view)
overrideprotected

Overridden to remove all plots from the view.

◆ ProcessViewRequest()

int vtkXYChartRepresentation::ProcessViewRequest ( vtkInformationRequestKey request_type,
vtkInformation inInfo,
vtkInformation outInfo 
)
overrideprotectedvirtual

vtkAlgorithm::ProcessRequest() equivalent for rendering passes.

This is typically called by the vtkView to request meta-data from the representations or ask them to perform certain tasks e.g. PrepareForRendering. Overridden to handle REQUEST_RENDER() to call PrepareForRendering.

Reimplemented from vtkChartRepresentation.

◆ RequestData()

int vtkXYChartRepresentation::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
)
overrideprotectedvirtual

Subclasses should override this to connect inputs to the internal pipeline as necessary.

Since most representations are "meta-filters" (i.e. filters containing other filters), you should create shallow copies of your input before connecting to the internal pipeline. The convenience method GetInternalOutputPort will create a cached shallow copy of a specified input for you. The related helper functions GetInternalAnnotationOutputPort, GetInternalSelectionOutputPort should be used to obtain a selection or annotation port whose selections are localized for a particular input data object.

Reimplemented from vtkChartRepresentation.

◆ TransformTable()

vtkSmartPointer<vtkDataObject> vtkXYChartRepresentation::TransformTable ( vtkSmartPointer< vtkDataObject table)
overrideprotectedvirtual

Method to be overridden to apply an operation of the table after it is gathered to the first rank for rendering the chart.

This allows subclasses to operate on the final table. The default implementation just returns the input.

Reimplemented from vtkChartRepresentation.

◆ PrepareForRendering()

void vtkXYChartRepresentation::PrepareForRendering ( )
overrideprotectedvirtual

This method is called before actual render if this->MTime was modified since the last time this method was called.

Subclasses should override to update "appearance" related changes that don't affect data. When this method is called, you're assured that this->ContextView is valid. Note that this method will not be called if this->GetVisibility() returns false, this subclasses should also override SetVisibility() to hide "actors" and such.

Reimplemented from vtkChartRepresentation.

Friends And Related Function Documentation

◆ vtkInternals

friend class vtkInternals
friend

Definition at line 160 of file vtkXYChartRepresentation.h.

Member Data Documentation

◆ Internals

vtkInternals* vtkXYChartRepresentation::Internals
protected

Definition at line 162 of file vtkXYChartRepresentation.h.


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