25 #ifndef vtkImageSliceRepresentation_h 26 #define vtkImageSliceRepresentation_h 29 #include "vtkPVClientServerCoreRenderingModule.h" 31 #include "vtkStructuredData.h" 38 class vtkScalarsToColors;
46 void PrintSelf(ostream& os, vtkIndent indent);
53 virtual void SetInputArrayToProcess(
54 int idx,
int port,
int connection,
int fieldAssociation,
const char* name);
56 int idx,
int port,
int connection,
int fieldAssociation,
int fieldAttributeType)
58 this->Superclass::SetInputArrayToProcess(
59 idx, port, connection, fieldAssociation, fieldAttributeType);
63 this->Superclass::SetInputArrayToProcess(idx, info);
66 const char* fieldAssociation,
const char* attributeTypeorName)
68 this->Superclass::SetInputArrayToProcess(
69 idx, port, connection, fieldAssociation, attributeTypeorName);
80 vtkInformationRequestKey* request_type, vtkInformation* inInfo, vtkInformation* outInfo);
101 virtual void SetSlice(
unsigned int);
102 vtkGetMacro(Slice,
unsigned int);
107 XY_PLANE = VTK_XY_PLANE,
108 YZ_PLANE = VTK_YZ_PLANE,
109 XZ_PLANE = VTK_XZ_PLANE
116 virtual void SetSliceMode(
int);
117 vtkGetMacro(SliceMode,
int);
122 void SetOrientation(
double,
double,
double);
123 void SetOrigin(
double,
double,
double);
124 void SetPickable(
int val);
125 void SetPosition(
double,
double,
double);
126 void SetScale(
double,
double,
double);
130 void SetOpacity(
double val);
134 void SetLookupTable(vtkScalarsToColors* val);
135 void SetMapScalars(
int val);
136 void SetUseXYPlane(
int val);
147 void SetAmbient(
double ambient);
148 void SetDiffuse(
double diffuse);
149 void SetSpecular(
double specular);
150 void SetSpecularPower(
double val);
151 void SetSpecularColor(
double r,
double g,
double b);
161 void UpdateSliceData(vtkInformationVector**);
166 virtual int FillInputPortInformation(
int port, vtkInformation* info);
178 virtual int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
197 virtual bool IsCached(
double cache_key);
void PrintSelf(ostream &os, vtkIndent indent)
virtual void SetInputArrayToProcess(int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName)
Set the input data arrays that this algorithm will process.
vtkPVDataRepresentation adds some ParaView specific API to data representations.
virtual bool IsCached(double cache_key)
Subclasses should override this method when they support caching to indicate if the particular key is...
virtual void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, int fieldAttributeType)
Set the input data arrays that this algorithm will process.
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.
vtkPVCacheKeeper * CacheKeeper
vtkPVImageSliceMapper * SliceMapper
Mapper for vtkImageData that renders the image using a texture applied to a quad. ...
extent translator that collects information about extents from multiple processes in parallel...
representation for showing slices from a vtkImageData.
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.
an actor that supports multiple levels of detail
virtual void SetInputArrayToProcess(int idx, vtkInformation *info)
Set the input data arrays that this algorithm will process.
vtkPVLODActor * GetActor()
Provides access to the actor used by this representation.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Overridden to invoke vtkCommand::UpdateDataEvent.
vtkNew< vtkPExtentTranslator > PExtentTranslator