|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   58 #ifndef vtkImageViewer2_h 
   59 #define vtkImageViewer2_h 
   61 #include "vtkInteractionImageModule.h"  
   85   virtual const char* GetWindowName();
 
   90   virtual void Render(
void);
 
  107     SLICE_ORIENTATION_YZ = 0,
 
  108     SLICE_ORIENTATION_XZ = 1,
 
  109     SLICE_ORIENTATION_XY = 2
 
  112   vtkGetMacro(SliceOrientation, 
int);
 
  132   vtkGetMacro(Slice, 
int);
 
  133   virtual void SetSlice(
int s);
 
  148   virtual void UpdateDisplayExtent();
 
  155   virtual int GetSliceMin();
 
  156   virtual int GetSliceMax();
 
  158   virtual void GetSliceRange(
int& min, 
int& 
max);
 
  159   virtual int* GetSliceRange();
 
  166   virtual double GetColorWindow();
 
  167   virtual double GetColorLevel();
 
  168   virtual void SetColorWindow(
double s);
 
  169   virtual void SetColorLevel(
double s);
 
  176   virtual void SetDisplayId(
void* a);
 
  177   virtual void SetWindowId(
void* a);
 
  178   virtual void SetParentId(
void* a);
 
  193   virtual 
void SetPosition(
int x, 
int y);
 
  194   virtual 
void SetPosition(
int a[2]) { this->
SetPosition(a[0], a[1]); }
 
  212   virtual 
void SetSize(
int width, 
int height);
 
  213   virtual 
void SetSize(
int a[2]) { this->
SetSize(a[0], a[1]); }
 
  256   virtual void InstallPipeline();
 
  257   virtual void UnInstallPipeline();
 
  270   virtual void UpdateOrientation();
 
  275   friend class vtkImageViewer2Callback;
 
  
vtkRenderWindowInteractor * Interactor
Superclass for all sources, filters, and sinks in VTK.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
abstract base class for most VTK objects
interactive manipulation of the camera specialized for images
vtkImageMapToWindowLevelColors * WindowLevel
virtual void SetSliceOrientationToXY()
#define VTK_SIZEHINT(...)
Map an image through a lookup table and/or a window/level.
topologically and geometrically regular array of data
a simple class to control print indentation
virtual void SetPosition(int a[2])
virtual void SetSliceOrientationToXZ()
vtkImageActor * ImageActor
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
platform-independent render window interaction including picking and frame rate control.
virtual void SetSize(int a[2])
vtkInteractorStyleImage * InteractorStyle
vtkRenderWindow * RenderWindow
Proxy object to connect input/output ports.
abstract specification for renderers
draw an image in a rendered 3D scene
create a window for renderers to draw into
virtual void SetSliceOrientationToYZ()
virtual void GetSliceRange(int range[2])