ActiViz .NET  5.10.1
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Private Member Functions | List of all members
Kitware.VTK.vtkImageViewer2 Class Reference

vtkImageViewer2 - Display a 2D image. More...

Inheritance diagram for Kitware.VTK.vtkImageViewer2:
[legend]
Collaboration diagram for Kitware.VTK.vtkImageViewer2:
[legend]

Public Types

enum  SLICE_ORIENTATION_XY_WrapperEnum { SLICE_ORIENTATION_XY_WrapperEnum.SLICE_ORIENTATION_XY = 2, SLICE_ORIENTATION_XY_WrapperEnum.SLICE_ORIENTATION_XZ = 1, SLICE_ORIENTATION_XY_WrapperEnum.SLICE_ORIENTATION_YZ = 0 }
 Set/get the slice orientation More...
 

Public Member Functions

 vtkImageViewer2 (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly. More...
 
 vtkImageViewer2 ()
 Undocumented Block More...
 
virtual double GetColorLevel ()
 Set window and level for mapping pixels to colors. More...
 
virtual double GetColorWindow ()
 Set window and level for mapping pixels to colors. More...
 
virtual vtkImageActor GetImageActor ()
 Get the internal render window, renderer, image actor, and image map instances. More...
 
virtual vtkImageData GetInput ()
 Set/Get the input image to the viewer. More...
 
virtual vtkInteractorStyleImage GetInteractorStyle ()
 Get the internal render window, renderer, image actor, and image map instances. More...
 
virtual int GetOffScreenRendering ()
 Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render. More...
 
virtual IntPtr GetPosition ()
 Set/Get the position in screen coordinates of the rendering window. More...
 
virtual vtkRenderWindow GetRenderWindow ()
 Get the internal render window, renderer, image actor, and image map instances. More...
 
virtual vtkRenderer GetRenderer ()
 Get the internal render window, renderer, image actor, and image map instances. More...
 
virtual IntPtr GetSize ()
 Set/Get the size of the window in screen coordinates in pixels. More...
 
virtual int GetSlice ()
 Set/Get the current slice to display (depending on the orientation this can be in X, Y or Z). More...
 
virtual int GetSliceMax ()
 Return the minimum and maximum slice values (depending on the orientation this can be in X, Y or Z). More...
 
virtual int GetSliceMin ()
 Return the minimum and maximum slice values (depending on the orientation this can be in X, Y or Z). More...
 
virtual int GetSliceOrientation ()
 Set/get the slice orientation More...
 
virtual void GetSliceRange (IntPtr range)
 Return the minimum and maximum slice values (depending on the orientation this can be in X, Y or Z). More...
 
virtual void GetSliceRange (ref int min, ref int max)
 Return the minimum and maximum slice values (depending on the orientation this can be in X, Y or Z). More...
 
virtual IntPtr GetSliceRange ()
 Return the minimum and maximum slice values (depending on the orientation this can be in X, Y or Z). More...
 
int GetWholeZMax ()
 
int GetWholeZMin ()
 
virtual vtkImageMapToWindowLevelColors GetWindowLevel ()
 Get the internal render window, renderer, image actor, and image map instances. More...
 
virtual string GetWindowName ()
 Get the name of rendering window. More...
 
int GetZSlice ()
 
override int IsA (string type)
 Undocumented Block More...
 
new vtkImageViewer2 NewInstance ()
 Undocumented Block More...
 
virtual void OffScreenRenderingOff ()
 Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render. More...
 
virtual void OffScreenRenderingOn ()
 Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render. More...
 
virtual void Render ()
 Render the resulting image. More...
 
virtual void SetColorLevel (double s)
 Set window and level for mapping pixels to colors. More...
 
virtual void SetColorWindow (double s)
 Set window and level for mapping pixels to colors. More...
 
virtual void SetDisplayId (IntPtr a)
 These are here when using a Tk window. More...
 
virtual void SetInput (vtkImageData arg0)
 Set/Get the input image to the viewer. More...
 
virtual void SetInputConnection (vtkAlgorithmOutput input)
 Set/Get the input image to the viewer. More...
 
virtual void SetOffScreenRendering (int arg0)
 Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render. More...
 
virtual void SetParentId (IntPtr a)
 These are here when using a Tk window. More...
 
virtual void SetPosition (int a, int b)
 Set/Get the position in screen coordinates of the rendering window. More...
 
virtual void SetPosition (IntPtr a)
 Set/Get the position in screen coordinates of the rendering window. More...
 
virtual void SetRenderWindow (vtkRenderWindow arg)
 Set your own renderwindow and renderer More...
 
virtual void SetRenderer (vtkRenderer arg)
 Set your own renderwindow and renderer More...
 
virtual void SetSize (int a, int b)
 Set/Get the size of the window in screen coordinates in pixels. More...
 
virtual void SetSize (IntPtr a)
 Set/Get the size of the window in screen coordinates in pixels. More...
 
virtual void SetSlice (int s)
 Set/Get the current slice to display (depending on the orientation this can be in X, Y or Z). More...
 
virtual void SetSliceOrientation (int orientation)
 Set/get the slice orientation More...
 
virtual void SetSliceOrientationToXY ()
 Set/get the slice orientation More...
 
virtual void SetSliceOrientationToXZ ()
 Set/get the slice orientation More...
 
virtual void SetSliceOrientationToYZ ()
 Set/get the slice orientation More...
 
virtual void SetWindowId (IntPtr a)
 These are here when using a Tk window. More...
 
void SetZSlice (int arg0)
 
virtual void SetupInteractor (vtkRenderWindowInteractor arg0)
 Attach an interactor for the internal render window. More...
 
virtual void UpdateDisplayExtent ()
 Update the display extent manually so that the proper slice for the given orientation is displayed. It will also try to set a reasonable camera clipping range. This method is called automatically when the Input is changed, but most of the time the input of this class is likely to remain the same, i.e. connected to the output of a filter, or an image reader. When the input of this filter or reader itself is changed, an error message might be displayed since the current display extent is probably outside the new whole extent. Calling this method will ensure that the display extent is reset properly. More...
 
- Public Member Functions inherited from Kitware.VTK.vtkObject
 vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly. More...
 
 vtkObject ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
uint AddObserver (uint arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
uint AddObserver (string arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
virtual void DebugOff ()
 Turn debugging output off. More...
 
virtual void DebugOn ()
 Turn debugging output on. More...
 
vtkCommand GetCommand (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
byte GetDebug ()
 Get the value of the debug flag. More...
 
virtual uint GetMTime ()
 Return this object's modified time. More...
 
int HasObserver (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
int HasObserver (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
int HasObserver (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
int HasObserver (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
int InvokeEvent (uint arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
int InvokeEvent (string arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
int InvokeEvent (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
int InvokeEvent (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
override int IsA (string type)
 Undocumented Block More...
 
virtual void Modified ()
 Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer. More...
 
vtkObject NewInstance ()
 Undocumented Block More...
 
void RemoveAllObservers ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
void RemoveObserver (vtkCommand arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
void RemoveObserver (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
void RemoveObservers (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
void RemoveObservers (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
void RemoveObservers (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
void RemoveObservers (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
void SetDebug (byte debugFlag)
 Set the value of the debug flag. A non-zero value turns debugging on. More...
 
override string ToString ()
 Returns the result of calling vtkObject::Print as a C# string. More...
 
delegate void vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e)
 Generic signature for all vtkObject events. More...
 
void RemoveAllHandlersForAllEvents ()
 Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen... More...
 
- Public Member Functions inherited from Kitware.VTK.vtkObjectBase
 vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly. More...
 
 vtkObjectBase ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
virtual void Register (vtkObjectBase o)
 Increase the reference count (mark as used by another object). More...
 
virtual void FastDelete ()
 Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done. More...
 
string GetClassName ()
 Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h. More...
 
int GetReferenceCount ()
 Return the current reference count of this object. More...
 
void SetReferenceCount (int arg0)
 Sets the reference count. (This is very dangerous, use with care.) More...
 

Static Public Member Functions

static new vtkImageViewer2 New ()
 Undocumented Block More...
 
static new int IsTypeOf (string type)
 Undocumented Block More...
 
static new vtkImageViewer2 SafeDownCast (vtkObjectBase o)
 Undocumented Block More...
 
- Static Public Member Functions inherited from Kitware.VTK.vtkObject
static new vtkObject New ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static void BreakOnError ()
 This method is called when vtkErrorMacro executes. It allows the debugger to break on error. More...
 
static int GetGlobalWarningDisplay ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOff ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static void GlobalWarningDisplayOn ()
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
static new int IsTypeOf (string type)
 Undocumented Block More...
 
static vtkObject SafeDownCast (vtkObjectBase o)
 Undocumented Block More...
 
static void SetGlobalWarningDisplay (int val)
 This is a global flag that controls whether any debug, warning or error messages are displayed. More...
 
- Static Public Member Functions inherited from Kitware.VTK.vtkObjectBase
static vtkObjectBase New ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
 
static int IsTypeOf (string name)
 Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. More...
 

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkImageViewer2"
 Automatically generated type registration mechanics. More...
 
- Public Attributes inherited from Kitware.VTK.vtkObject
new const string MRFullTypeName = "Kitware.VTK.vtkObject"
 Automatically generated type registration mechanics. More...
 
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
new const string MRFullTypeName = "Kitware.VTK.vtkObjectBase"
 Automatically generated type registration mechanics. More...
 
- Public Attributes inherited from Kitware.VTK.WrappedObject
const string vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so"
 Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable. More...
 
const string vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so"
 Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable. More...
 
const string vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so"
 Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable. More...
 
const string vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so"
 Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable. More...
 
const string vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so"
 Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable. More...
 
const string vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so"
 Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable. More...
 
const string vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so"
 Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable. More...
 
const string vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so"
 Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable. More...
 
const string vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so"
 Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable. More...
 
const string vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so"
 Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable. More...
 
const string vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so"
 Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable. More...
 
const string vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so"
 Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable. More...
 
const string vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so"
 Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable. More...
 
const string vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so"
 Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable. More...
 
const string vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so"
 Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable. More...
 

Static Public Attributes

static new readonly string MRClassNameKey = "15vtkImageViewer2"
 Automatically generated type registration mechanics. More...
 
- Static Public Attributes inherited from Kitware.VTK.vtkObject
static new readonly string MRClassNameKey = "9vtkObject"
 Automatically generated type registration mechanics. More...
 
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase
static new readonly string MRClassNameKey = "13vtkObjectBase"
 Automatically generated type registration mechanics. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. More...
 
- Protected Member Functions inherited from Kitware.VTK.vtkObject
override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. More...
 
- Protected Member Functions inherited from Kitware.VTK.vtkObjectBase
override void Dispose (bool disposing)
 Decrease the reference count (release by another object). This has the same effect as invoking Delete() (i.e., it reduces the reference count by 1). More...
 
- Protected Member Functions inherited from Kitware.VTK.WrappedObject
 WrappedObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Constructor expected by the mummy Runtime. More...
 

Static Private Member Functions

static vtkImageViewer2 ()
 Automatically generated type registration mechanics. More...
 

Additional Inherited Members

- Properties inherited from Kitware.VTK.vtkObject
Kitware.VTK.vtkObject.vtkObjectEventHandler AbortCheckEvt
 The AbortCheckEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AbortCheckEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler AnimationCueTickEvt
 The AnimationCueTickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AnimationCueTickEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler AnyEvt
 The AnyEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AnyEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler CharEvt
 The CharEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CharEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler ConfigureEvt
 The ConfigureEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConfigureEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler ConnectionClosedEvt
 The ConnectionClosedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConnectionClosedEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler ConnectionCreatedEvt
 The ConnectionCreatedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConnectionCreatedEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler CreateTimerEvt
 The CreateTimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CreateTimerEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler CursorChangedEvt
 The CursorChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CursorChangedEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler DeleteEvt
 The DeleteEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DeleteEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler DestroyTimerEvt
 The DestroyTimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DestroyTimerEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler DisableEvt
 The DisableEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DisableEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler DomainModifiedEvt
 The DomainModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DomainModifiedEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler EnableEvt
 The EnableEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EnableEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler EndAnimationCueEvt
 The EndAnimationCueEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndAnimationCueEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler EndEvt
 The EndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler EndInteractionEvt
 The EndInteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndInteractionEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler EndPickEvt
 The EndPickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndPickEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler EndWindowLevelEvt
 The EndWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndWindowLevelEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler EnterEvt
 The EnterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EnterEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler ErrorEvt
 The ErrorEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ErrorEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler ExecuteInformationEvt
 The ExecuteInformationEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExecuteInformationEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler ExitEvt
 The ExitEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExitEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler ExposeEvt
 The ExposeEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExposeEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler InteractionEvt
 The InteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.InteractionEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler KeyPressEvt
 The KeyPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.KeyPressEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler KeyReleaseEvt
 The KeyReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.KeyReleaseEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler LeaveEvt
 The LeaveEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeaveEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler LeftButtonPressEvt
 The LeftButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeftButtonPressEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler LeftButtonReleaseEvt
 The LeftButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeftButtonReleaseEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler MiddleButtonPressEvt
 The MiddleButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MiddleButtonPressEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler MiddleButtonReleaseEvt
 The MiddleButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MiddleButtonReleaseEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler ModifiedEvt
 The ModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ModifiedEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler MouseMoveEvt
 The MouseMoveEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseMoveEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler MouseWheelBackwardEvt
 The MouseWheelBackwardEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseWheelBackwardEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler MouseWheelForwardEvt
 The MouseWheelForwardEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseWheelForwardEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler PickEvt
 The PickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PickEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler PlacePointEvt
 The PlacePointEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PlacePointEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler PlaceWidgetEvt
 The PlaceWidgetEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PlaceWidgetEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler ProgressEvt
 The ProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ProgressEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler PropertyModifiedEvt
 The PropertyModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PropertyModifiedEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler RegisterEvt
 The RegisterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RegisterEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler RenderEvt
 The RenderEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RenderEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler RenderWindowMessageEvt
 The RenderWindowMessageEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RenderWindowMessageEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler ResetCameraClippingRangeEvt
 The ResetCameraClippingRangeEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetCameraClippingRangeEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler ResetCameraEvt
 The ResetCameraEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetCameraEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler ResetWindowLevelEvt
 The ResetWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetWindowLevelEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler RightButtonPressEvt
 The RightButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RightButtonPressEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler RightButtonReleaseEvt
 The RightButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RightButtonReleaseEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler SelectionChangedEvt
 The SelectionChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.SelectionChangedEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler SetOutputEvt
 The SetOutputEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.SetOutputEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler StartAnimationCueEvt
 The StartAnimationCueEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartAnimationCueEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler StartEvt
 The StartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler StartInteractionEvt
 The StartInteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartInteractionEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler StartPickEvt
 The StartPickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartPickEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler StartWindowLevelEvt
 The StartWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartWindowLevelEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler TimerEvt
 The TimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.TimerEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler UnRegisterEvt
 The UnRegisterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UnRegisterEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler UpdateEvt
 The UpdateEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdateEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler UpdateInformationEvt
 The UpdateInformationEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdateInformationEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler UpdatePropertyEvt
 The UpdatePropertyEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdatePropertyEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperComputeGradientsEndEvt
 The VolumeMapperComputeGradientsEndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsEndEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperComputeGradientsProgressEvt
 The VolumeMapperComputeGradientsProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsProgressEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperComputeGradientsStartEvt
 The VolumeMapperComputeGradientsStartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsStartEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperRenderEndEvt
 The VolumeMapperRenderEndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderEndEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperRenderProgressEvt
 The VolumeMapperRenderProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderProgressEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler VolumeMapperRenderStartEvt
 The VolumeMapperRenderStartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderStartEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler WarningEvt
 The WarningEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WarningEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler WidgetActivateEvt
 The WidgetActivateEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetActivateEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler WidgetModifiedEvt
 The WidgetModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetModifiedEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler WidgetValueChangedEvt
 The WidgetValueChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetValueChangedEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler WindowLevelEvt
 The WindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WindowLevelEvent as the eventId parameter. More...
 
Kitware.VTK.vtkObject.vtkObjectEventHandler WrongTagEvt
 The WrongTagEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WrongTagEvent as the eventId parameter. More...
 

Detailed Description

vtkImageViewer2 - Display a 2D image.

Description vtkImageViewer2 is a convenience class for displaying a 2D image. It packages up the functionality found in vtkRenderWindow, vtkRenderer, vtkImageActor and vtkImageMapToWindowLevelColors into a single easy to use class. This class also creates an image interactor style (vtkInteractorStyleImage) that allows zooming and panning of images, and supports interactive window/level operations on the image. Note that vtkImageViewer2 is simply a wrapper around these classes.

vtkImageViewer2 uses the 3D rendering and texture mapping engine to draw an image on a plane. This allows for rapid rendering, zooming, and panning. The image is placed in the 3D scene at a depth based on the z-coordinate of the particular image slice. Each call to SetSlice() changes the image data (slice) displayed AND changes the depth of the displayed slice in the 3D scene. This can be controlled by the AutoAdjustCameraClippingRange ivar of the InteractorStyle member.

It is possible to mix images and geometry, using the methods:

viewer->SetInput( myImage ); viewer->GetRenderer()->AddActor( myActor );

This can be used to annotate an image with a PolyData of "edges" or or highlight sections of an image or display a 3D isosurface with a slice from the volume, etc. Any portions of your geometry that are in front of the displayed slice will be visible; any portions of your geometry that are behind the displayed slice will be obscured. A more general framework (with respect to viewing direction) for achieving this effect is provided by the vtkImagePlaneWidget .

Note that pressing 'r' will reset the window/level and pressing shift+'r' or control+'r' will reset the camera.

vtkRenderWindow vtkRenderer vtkImageActor vtkImageMapToWindowLevelColors

Member Enumeration Documentation

Set/get the slice orientation

Enumerator
SLICE_ORIENTATION_XY 

enum member

SLICE_ORIENTATION_XZ 

enum member

SLICE_ORIENTATION_YZ 

enum member

Constructor & Destructor Documentation

static Kitware.VTK.vtkImageViewer2.vtkImageViewer2 ( )
staticprivate

Automatically generated type registration mechanics.

Kitware.VTK.vtkImageViewer2.vtkImageViewer2 ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Kitware.VTK.vtkImageViewer2.vtkImageViewer2 ( )

Undocumented Block

Member Function Documentation

override void Kitware.VTK.vtkImageViewer2.Dispose ( bool  disposing)
protected

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

virtual double Kitware.VTK.vtkImageViewer2.GetColorLevel ( )
virtual

Set window and level for mapping pixels to colors.

virtual double Kitware.VTK.vtkImageViewer2.GetColorWindow ( )
virtual

Set window and level for mapping pixels to colors.

virtual vtkImageActor Kitware.VTK.vtkImageViewer2.GetImageActor ( )
virtual

Get the internal render window, renderer, image actor, and image map instances.

Here is the call graph for this function:

virtual vtkImageData Kitware.VTK.vtkImageViewer2.GetInput ( )
virtual

Set/Get the input image to the viewer.

Here is the call graph for this function:

virtual vtkInteractorStyleImage Kitware.VTK.vtkImageViewer2.GetInteractorStyle ( )
virtual

Get the internal render window, renderer, image actor, and image map instances.

Here is the call graph for this function:

virtual int Kitware.VTK.vtkImageViewer2.GetOffScreenRendering ( )
virtual

Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render.

virtual IntPtr Kitware.VTK.vtkImageViewer2.GetPosition ( )
virtual

Set/Get the position in screen coordinates of the rendering window.

virtual vtkRenderer Kitware.VTK.vtkImageViewer2.GetRenderer ( )
virtual

Get the internal render window, renderer, image actor, and image map instances.

Here is the call graph for this function:

virtual vtkRenderWindow Kitware.VTK.vtkImageViewer2.GetRenderWindow ( )
virtual

Get the internal render window, renderer, image actor, and image map instances.

Here is the call graph for this function:

virtual IntPtr Kitware.VTK.vtkImageViewer2.GetSize ( )
virtual

Set/Get the size of the window in screen coordinates in pixels.

virtual int Kitware.VTK.vtkImageViewer2.GetSlice ( )
virtual

Set/Get the current slice to display (depending on the orientation this can be in X, Y or Z).

virtual int Kitware.VTK.vtkImageViewer2.GetSliceMax ( )
virtual

Return the minimum and maximum slice values (depending on the orientation this can be in X, Y or Z).

virtual int Kitware.VTK.vtkImageViewer2.GetSliceMin ( )
virtual

Return the minimum and maximum slice values (depending on the orientation this can be in X, Y or Z).

virtual int Kitware.VTK.vtkImageViewer2.GetSliceOrientation ( )
virtual

Set/get the slice orientation

virtual void Kitware.VTK.vtkImageViewer2.GetSliceRange ( IntPtr  range)
virtual

Return the minimum and maximum slice values (depending on the orientation this can be in X, Y or Z).

virtual void Kitware.VTK.vtkImageViewer2.GetSliceRange ( ref int  min,
ref int  max 
)
virtual

Return the minimum and maximum slice values (depending on the orientation this can be in X, Y or Z).

virtual IntPtr Kitware.VTK.vtkImageViewer2.GetSliceRange ( )
virtual

Return the minimum and maximum slice values (depending on the orientation this can be in X, Y or Z).

int Kitware.VTK.vtkImageViewer2.GetWholeZMax ( )
int Kitware.VTK.vtkImageViewer2.GetWholeZMin ( )
virtual vtkImageMapToWindowLevelColors Kitware.VTK.vtkImageViewer2.GetWindowLevel ( )
virtual

Get the internal render window, renderer, image actor, and image map instances.

Here is the call graph for this function:

virtual string Kitware.VTK.vtkImageViewer2.GetWindowName ( )
virtual

Get the name of rendering window.

int Kitware.VTK.vtkImageViewer2.GetZSlice ( )
override int Kitware.VTK.vtkImageViewer2.IsA ( string  type)
virtual

Undocumented Block

Reimplemented from Kitware.VTK.vtkObjectBase.

Reimplemented in Kitware.VTK.vtkResliceImageViewer.

static new int Kitware.VTK.vtkImageViewer2.IsTypeOf ( string  type)
static

Undocumented Block

static new vtkImageViewer2 Kitware.VTK.vtkImageViewer2.New ( )
static

Undocumented Block

new vtkImageViewer2 Kitware.VTK.vtkImageViewer2.NewInstance ( )

Undocumented Block

virtual void Kitware.VTK.vtkImageViewer2.OffScreenRenderingOff ( )
virtual

Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render.

virtual void Kitware.VTK.vtkImageViewer2.OffScreenRenderingOn ( )
virtual

Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render.

virtual void Kitware.VTK.vtkImageViewer2.Render ( )
virtual

Render the resulting image.

Reimplemented in Kitware.VTK.vtkResliceImageViewer.

static new vtkImageViewer2 Kitware.VTK.vtkImageViewer2.SafeDownCast ( vtkObjectBase  o)
static

Undocumented Block

Here is the call graph for this function:

virtual void Kitware.VTK.vtkImageViewer2.SetColorLevel ( double  s)
virtual

Set window and level for mapping pixels to colors.

Reimplemented in Kitware.VTK.vtkResliceImageViewer.

virtual void Kitware.VTK.vtkImageViewer2.SetColorWindow ( double  s)
virtual

Set window and level for mapping pixels to colors.

Reimplemented in Kitware.VTK.vtkResliceImageViewer.

virtual void Kitware.VTK.vtkImageViewer2.SetDisplayId ( IntPtr  a)
virtual

These are here when using a Tk window.

virtual void Kitware.VTK.vtkImageViewer2.SetInput ( vtkImageData  arg0)
virtual

Set/Get the input image to the viewer.

Reimplemented in Kitware.VTK.vtkResliceImageViewer.

virtual void Kitware.VTK.vtkImageViewer2.SetInputConnection ( vtkAlgorithmOutput  input)
virtual

Set/Get the input image to the viewer.

Reimplemented in Kitware.VTK.vtkResliceImageViewer.

virtual void Kitware.VTK.vtkImageViewer2.SetOffScreenRendering ( int  arg0)
virtual

Create a window in memory instead of on the screen. This may not be supported for every type of window and on some windows you may need to invoke this prior to the first render.

virtual void Kitware.VTK.vtkImageViewer2.SetParentId ( IntPtr  a)
virtual

These are here when using a Tk window.

virtual void Kitware.VTK.vtkImageViewer2.SetPosition ( int  a,
int  b 
)
virtual

Set/Get the position in screen coordinates of the rendering window.

virtual void Kitware.VTK.vtkImageViewer2.SetPosition ( IntPtr  a)
virtual

Set/Get the position in screen coordinates of the rendering window.

virtual void Kitware.VTK.vtkImageViewer2.SetRenderer ( vtkRenderer  arg)
virtual

Set your own renderwindow and renderer

virtual void Kitware.VTK.vtkImageViewer2.SetRenderWindow ( vtkRenderWindow  arg)
virtual

Set your own renderwindow and renderer

virtual void Kitware.VTK.vtkImageViewer2.SetSize ( int  a,
int  b 
)
virtual

Set/Get the size of the window in screen coordinates in pixels.

virtual void Kitware.VTK.vtkImageViewer2.SetSize ( IntPtr  a)
virtual

Set/Get the size of the window in screen coordinates in pixels.

virtual void Kitware.VTK.vtkImageViewer2.SetSlice ( int  s)
virtual

Set/Get the current slice to display (depending on the orientation this can be in X, Y or Z).

virtual void Kitware.VTK.vtkImageViewer2.SetSliceOrientation ( int  orientation)
virtual

Set/get the slice orientation

virtual void Kitware.VTK.vtkImageViewer2.SetSliceOrientationToXY ( )
virtual

Set/get the slice orientation

virtual void Kitware.VTK.vtkImageViewer2.SetSliceOrientationToXZ ( )
virtual

Set/get the slice orientation

virtual void Kitware.VTK.vtkImageViewer2.SetSliceOrientationToYZ ( )
virtual

Set/get the slice orientation

virtual void Kitware.VTK.vtkImageViewer2.SetupInteractor ( vtkRenderWindowInteractor  arg0)
virtual

Attach an interactor for the internal render window.

virtual void Kitware.VTK.vtkImageViewer2.SetWindowId ( IntPtr  a)
virtual

These are here when using a Tk window.

void Kitware.VTK.vtkImageViewer2.SetZSlice ( int  arg0)
virtual void Kitware.VTK.vtkImageViewer2.UpdateDisplayExtent ( )
virtual

Update the display extent manually so that the proper slice for the given orientation is displayed. It will also try to set a reasonable camera clipping range. This method is called automatically when the Input is changed, but most of the time the input of this class is likely to remain the same, i.e. connected to the output of a filter, or an image reader. When the input of this filter or reader itself is changed, an error message might be displayed since the current display extent is probably outside the new whole extent. Calling this method will ensure that the display extent is reset properly.

Member Data Documentation

new readonly string Kitware.VTK.vtkImageViewer2.MRClassNameKey = "15vtkImageViewer2"
static

Automatically generated type registration mechanics.

new const string Kitware.VTK.vtkImageViewer2.MRFullTypeName = "Kitware.VTK.vtkImageViewer2"

Automatically generated type registration mechanics.


The documentation for this class was generated from the following file: