Go to the documentation of this file.
13 #ifndef vtkImageSliceRepresentation_h
14 #define vtkImageSliceRepresentation_h
18 #include "vtkRemotingViewsModule.h"
39 int idx,
int port,
int connection,
int fieldAssociation,
const char* name)
override;
41 int idx,
int port,
int connection,
int fieldAssociation,
int fieldAttributeType)
override
44 idx,
port, connection, fieldAssociation, fieldAttributeType);
51 const char* attributeTypeorName)
override
54 idx,
port, connection, fieldAssociation, attributeTypeorName);
78 virtual void SetSlice(
unsigned int);
79 vtkGetMacro(Slice,
unsigned int);
93 virtual void SetSliceMode(
int);
94 vtkGetMacro(SliceMode,
int);
99 void SetOrientation(
double,
double,
double);
100 void SetOrigin(
double,
double,
double);
101 void SetPickable(
int val);
102 void SetPosition(
double,
double,
double);
103 void SetScale(
double,
double,
double);
107 void SetOpacity(
double val);
112 void SetMapScalars(
int val);
113 void SetUseXYPlane(
int val);
169 double WholeBounds[6];
static vtkDataRepresentation * New()
bool AddToView(vtkView *view) override
Making these methods public.
virtual void SetVisibility(bool val)
Get/Set the visibility for this representation.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Overridden to invoke vtkCommand::UpdateDataEvent.
vtkPVImageSliceMapper * SliceMapper
bool RemoveFromView(vtkView *view) override
Making these methods public.
void SetInputArrayToProcess(int idx, vtkInformation *info) override
Set the input data arrays that this algorithm will process.
virtual int ProcessViewRequest(vtkInformationRequestKey *request_type, vtkInformation *inInfo, vtkInformation *outInfo)
vtkAlgorithm::ProcessRequest() equivalent for rendering passes.
vtkNew< vtkImageData > SliceData
Mapper for vtkImageData that renders the image using a texture applied to a quad.
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.
representation for showing slices from a vtkImageData.
void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) 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.
an actor that supports multiple levels of detail
virtual void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, const char *name)