VTK: vtkTkImageViewerWidget Class Reference

| VTK 9.3.1

Public Attributes | List of all members
vtkTkImageViewerWidget Class Reference

a Tk Widget for viewing vtk images More...

`#include <vtkTkImageViewerWidget.h>`

Collaboration diagram for vtkTkImageViewerWidget:
[legend]

## Public Attributes
Tk_Window | TkWin
Tcl_Interp * | Interp
int | Width
int | Height
vtkImageViewer * | ImageViewer
char * | IV

## Detailed Description

a Tk Widget for viewing vtk images

vtkTkImageViewerWidget is a Tk widget that you can render into. It has a GetImageViewer method that returns a vtkImageViewer. You can also specify a vtkImageViewer to be used when creating the widget by using the -iv option. It also takes -width and -height options. Events can be bound on this widget just like any other Tk widget.

See also
  vtkImageViewer

Tests:
  vtkTkImageViewerWidget (Tests)

Definition at line 30 of file vtkTkImageViewerWidget.h.

## Member Data Documentation

## ◆ TkWin

Tk_Window vtkTkImageViewerWidget::TkWin

Definition at line 32 of file vtkTkImageViewerWidget.h.

## ◆ Interp

Tcl_Interp* vtkTkImageViewerWidget::Interp

Definition at line 33 of file vtkTkImageViewerWidget.h.

## ◆ Width

int vtkTkImageViewerWidget::Width

Definition at line 34 of file vtkTkImageViewerWidget.h.

## ◆ Height

int vtkTkImageViewerWidget::Height

Definition at line 35 of file vtkTkImageViewerWidget.h.

## ◆ ImageViewer

vtkImageViewer* vtkTkImageViewerWidget::ImageViewer

Definition at line 36 of file vtkTkImageViewerWidget.h.

## ◆ IV

char* vtkTkImageViewerWidget::IV

Definition at line 37 of file vtkTkImageViewerWidget.h.

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

- Rendering/Tk/vtkTkImageViewerWidget.h