vtkChartRepresentation is the base representation for charting representations. More...
#include <vtkChartRepresentation.h>


Public Types | |
| enum | ArraySelectionModes { MERGED_BLOCKS = 0, INDIVIDUAL_BLOCKS = 1 } |
| 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 | SetSelectionRepresentation (vtkChartSelectionRepresentation *) |
| These must only be set during initialization before adding the representation to any views or calling Update(). More... | |
| void | SetVisibility (bool visible) override |
| Set visibility of the representation. More... | |
| void | MarkModified () override |
| This needs to be called on all instances of vtkGeometryRepresentation when the input is modified. More... | |
| unsigned int | Initialize (unsigned int minIdAvailable, unsigned int maxIdAvailable) override |
| Override because of internal selection representations that need to be initialized as well. More... | |
| int | ProcessViewRequest (vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo) override |
| vtkAlgorithm::ProcessRequest() equivalent for rendering passes. 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 | SetActiveAssembly (const char *) |
| Get/Set the name of the assembly to use for mapping block visibilities, colors and opacities. More... | |
| virtual char * | GetActiveAssembly () |
| Get/Set the name of the assembly to use for mapping block visibilities, colors and opacities. More... | |
| void | AddBlockSelector (const char *selector) |
| Update list of selectors that determine the selected blocks. More... | |
| void | RemoveAllBlockSelectors () |
| Update list of selectors that determine the selected blocks. More... | |
| void | SetCompositeDataSetIndex (unsigned int) |
| Methods to control block selection. More... | |
| void | AddCompositeDataSetIndex (unsigned int) |
| Methods to control block selection. More... | |
| void | ResetCompositeDataSetIndices () |
| Methods to control block selection. 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... | |
| virtual int | GetArraySelectionMode () |
| ArraySelectionMode controls how arrays are selected for charting in composite datasets. More... | |
| void | SetArraySelectionMode (int mode) |
| ArraySelectionMode controls how arrays are selected for charting in composite datasets. More... | |
| void | SetPlaceHolderDataType (int datatype) |
| Set/Get the placeholder data type. More... | |
| virtual int | GetPlaceHolderDataType () |
| Set/Get the placeholder data type. More... | |
Public Member Functions inherited from vtkPVDataRepresentation | |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| 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 vtkDataObject * | GetRenderedDataObject (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... | |
| vtkAlgorithmOutput * | GetInternalOutputPort () override |
| Retrieves an output port for the input data object at the specified port and connection index. More... | |
| vtkAlgorithmOutput * | GetInternalOutputPort (int port) override |
| vtkAlgorithmOutput * | GetInternalOutputPort (int port, int conn) override |
| vtkView * | GetView () 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::string & | GetLogName () 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 | |
| vtkDataRepresentation * | NewInstance () const |
| virtual void | ApplyViewTheme (vtkViewTheme *vtkNotUsed(theme)) |
| virtual vtkSelection * | ConvertSelection (vtkView *view, vtkSelection *selection) |
| vtkAlgorithmOutput * | GetInputConnection (int port=0, int index=0) |
| vtkAnnotationLink * | GetAnnotationLink () |
| 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 vtkAlgorithmOutput * | GetInternalAnnotationOutputPort () |
| virtual vtkAlgorithmOutput * | GetInternalAnnotationOutputPort (int port) |
| virtual vtkAlgorithmOutput * | GetInternalAnnotationOutputPort (int port, int conn) |
| virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort () |
| virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort (int port) |
| virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort (int port, int conn) |
| virtual void | SetSelectionType (int) |
| virtual int | GetSelectionType () |
| virtual void | SetSelectionArrayNames (vtkStringArray *names) |
| virtual vtkStringArray * | GetSelectionArrayNames () |
| virtual void | SetSelectionArrayName (const char *name) |
| virtual const char * | GetSelectionArrayName () |
| vtkAlgorithmOutput * | GetInputConnection (int port=0, int index=0) |
| vtkAnnotationLink * | GetAnnotationLink () |
| 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 vtkAlgorithmOutput * | GetInternalAnnotationOutputPort () |
| virtual vtkAlgorithmOutput * | GetInternalAnnotationOutputPort (int port) |
| virtual vtkAlgorithmOutput * | GetInternalAnnotationOutputPort (int port, int conn) |
| virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort () |
| virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort (int port) |
| virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort (int port, int conn) |
| virtual void | SetSelectionType (int) |
| virtual int | GetSelectionType () |
| virtual void | SetSelectionArrayNames (vtkStringArray *names) |
| virtual vtkStringArray * | GetSelectionArrayNames () |
| virtual void | SetSelectionArrayName (const char *name) |
| virtual const char * | GetSelectionArrayName () |
Public Member Functions inherited from vtkPassInputTypeAlgorithm | |
| vtkPassInputTypeAlgorithm * | NewInstance () const |
| vtkPolyData * | GetPolyDataOutput () |
| vtkStructuredPoints * | GetStructuredPointsOutput () |
| vtkImageData * | GetImageDataOutput () |
| vtkStructuredGrid * | GetStructuredGridOutput () |
| vtkUnstructuredGrid * | GetUnstructuredGridOutput () |
| vtkRectilinearGrid * | GetRectilinearGridOutput () |
| vtkTable * | GetTableOutput () |
| vtkGraph * | GetGraphOutput () |
| vtkDataObject * | GetInput () |
| vtkDataObject * | GetOutput () |
| vtkDataObject * | GetOutput (int) |
| void | SetInputData (vtkDataObject *) |
| void | SetInputData (int, vtkDataObject *) |
| void | AddInputData (vtkDataObject *) |
| void | AddInputData (int, vtkDataObject *) |
| virtual int | ProcessRequest (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
| vtkDataObject * | GetOutput () |
| vtkDataObject * | GetOutput (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 | |
| vtkAlgorithm * | NewInstance () const |
| int | HasExecutive () |
| vtkExecutive * | GetExecutive () |
| virtual void | SetExecutive (vtkExecutive *executive) |
| virtual int | ModifyRequest (vtkInformation *request, int when) |
| vtkInformation * | GetInputPortInformation (int port) |
| vtkInformation * | GetOutputPortInformation (int port) |
| int | GetNumberOfInputPorts () |
| int | GetNumberOfOutputPorts () |
| void | UpdateProgress (double amount) |
| vtkInformation * | GetInputArrayInformation (int idx) |
| void | RemoveAllInputs () |
| vtkDataObject * | GetOutputDataObject (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 () |
| vtkAlgorithmOutput * | GetInputConnection (int port, int index) |
| vtkAlgorithm * | GetInputAlgorithm (int port, int index, int &algPort) |
| vtkAlgorithm * | GetInputAlgorithm (int port, int index) |
| vtkExecutive * | GetInputExecutive (int port, int index) |
| vtkInformation * | GetInputInformation (int port, int index) |
| vtkInformation * | GetOutputInformation (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 vtkInformation * | GetInformation () |
| 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) |
| vtkDataObject * | GetInputDataObject (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) |
| vtkAlgorithmOutput * | GetOutputPort (int index) |
| vtkAlgorithmOutput * | GetOutputPort () |
| vtkAlgorithm * | GetInputAlgorithm () |
| vtkExecutive * | GetInputExecutive () |
| vtkInformation * | GetInputInformation () |
| 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) |
| int * | GetUpdateExtent () |
| int * | GetUpdateExtent (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 vtkProgressObserver * | GetProgressObserver () |
| int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
| virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, vtkMTimeType *mtime) |
| virtual vtkInformation * | GetInformation () |
| 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) |
| vtkDataObject * | GetInputDataObject (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) |
| vtkAlgorithmOutput * | GetOutputPort (int index) |
| vtkAlgorithmOutput * | GetOutputPort () |
| vtkAlgorithm * | GetInputAlgorithm () |
| vtkExecutive * | GetInputExecutive () |
| vtkInformation * | GetInputInformation () |
| 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) |
| int * | GetUpdateExtent () |
| int * | GetUpdateExtent (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 vtkProgressObserver * | GetProgressObserver () |
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) |
| 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 &) |
Protected Types | |
| using | MapOfTables = std::map< std::string, std::pair< vtkSmartPointer< vtkTable >, unsigned int > > |
Additional Inherited Members | |
Public Attributes inherited from vtkAlgorithm | |
| SINGLE_PRECISION | |
| DOUBLE_PRECISION | |
| DEFAULT_PRECISION | |
| int | AbortExecute |
Static Protected Member Functions inherited from vtkAlgorithm | |
| static vtkInformationIntegerKey * | PORT_REQUIREMENTS_FILLED () |
Static Protected Attributes inherited from vtkAlgorithm | |
| static vtkExecutive * | DefaultExecutivePrototype |
vtkChartRepresentation is the base representation for charting representations.
Currently, ParaView's charting views are client-side only views that render only on the client side. That being the case, when running in client-server mode or in parallel, the data-delivery mode is fixed. Hence, unlike representations for 3D views, this representation delivers the data in RequestData() itself. This makes it possible for client code to call UpdatePipeline() on the representation proxy and then access the delivered vtkTable on the client.
Definition at line 36 of file vtkChartRepresentation.h.
Definition at line 40 of file vtkChartRepresentation.h.
|
protected |
Definition at line 288 of file vtkChartRepresentation.h.
| Enumerator | |
|---|---|
| MERGED_BLOCKS | |
| INDIVIDUAL_BLOCKS | |
Definition at line 179 of file vtkChartRepresentation.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
|
static |
|
overridevirtual |
| void vtkChartRepresentation::SetSelectionRepresentation | ( | vtkChartSelectionRepresentation * | ) |
These must only be set during initialization before adding the representation to any views or calling Update().
|
overridevirtual |
Set visibility of the representation.
Reimplemented from vtkPVDataRepresentation.
Reimplemented in vtkXYChartRepresentation, vtkPVPlotMatrixRepresentation, vtkPVImageChartRepresentation, vtkPVParallelCoordinatesRepresentation, and vtkPVBoxChartRepresentation.
|
overridevirtual |
This needs to be called on all instances of vtkGeometryRepresentation when the input is modified.
This is essential since the geometry filter does not have any real-input on the client side which messes with the Update requests.
Reimplemented from vtkPVDataRepresentation.
| void vtkChartRepresentation::SetFieldAssociation | ( | int | ) |
Set the field association for arrays to use.
When changed, this will call MarkModified().
|
virtual |
Set the field association for arrays to use.
When changed, this will call MarkModified().
|
virtual |
Get/Set the name of the assembly to use for mapping block visibilities, colors and opacities.
The default is Hierarchy.
|
virtual |
Get/Set the name of the assembly to use for mapping block visibilities, colors and opacities.
The default is Hierarchy.
| void vtkChartRepresentation::AddBlockSelector | ( | const char * | selector | ) |
Update list of selectors that determine the selected blocks.
| void vtkChartRepresentation::RemoveAllBlockSelectors | ( | ) |
Update list of selectors that determine the selected blocks.
| void vtkChartRepresentation::SetCompositeDataSetIndex | ( | unsigned | int | ) |
Methods to control block selection.
When changed, this will call MarkModified().
| void vtkChartRepresentation::AddCompositeDataSetIndex | ( | unsigned | int | ) |
Methods to control block selection.
When changed, this will call MarkModified().
| void vtkChartRepresentation::ResetCompositeDataSetIndices | ( | ) |
Methods to control block selection.
When changed, this will call MarkModified().
|
overridevirtual |
Override because of internal selection representations that need to be initialized as well.
Reimplemented from vtkPVDataRepresentation.
|
overridevirtual |
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 vtkPVDataRepresentation.
Reimplemented in vtkXYChartRepresentation.
|
virtual |
Method to provide the default name given the name of a table and a column in that table.
When overriding this method, ensure that the implementation does not depend on the instance being initialized or have valid data. This method is called on the client-side when filling up the domains for the properties.
Reimplemented in vtkQuartileChartRepresentation.
|
virtual |
Flatten the table, i.e.
split any multicomponent columns into separate components.
|
virtual |
Flatten the table, i.e.
split any multicomponent columns into separate components.
|
virtual |
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.
The goal of this method is allow the representations to transform the selection created in the view (which is an id-based selection based on the vtkTable that is fed into the vtkChart) to an appropriate selection based on the data going into the representation. Return false if the selection is not applicable to this representation or the conversion cannot be made. Default implementation simply ensures that the FieldType on the selection nodes is set to match up with the FieldAssociation on the representation.
Reimplemented in vtkPVHistogramChartRepresentation.
|
virtual |
This is the inverse of MapSelectionToInput().
In this case, we are converting the selection defined on the input for the representation to a selection that corresponds to elements being rendered in the view. The default implementation checks removes vtkSelectionNode items in sel that don't have the FieldType that matches this->FieldAssociation. Similar to MapSelectionToInput(), this method is expected to transform the sel in place and return false is the selection is not applicable to this representation or the conversion cannot be made.
Reimplemented in vtkPVHistogramChartRepresentation.
|
inlinevirtual |
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.
Definition at line 176 of file vtkChartRepresentation.h.
|
virtual |
ArraySelectionMode controls how arrays are selected for charting in composite datasets.
MERGED_BLOCKS means arrays are selected once and applied to all blocks. INDIVIDUAL_BLOCKS means arrays are selected independently for each leaf block.
| void vtkChartRepresentation::SetArraySelectionMode | ( | int | mode | ) |
ArraySelectionMode controls how arrays are selected for charting in composite datasets.
MERGED_BLOCKS means arrays are selected once and applied to all blocks. INDIVIDUAL_BLOCKS means arrays are selected independently for each leaf block.
| void vtkChartRepresentation::SetPlaceHolderDataType | ( | int | datatype | ) |
Set/Get the placeholder data type.
This value is set by the proxy and is needed to ensure that the client knows the type of the input that lives on the server.
In the past, we were always creating a placeholder of type vtkMultiBlockDataSet when no input was available on the client. This is no longer valid.
This can be potentially removed in the future once vtkMultiBlockDataSet is deprecated.
|
virtual |
Set/Get the placeholder data type.
This value is set by the proxy and is needed to ensure that the client knows the type of the input that lives on the server.
In the past, we were always creating a placeholder of type vtkMultiBlockDataSet when no input was available on the client. This is no longer valid.
This can be potentially removed in the future once vtkMultiBlockDataSet is deprecated.
|
overrideprotectedvirtual |
Fill input port information.
Reimplemented from vtkPassInputTypeAlgorithm.
|
inlineprotectedvirtual |
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 in vtkXYChartRepresentation, vtkPVPlotMatrixRepresentation, vtkPVHistogramChartRepresentation, vtkQuartileChartRepresentation, vtkPVParallelCoordinatesRepresentation, vtkPVBoxChartRepresentation, and vtkPVImageChartRepresentation.
Definition at line 229 of file vtkChartRepresentation.h.
|
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 vtkDataRepresentation.
Reimplemented in vtkXYChartRepresentation.
|
overrideprotected |
Adds the representation to the view.
This is called from vtkView::AddRepresentation(). Subclasses should override this method. Returns true if the addition succeeds.
|
overrideprotected |
Removes the representation to the view.
This is called from vtkView::RemoveRepresentation(). Subclasses should override this method. Returns true if the removal succeeds.
|
protected |
Convenience method to get the first vtkTable from LocalOutput, if any.
If pre_delivery is true (default is false), then the data from most-recent REQUEST_UPDATE pass is used otherwise the delivered data object from most recent REQUEST_RENDER pass is used.
|
protectedvirtual |
Method to be overridden to transform input data.
The default implementation just returns the data object provided in parameter.
Reimplemented in vtkPVHistogramChartRepresentation.
|
protectedvirtual |
Chart representation/views expect that the data is reduced to root node and then passed on the rendering nodes.
This method may be overridden to customize the reduction. The default implementation uses vtkBlockDeliveryPreprocessor to convert to tables and then use vtkPVMergeTablesMultiBlock as the reduction algorithm.
Reimplemented in vtkPVImageChartRepresentation.
|
protectedvirtual |
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 in vtkXYChartRepresentation.
|
protected |
Convenience method to get all vtkTable instances with their associated names.
|
protected |
Definition at line 294 of file vtkChartRepresentation.h.
|
protected |
Definition at line 295 of file vtkChartRepresentation.h.
|
protected |
Definition at line 296 of file vtkChartRepresentation.h.
|
protected |
Definition at line 297 of file vtkChartRepresentation.h.
|
protected |
Definition at line 300 of file vtkChartRepresentation.h.
|
protected |
Definition at line 302 of file vtkChartRepresentation.h.
|
protected |
Definition at line 304 of file vtkChartRepresentation.h.
|
protected |
Definition at line 305 of file vtkChartRepresentation.h.
|
protected |
Definition at line 306 of file vtkChartRepresentation.h.
|
protected |
Definition at line 308 of file vtkChartRepresentation.h.
1.8.13 on Sat Dec 6 2025