29#ifndef vtkScivisDataRepresentation_h
30#define vtkScivisDataRepresentation_h
35#include "vtkViewsScivisModule.h"
37VTK_ABI_NAMESPACE_BEGIN
94 const char* arrayName,
int fieldAssoc,
double range[2],
int component = -1) = 0;
167 this->
Select(view, selection,
false);
203 Internals* Implementation;
Proxy object to connect input/output ports.
a simple class to control print indentation
Allocate and hold a VTK object.
maintain a list of planes
perform various plane computations
Superclass for mapping scalar values to colors.
vtkNew< vtkPlaneCollection > ClippingPlanes
virtual void SetColorMap(vtkScalarsToColors *map)=0
The color map this representation draws through.
virtual bool GetBounds(double bounds[6])=0
The extent of what this representation draws, in world coordinates, as (xmin, xmax,...
virtual void UpdateSelection(vtkSelection *selection, bool extend)
Make selection current and fire SelectionChangedEvent.
void SetClippingPlanes(vtkPlaneCollection *planes)
Planes that cut away part of what this representation draws.
vtkAlgorithmOutput * GetInternalOutputPort()
A shallow copy of an input, kept up to date, that the filters inside a representation can be connecte...
void RemoveAllClippingPlanes()
Planes that cut away part of what this representation draws.
friend class vtkScivisView
virtual int GetRenderedFieldAssociation()=0
The array being mapped to colors, and one of the vtkDataObject::FIELD_ASSOCIATION_* values for the at...
virtual const char * GetRenderedArrayName()=0
The array being mapped to colors, and one of the vtkDataObject::FIELD_ASSOCIATION_* values for the at...
vtkPlaneCollection * GetClippingPlanes()
Planes that cut away part of what this representation draws.
vtkSmartPointer< vtkSelection > CurrentSelection
vtkSelection * GetCurrentSelection()
What this representation currently has selected, or null.
void RemoveClippingPlane(vtkPlane *plane)
Planes that cut away part of what this representation draws.
virtual bool GetDataRange(const char *arrayName, int fieldAssoc, double range[2], int component=-1)=0
The range of arrayName over the data this representation draws, so that several representations of on...
virtual vtkAlgorithmOutput * GetInternalOutputPort(int port, int conn)
~vtkScivisDataRepresentation() override
int GetNumberOfClippingPlanes()
Planes that cut away part of what this representation draws.
vtkScivisDataRepresentation()
void Select(vtkScivisView *view, vtkSelection *selection, bool extend)
void Select(vtkScivisView *view, vtkSelection *selection)
Hand this representation a selection made in view.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void AddClippingPlane(vtkPlane *plane)
Planes that cut away part of what this representation draws.
virtual vtkSelection * ConvertSelection(vtkScivisView *view, vtkSelection *selection)
Turn a selection made in view into one expressed over this representation's own input.
vtkAlgorithmOutput * GetInternalOutputPort(int port)
virtual vtkScalarsToColors * GetColorMap()=0
The color map this representation draws through.
vtkScivisRepresentation()
A ready-made rendering assembly for scientific visualization.
data object that represents a "selection" in VTK.
Hold a reference to a vtkObjectBase instance.