vtkParallelopipedWidget

Section: Visualization Toolkit Widget Classes

Usage

This widget was designed with the aim of visualizing / probing cuts on a skewed image data / structured grid.

.SECTION Interaction The widget allows you to create a parallelopiped (defined by 8 handles). The widget is initially placed by using the "PlaceWidget" method in the representation class. After the widget has been created, the following interactions may be used to manipulate it : 1) Click on a handle and drag it around moves the handle in space, while keeping the same axis alignment of the parallelopiped 2) Dragging a handle with the shift button pressed resizes the piped along an axis. 3) Control-click on a handle creates a chair at that position. (A chair is a depression in the piped that allows you to visualize cuts in the volume). 4) Clicking on a chair and dragging it around moves the chair within the piped. 5) Shift-click on the piped enables you to translate it.

To create an instance of class vtkParallelopipedWidget, simply invoke its constructor as follows

  obj = vtkParallelopipedWidget

Methods

The class vtkParallelopipedWidget has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkParallelopipedWidget class.