28 #ifndef vtkChartRepresentation_h 29 #define vtkChartRepresentation_h 32 #include "vtkSmartPointer.h" 33 #include "vtkStdString.h" 34 #include "vtkWeakPointer.h" 41 class vtkMultiBlockDataSet;
52 void PrintSelf(ostream& os, vtkIndent indent);
80 void SetFieldAssociation(
int);
81 vtkGetMacro(FieldAssociation,
int);
86 void SetCompositeDataSetIndex(
unsigned int);
87 void AddCompositeDataSetIndex(
unsigned int);
88 void ResetCompositeDataSetIndices();
94 virtual unsigned int Initialize(
unsigned int minIdAvailable,
unsigned int maxIdAvailable);
104 vtkInformationRequestKey* request_type, vtkInformation* inInfo, vtkInformation* outInfo);
113 virtual vtkStdString GetDefaultSeriesLabel(
114 const vtkStdString& tableName,
const vtkStdString& columnName);
121 vtkSetMacro(FlattenTable,
int);
122 vtkGetMacro(FlattenTable,
int);
138 virtual bool MapSelectionToInput(vtkSelection* sel);
150 virtual bool MapSelectionToView(vtkSelection* sel);
166 virtual int FillInputPortInformation(
int port, vtkInformation* info);
190 virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
209 virtual bool IsCached(
double cache_key);
214 vtkTable* GetLocalOutput();
220 virtual vtkDataObject* TransformInputData(
221 vtkInformationVector** inputVector, vtkDataObject* data);
223 typedef std::map<std::string, vtkSmartPointer<vtkTable> >
MapOfTables;
228 bool GetLocalOutput(MapOfTables& tables);
245 vtkTimeStamp PrepareForRenderingTime;
void PrintSelf(ostream &os, vtkIndent indent)
virtual void PrepareForRendering()
This method is called before actual render if this->MTime was modified since the last time this metho...
vtkPVDataRepresentation adds some ParaView specific API to data representations.
vtkSmartPointer< vtkMultiBlockDataSet > LocalOutput
virtual bool IsCached(double cache_key)
Subclasses should override this method when they support caching to indicate if the particular key is...
vtkWeakPointer< vtkPVContextView > ContextView
vtkWeakPointer< vtkChartSelectionRepresentation > SelectionRepresentation
virtual bool Export(vtkCSVExporter *vtkNotUsed(exporter))
Called by vtkPVContextView::Export() to export the representation's data to a CSV file...
std::map< std::string, vtkSmartPointer< vtkTable > > MapOfTables
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
virtual bool AddToView(vtkView *view)
Making these methods public.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
virtual unsigned int Initialize(unsigned int minIdAvailable, unsigned int maxIdAvailable)
Initialize the representation with an identifier range so each internal representation can own a uniq...
vtkPVCacheKeeper * CacheKeeper
virtual void MarkModified()
This is one of the most important functions.
virtual bool RemoveFromView(vtkView *view)
Making these methods public.
manages data cache for flip book animations.
vtkPVContextView adopts vtkContextView so that it can be used in ParaView configurations.
vtkChartRepresentation is the base representation for charting representations.
bool EnableServerSideRendering
exporter used by certain views to export data as a CSV file.
std::set< unsigned int > CompositeIndices
vtkSelectionDeliveryFilter is a filter that can deliver vtkSelection from data-server nodes to the cl...
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Overridden to invoke vtkCommand::UpdateDataEvent.
representation for showing selections in chart views.