25 #ifndef vtkImageSliceRepresentation_h 26 #define vtkImageSliceRepresentation_h 51 int idx,
int port,
int connection,
int fieldAssociation,
const char* name)
override;
53 int idx,
int port,
int connection,
int fieldAssociation,
int fieldAttributeType)
override 56 idx, port, connection, fieldAssociation, fieldAttributeType);
63 const char* attributeTypeorName)
override 66 idx, port, connection, fieldAssociation, attributeTypeorName);
90 virtual void SetSlice(
unsigned int);
91 vtkGetMacro(Slice,
unsigned int);
105 virtual void SetSliceMode(
int);
106 vtkGetMacro(SliceMode,
int);
111 void SetOrientation(
double,
double,
double);
112 void SetOrigin(
double,
double,
double);
113 void SetPickable(
int val);
114 void SetPosition(
double,
double,
double);
115 void SetScale(
double,
double,
double);
119 void SetOpacity(
double val);
124 void SetMapScalars(
int val);
125 void SetUseXYPlane(
int val);
181 double WholeBounds[6];
void SetInputArrayToProcess(int idx, vtkInformation *info) override
Set the input data arrays that this algorithm will process.
#define VTKREMOTINGVIEWS_EXPORT
vtkPVDataRepresentation adds some ParaView specific API to data representations.
bool AddToView(vtkView *view) override
Making these methods public.
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
vtkNew< vtkImageData > SliceData
virtual void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, const char *name)
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) override
Set the input data arrays that this algorithm will process.
vtkPVImageSliceMapper * SliceMapper
Mapper for vtkImageData that renders the image using a texture applied to a quad. ...
representation for showing slices from a vtkImageData.
bool RemoveFromView(vtkView *view) override
Making these methods public.
static vtkDataRepresentation * New()
an actor that supports multiple levels of detail
void SetInputArrayToProcess(int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName) override
Set the input data arrays that this algorithm will process.
void PrintSelf(ostream &os, vtkIndent indent) override
vtkPVLODActor * GetActor()
Provides access to the actor used by this representation.