ParaView
|
representation for showing selections in chart views. More...
#include <vtkChartSelectionRepresentation.h>
Public Types | |
typedef vtkPVDataRepresentation | Superclass |
![]() | |
typedef vtkDataRepresentation | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | MarkModified () |
This needs to be called on all instances of vtkChartSelectionRepresentation when the input is modified. More... | |
virtual void | SetVisibility (bool visible) |
Set visibility of the representation. More... | |
void | SetChartRepresentation (vtkChartRepresentation *repr) |
Get/Set the chart representation for which this is a selection representation. More... | |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | ProcessViewRequest (vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo) |
vtkAlgorithm::ProcessRequest() equivalent for rendering passes. More... | |
virtual unsigned int | Initialize (unsigned int minIdAvailable, unsigned int maxIdAvailable) |
Initialize the representation with an identifier range so each internal representation can own a unique ID. More... | |
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... | |
virtual void | SetForcedCacheKey (double val) |
Typically a representation decides whether to use cache based on the view's values for UseCache and CacheKey. More... | |
virtual void | SetForceUseCache (bool val) |
bool | GetUsingCacheForUpdate () |
Called by vtkPVDataRepresentationPipeline to see if using cache is valid and will be used for the update. More... | |
virtual bool | GetNeedUpdate () |
virtual vtkAlgorithmOutput * | GetInternalOutputPort () |
Retrieves an output port for the input data object at the specified port and connection index. More... | |
virtual vtkAlgorithmOutput * | GetInternalOutputPort (int port) |
virtual vtkAlgorithmOutput * | GetInternalOutputPort (int port, int conn) |
vtkView * | GetView () const |
Provides access to the view. More... | |
virtual void | SetUpdateTime (double time) |
Set the update time. More... | |
virtual double | GetUpdateTime () |
Set the update time. More... | |
virtual bool | GetUpdateTimeValid () |
Set whether the UpdateTime is valid. More... | |
virtual void | SetUseCache (bool) |
virtual void | SetCacheKey (double val) |
virtual double | GetCacheKey () |
Returns whether caching is used and what key to use when caching is enabled. More... | |
virtual bool | GetUseCache () |
Returns whether caching is used and what key to use when caching is enabled. More... | |
Static Public Member Functions | |
static vtkChartSelectionRepresentation * | New () |
static int | IsTypeOf (const char *type) |
static vtkChartSelectionRepresentation * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkPVDataRepresentation * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkChartSelectionRepresentation () | |
~vtkChartSelectionRepresentation () | |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual int | RequestData (vtkInformation *, vtkInformationVector **inputVector, vtkInformationVector *) |
Overridden to invoke vtkCommand::UpdateDataEvent. More... | |
virtual bool | AddToView (vtkView *view) |
Adds the representation to the view. More... | |
virtual bool | RemoveFromView (vtkView *view) |
Removes the representation to the view. More... | |
![]() | |
vtkPVDataRepresentation () | |
~vtkPVDataRepresentation () | |
virtual bool | IsCached (double cache_key) |
Subclasses should override this method when they support caching to indicate if the particular key is cached. More... | |
virtual vtkExecutive * | CreateDefaultExecutive () |
Create a default executive. More... | |
virtual int | RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestUpdateTime (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkWeakPointer< vtkPVContextView > | ContextView |
vtkWeakPointer< vtkChartRepresentation > | ChartRepresentation |
bool | EnableServerSideRendering |
![]() | |
double | UpdateTime |
bool | UpdateTimeValid |
unsigned int | UniqueIdentifier |
representation for showing selections in chart views.
vtkChartSelectionRepresentation is a representation showing selections in chart views. It works with vtkChartSelectionRepresentation (namely vtkChartSelectionRepresentation::MapSelectionToView) to map the input vtkSelection to selection form that the view can understand and then passes it alone to the vtkPVContextView. For client-server cases, this class also handles delivering of the selection to all "rendering" nodes.
Definition at line 40 of file vtkChartSelectionRepresentation.h.
Definition at line 45 of file vtkChartSelectionRepresentation.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkPVDataRepresentation.
|
static |
|
virtual |
Reimplemented from vtkPVDataRepresentation.
|
static |
void vtkChartSelectionRepresentation::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
inlinevirtual |
This needs to be called on all instances of vtkChartSelectionRepresentation when the input is modified.
Reimplemented from vtkPVDataRepresentation.
Definition at line 52 of file vtkChartSelectionRepresentation.h.
|
virtual |
Set visibility of the representation.
Reimplemented from vtkPVDataRepresentation.
void vtkChartSelectionRepresentation::SetChartRepresentation | ( | vtkChartRepresentation * | repr | ) |
Get/Set the chart representation for which this is a selection representation.
This is not reference counted.
|
protectedvirtual |
|
protectedvirtual |
Overridden to invoke vtkCommand::UpdateDataEvent.
Reimplemented from vtkPVDataRepresentation.
|
protectedvirtual |
Adds the representation to the view.
This is called from vtkView::AddRepresentation(). Subclasses should override this method. Returns true if the addition succeeds.
Reimplemented from vtkPVDataRepresentation.
|
protectedvirtual |
Removes the representation to the view.
This is called from vtkView::RemoveRepresentation(). Subclasses should override this method. Returns true if the removal succeeds.
Reimplemented from vtkPVDataRepresentation.
|
protected |
Definition at line 87 of file vtkChartSelectionRepresentation.h.
|
protected |
Definition at line 88 of file vtkChartSelectionRepresentation.h.
|
protected |
Definition at line 92 of file vtkChartSelectionRepresentation.h.