Click hear for a tutorial on setting up your Java environment.

It would be appreciated if there are any Python VTK experts who could convert any of the c++ examples to Java!

Input and Output

Example Name Classes Demonstrated Description
Read a polydata(.vtp) file vtkXMLPolyDataReader IO
Write a polygonal data (.vtp) file vtkXMLPolyDataWriter IO

Implicit Functions and Iso-surfaces

Example Name Classes Demonstrated Description
ImplicitSphere vtkSphere vtkAppendPolyData vtkTubeFilter ImplicitFunctions, Append poly data, tube filter, sphere

Data Structures

Example Name Classes Demonstrated Description
VisualizeKDTree vtkKdTreePointLocator

Image Processing

Example Name Classes Demonstrated Description
ImageTest vtkImageReader2Factory use Java File Dialog to select Image File to Display

Miscellaneous

Example Name Classes Demonstrated Description
Cutter vtkCutter
Screenshot vtkWindowToImageFilter
Cone6 The missing Step 6 Java example from Examples/Tutorial

Visualization

Example Name Classes Demonstrated Description
Animation Move a sphere across a scene
Follower vtkFollower Draw text that stays right side up
AnimDataCone vtkRenderWindowInteractor Animate a cone by modifying the polydata points - uses Interaction M key (Motion) to toggle animation.
ColorAnActor vtkActor::SetColor Animate a cone by modifying the polydata points - uses Interaction M key (Motion) to toggle animation.
VectorField

Interaction

Example Name Classes Demonstrated Description
SphereInteractionPanel vtkInteractorStyleSwitch vtkCanvas Switch style interaction adds C and A key actions for selecting Camera or Actor interaction, and T and J key actions for Trackball or Joystick interaction mode. Adds charEvent observer callback to restore the missing E and Q events to quit.

Graphs

Example Name Classes Demonstrated Description
SelectGraphVertices vtkAnnotationLink Select Edges and vertices in a graph

Swing Integration

Example Name Classes Demonstrated Description
JFrameRender vtkRenderWindowPanel Render a scene in a JFrame using a vtkRenderWindowPanel
SwingHandleMouseEvent vtkRenderWindowPanel Display in a JLabel the point the mouse is hovering over using a mouse listener