ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkChartSelectionRepresentation Class Reference

representation for showing selections in chart views. More...

#include <vtkChartSelectionRepresentation.h>

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

Public Types

typedef vtkPVDataRepresentation Superclass
 
- Public Types inherited from vtkPVDataRepresentation
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...
 
- Public Member Functions inherited from vtkPVDataRepresentation
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 vtkChartSelectionRepresentationNew ()
 
static int IsTypeOf (const char *type)
 
static vtkChartSelectionRepresentationSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkPVDataRepresentation
static int IsTypeOf (const char *type)
 
static vtkPVDataRepresentationSafeDownCast (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...
 
- Protected Member Functions inherited from vtkPVDataRepresentation
 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< vtkPVContextViewContextView
 
vtkWeakPointer< vtkChartRepresentationChartRepresentation
 
bool EnableServerSideRendering
 
- Protected Attributes inherited from vtkPVDataRepresentation
double UpdateTime
 
bool UpdateTimeValid
 
unsigned int UniqueIdentifier
 

Detailed Description

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.

Member Typedef Documentation

◆ Superclass

Definition at line 45 of file vtkChartSelectionRepresentation.h.

Constructor & Destructor Documentation

◆ vtkChartSelectionRepresentation()

vtkChartSelectionRepresentation::vtkChartSelectionRepresentation ( )
protected

◆ ~vtkChartSelectionRepresentation()

vtkChartSelectionRepresentation::~vtkChartSelectionRepresentation ( )
protected

Member Function Documentation

◆ New()

static vtkChartSelectionRepresentation* vtkChartSelectionRepresentation::New ( )
static

◆ GetClassName()

virtual const char* vtkChartSelectionRepresentation::GetClassName ( )
virtual

Reimplemented from vtkPVDataRepresentation.

◆ IsTypeOf()

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

◆ IsA()

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

Reimplemented from vtkPVDataRepresentation.

◆ SafeDownCast()

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

◆ PrintSelf()

void vtkChartSelectionRepresentation::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ MarkModified()

virtual void vtkChartSelectionRepresentation::MarkModified ( )
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.

◆ SetVisibility()

virtual void vtkChartSelectionRepresentation::SetVisibility ( bool  visible)
virtual

Set visibility of the representation.

Reimplemented from vtkPVDataRepresentation.

◆ SetChartRepresentation()

void vtkChartSelectionRepresentation::SetChartRepresentation ( vtkChartRepresentation repr)

Get/Set the chart representation for which this is a selection representation.

This is not reference counted.

◆ FillInputPortInformation()

virtual int vtkChartSelectionRepresentation::FillInputPortInformation ( int  port,
vtkInformation *  info 
)
protectedvirtual

◆ RequestData()

virtual int vtkChartSelectionRepresentation::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

Overridden to invoke vtkCommand::UpdateDataEvent.

Reimplemented from vtkPVDataRepresentation.

◆ AddToView()

virtual bool vtkChartSelectionRepresentation::AddToView ( vtkView *  view)
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.

◆ RemoveFromView()

virtual bool vtkChartSelectionRepresentation::RemoveFromView ( vtkView *  view)
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.

Member Data Documentation

◆ ContextView

vtkWeakPointer<vtkPVContextView> vtkChartSelectionRepresentation::ContextView
protected

Definition at line 87 of file vtkChartSelectionRepresentation.h.

◆ ChartRepresentation

vtkWeakPointer<vtkChartRepresentation> vtkChartSelectionRepresentation::ChartRepresentation
protected

Definition at line 88 of file vtkChartSelectionRepresentation.h.

◆ EnableServerSideRendering

bool vtkChartSelectionRepresentation::EnableServerSideRendering
protected

Definition at line 92 of file vtkChartSelectionRepresentation.h.


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