class GraphKit::VTKObjectGroup

Attributes

actor[RW]

The vtkActor which is responsible for the data within the window

interactor[RW]

The VTK interactor

large_image_renderer[RW]

The VTK object which connects to the renderer and should be connected to an image writer to write image files.

mapper[RW]

The VTK mapper (which converts the data to image data)

other_objects[R]

A hash containing other VTK objects

output[RW]

The output of the Reader

reader[RW]

The VTK object which reads the file

renderer[RW]

The VTK renderer which renders the image data

renderer_window[RW]

The VTK window object into which the data is rendered It is what causes the renderer to act.

volume[RW]

The vtkVolume which is responsible for the data within the window in the case of volume rendering

vtk_module[RW]

The Python vtk module

Public Class Methods

new() click to toggle source
# File lib/graphkit-vtk.rb, line 6
def initialize
        @other_objects = {}
end

Public Instance Methods

delete() click to toggle source
# File lib/graphkit-vtk.rb, line 48
def delete
        #([@reader, @mapper, @actor, @volume, @renderer, @renderer_window, @large_image_renderer, @interactor] + other_objects.values).each do |obj|
                #next unless obj
                #begin
                        #obj.Delete
                #rescue NoMethodError => err
                        #puts err, obj
                        #next
                #end
        #end
end