ParaView
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkChartRepresentation Class Reference

#include <vtkChartRepresentation.h>

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

List of all members.

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetOptions (vtkChartNamedOptions *)
virtual void SetVisibility (bool visible)
virtual int GetNumberOfSeries ()
virtual const char * GetSeriesName (int series)
virtual void RescaleChart ()
virtual void MarkModified ()
void SetFieldAssociation (int)
void SetCompositeDataSetIndex (unsigned int)
virtual int ProcessViewRequest (vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)

Static Public Member Functions

static vtkChartRepresentationNew ()
static int IsTypeOf (const char *type)
static vtkChartRepresentationSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkChartRepresentation ()
 ~vtkChartRepresentation ()
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int RequestUpdateExtent (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual bool AddToView (vtkView *view)
virtual bool RemoveFromView (vtkView *view)
virtual bool IsCached (double cache_key)
vtkTableGetLocalOutput ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

vtkBlockDeliveryPreprocessorPreprocessor
vtkPVCacheKeeperCacheKeeper
vtkReductionFilterReductionFilter
vtkClientServerMoveDataDeliveryFilter
vtkWeakPointer< vtkPVContextViewContextView
vtkChartNamedOptionsOptions
vtkSelectionDeliveryFilterSelectionDeliveryFilter
vtkAnnotationLinkAnnLink
bool EnableServerSideRendering
vtkSmartPointer< vtkTableLocalOutput

Detailed Description

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 44 of file vtkChartRepresentation.h.


Constructor & Destructor Documentation

vtkChartRepresentation::vtkChartRepresentation ( ) [protected]
vtkChartRepresentation::~vtkChartRepresentation ( ) [protected]

Member Function Documentation

static vtkChartRepresentation* vtkChartRepresentation::New ( ) [static]
virtual const char* vtkChartRepresentation::GetClassName ( ) [virtual]
static int vtkChartRepresentation::IsTypeOf ( const char *  type) [static]
virtual int vtkChartRepresentation::IsA ( const char *  type) [virtual]
static vtkChartRepresentation* vtkChartRepresentation::SafeDownCast ( vtkObject o) [static]
void vtkChartRepresentation::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]
virtual void vtkChartRepresentation::SetOptions ( vtkChartNamedOptions ) [virtual]

Set the options object. This must be done before any other state is updated.

Reimplemented in vtkXYChartRepresentation.

virtual void vtkChartRepresentation::SetVisibility ( bool  visible) [virtual]

Set visibility of the representation.

Reimplemented from vtkPVDataRepresentation.

Reimplemented in vtkPVPlotMatrixRepresentation, and vtkPVParallelCoordinatesRepresentation.

virtual int vtkChartRepresentation::GetNumberOfSeries ( ) [virtual]

Get the number of series in this representation

virtual const char* vtkChartRepresentation::GetSeriesName ( int  series) [virtual]

Get the name of the series with the given index. Returns 0 if the index is out of range. The returned pointer is only valid until the next call to GetSeriesName.

Reimplemented in vtkPVPlotMatrixRepresentation.

virtual void vtkChartRepresentation::RescaleChart ( ) [virtual]

Force the chaty to rescale its axes.

virtual void vtkChartRepresentation::MarkModified ( ) [virtual]

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.

virtual int vtkChartRepresentation::ProcessViewRequest ( vtkInformationRequestKey request_type,
vtkInformation inInfo,
vtkInformation outInfo 
) [virtual]

Overridden to get the status for the ENABLE_SERVER_SIDE_RENDERING() flag during REQUEST_UPDATE() pass.

Reimplemented from vtkPVDataRepresentation.

void vtkChartRepresentation::SetFieldAssociation ( int  )
void vtkChartRepresentation::SetCompositeDataSetIndex ( unsigned  int)
virtual int vtkChartRepresentation::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill input port information.

Reimplemented from vtkPassInputTypeAlgorithm.

virtual int vtkChartRepresentation::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

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 vtkPVDataRepresentation.

Reimplemented in vtkPVPlotMatrixRepresentation, and vtkPVParallelCoordinatesRepresentation.

virtual int vtkChartRepresentation::RequestUpdateExtent ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Reimplemented from vtkPVDataRepresentation.

virtual bool vtkChartRepresentation::AddToView ( vtkView view) [protected, virtual]

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.

Reimplemented in vtkPVPlotMatrixRepresentation, and vtkPVParallelCoordinatesRepresentation.

virtual bool vtkChartRepresentation::RemoveFromView ( vtkView view) [protected, virtual]

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.

Reimplemented in vtkPVPlotMatrixRepresentation, and vtkPVParallelCoordinatesRepresentation.

virtual bool vtkChartRepresentation::IsCached ( double  cache_key) [protected, virtual]

Overridden to check with the vtkPVCacheKeeper to see if the key is cached.

Reimplemented from vtkPVDataRepresentation.

vtkTable* vtkChartRepresentation::GetLocalOutput ( ) [protected]

Returns vtkTable at the local processes.


Member Data Documentation

Definition at line 130 of file vtkChartRepresentation.h.

Definition at line 131 of file vtkChartRepresentation.h.

Definition at line 132 of file vtkChartRepresentation.h.

Definition at line 133 of file vtkChartRepresentation.h.

Definition at line 134 of file vtkChartRepresentation.h.

Definition at line 135 of file vtkChartRepresentation.h.

Definition at line 137 of file vtkChartRepresentation.h.

Definition at line 139 of file vtkChartRepresentation.h.

Definition at line 141 of file vtkChartRepresentation.h.

Definition at line 142 of file vtkChartRepresentation.h.


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