[vtkusers] InteractionEvent in clojure?

Antonio Recio amdx64bt at gmail.com
Sat Mar 3 17:33:07 EST 2012


I want to translate the example Cone6.java to clojure. I don't know
how to use InteractionEvent in clojure. Can you give some advice? Do
yo know some tutorials/projects for vtk in clojure?

void myCallback() {
	vtkTransform t = new vtkTransform();
	boxWidget.GetTransform(t);
	boxWidget.GetProp3D().SetUserTransform(t);
}

boxWidget.AddObserver("InteractionEvent", this, "myCallback");


Sources:
http://www.cmake.org/Wiki/VTK/Examples/Java/Miscellaneous/Cone6
http://www.vtk.org/doc/nightly/html/classvtkBoxWidget.html



More information about the vtkusers mailing list