Module | EasyVtk |
In: |
easy_vtk.rb
|
With_narray | = | true |
With_narray | = | false |
Draws colorbar
Draws contour surfaces
creats color lookup table automatically
Draws fixed text
Starts drawing and GUI
In the initialization, Vtk::Renderer, Vtk::RenderWindow, and Vtk::RenderWindowInteractior are made, and set to module variable.
Draws tone of a plane
Saves window image to file
Vtk::RectilineraGrid is made. Sets the three arrays of x, y and z axes. Length of the all arrays must be the same.
Sets the background color of window.
Sets the position of the camera in world coordinate
Sets the array of scalar data.
Vtk::StructuredGrid is made. Sets the three arrays of x, y and z of grid points. Length of the all arrays must be the same as that of data.
Sets the size of window.
Draw sphere surface
* radius (Numeric) * radius of sphere to be drawn
* resolution (Numeric) * resolution of sphere to be drawn
* nil
Draws streamline
Draw isosurface
Draws Volume Rendering