VTK  9.4.20241124
Public Attributes | List of all members
vtkTkRenderWidget Class Reference

a Tk Widget for vtk rendering More...

#include <vtkTkRenderWidget.h>

Collaboration diagram for vtkTkRenderWidget:
[legend]

Public Attributes

Tk_Window TkWin
 
Tcl_Interp * Interp
 
int Width
 
int Height
 
vtkRenderWindowRenderWindow
 
char * RW
 

Detailed Description

a Tk Widget for vtk rendering

vtkTkRenderWidget is a Tk widget that you can render into. It has a GetRenderWindow method that returns a vtkRenderWindow. This can then be used to create a vtkRenderer and etc. You can also specify a vtkRenderWindow to be used when creating the widget by using the -rw option. It also takes -width and -height options. Events can be bound on this widget just like any other Tk widget.

See also
vtkRenderWindow vtkRenderer
Tests:
vtkTkRenderWidget (Tests)

Definition at line 35 of file vtkTkRenderWidget.h.

Member Data Documentation

◆ TkWin

Tk_Window vtkTkRenderWidget::TkWin

Definition at line 37 of file vtkTkRenderWidget.h.

◆ Interp

Tcl_Interp* vtkTkRenderWidget::Interp

Definition at line 38 of file vtkTkRenderWidget.h.

◆ Width

int vtkTkRenderWidget::Width

Definition at line 39 of file vtkTkRenderWidget.h.

◆ Height

int vtkTkRenderWidget::Height

Definition at line 40 of file vtkTkRenderWidget.h.

◆ RenderWindow

vtkRenderWindow* vtkTkRenderWidget::RenderWindow

Definition at line 41 of file vtkTkRenderWidget.h.

◆ RW

char* vtkTkRenderWidget::RW

Definition at line 42 of file vtkTkRenderWidget.h.


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