31 #ifndef vtkImageActor_h
32 #define vtkImageActor_h
35 #include "vtkRenderingCoreModule.h"
139 this->SetDisplayExtent(this->DisplayExtent[0], this->DisplayExtent[1], this->DisplayExtent[2],
140 this->DisplayExtent[3], z, z);
162 vtkGetMacro(ForceOpaque,
bool);
163 vtkSetMacro(ForceOpaque,
bool);
164 vtkBooleanMacro(ForceOpaque,
bool);
177 int DisplayExtent[6];
178 double DisplayBounds[6];
Superclass for all sources, filters, and sinks in VTK.
draw an image in a rendered 3D scene
virtual vtkImageData * GetInput()
virtual void SetInputData(vtkImageData *)
Set/Get the image data input for the image actor.
double * GetDisplayBounds()
Get the bounds of the data that is displayed by this image actor.
virtual vtkTypeBool GetInterpolate()
void GetDisplayExtent(int extent[6])
int GetSliceNumber()
Return the slice number (& min/max slice number) computed from the display extent.
static vtkImageActor * New()
Instantiate the image actor.
void GetDisplayBounds(double bounds[6])
double GetOpacityMaxValue()
vtkTimeStamp TranslucentComputationTime
virtual double GetOpacity()
virtual void SetOpacity(double)
Set/Get the object's opacity.
vtkTypeBool HasTranslucentPolygonalGeometry() override
Internal method, should only be used by rendering.
virtual void SetInterpolate(vtkTypeBool)
Turn on/off linear interpolation of the image when rendering.
int TranslucentCachedResult
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double GetOpacityMinValue()
vtkAlgorithm * GetInputAlgorithm()
void SetDisplayExtent(const int extent[6])
The image extent is generally set explicitly, but if not set it will be determined from the input ima...
void SetZSlice(int z)
Set/Get the current slice number.
static int GetOrientationFromExtent(const int extent[6])
Guess the orientation from the extent.
~vtkImageActor() override
double * GetBounds() override
Get the bounds of this image actor.
void SetDisplayExtent(int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
topologically and geometrically regular array of data
represents an image in a 3D scene
a simple class to control print indentation
double * GetBounds() override=0
Get the bounds for this Prop as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
abstract specification for renderers
record modification and/or execution time
#define VTK_SIZEHINT(...)