16 #ifndef vtkChartRepresentation_h 17 #define vtkChartRepresentation_h 68 void SetFieldAssociation(
int);
69 vtkGetMacro(FieldAssociation,
int);
79 vtkSetStringMacro(ActiveAssembly);
80 vtkGetStringMacro(ActiveAssembly);
87 void AddBlockSelector(
const char* selector);
88 void RemoveAllBlockSelectors();
95 unsigned int Initialize(
unsigned int minIdAvailable,
unsigned int maxIdAvailable)
override;
114 virtual std::string GetDefaultSeriesLabel(
115 const std::string& tableName,
const std::string& columnName);
122 vtkSetMacro(FlattenTable,
int);
123 vtkGetMacro(FlattenTable,
int);
165 INDIVIDUAL_BLOCKS = 1,
174 vtkGetMacro(ArraySelectionMode,
int);
175 void SetArraySelectionMode(
int mode);
183 vtkGetMacro(ShowBlockName,
bool);
184 vtkSetMacro(ShowBlockName,
bool);
185 vtkBooleanMacro(ShowBlockName,
bool);
200 void SetPlaceHolderDataType(
int datatype);
201 vtkGetMacro(PlaceHolderDataType,
int);
256 vtkTable* GetLocalOutput(
bool pre_delivery =
false);
281 using MapOfTables = std::map<std::string, std::pair<vtkSmartPointer<vtkTable>,
unsigned int>>;
294 int FieldAssociation;
296 int ArraySelectionMode = MERGED_BLOCKS;
299 int PlaceHolderDataType = VTK_PARTITIONED_DATA_SET_COLLECTION;
301 char* ActiveAssembly =
nullptr;
305 bool ShowBlockName =
true;
virtual void PrepareForRendering()
This method is called before actual render if this->MTime was modified since the last time this metho...
#define VTKREMOTINGVIEWS_EXPORT
std::vector< std::string > BlockSelectors
vtkPVDataRepresentation adds some ParaView specific API to data representations.
vtkWeakPointer< vtkPVContextView > ContextView
bool AddToView(vtkView *view) override
Making these methods public.
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
vtkTypeUInt64 vtkMTimeType
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...
std::map< std::string, std::pair< vtkSmartPointer< vtkTable >, unsigned int > > MapOfTables
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
bool RemoveFromView(vtkView *view) override
Making these methods public.
virtual void MarkModified()
This is one of the most important functions.
static vtkDataRepresentation * New()
virtual bool Export(vtkAbstractChartExporter *vtkNotUsed(exporter))
Called by vtkPVContextView::Export() to export the representation's data to a CSV file...
vtkPVContextView adopts vtkContextView so that it can be used in ParaView configurations.
vtkChartRepresentation is the base representation for charting representations.
exporter used by certain views to export data as CSV.
vtkSmartPointer< vtkDataObjectTree > LocalOutput
void PrintSelf(ostream &os, vtkIndent indent) override
std::set< unsigned int > CompositeIndices
vtkSelectionDeliveryFilter is a filter that can deliver vtkSelection from data-server nodes to the cl...
exporter used by certain views to export data into a file or stream.
representation for showing selections in chart views.