Difference between revisions of "User:Waldyrious"

From KitwarePublic
Jump to navigationJump to search
(more info about interactor styles)
(→‎Todo: fmt)
Line 5: Line 5:
 
== Todo ==
 
== Todo ==
 
* Fix [[Special:DoubleRedirects]]
 
* Fix [[Special:DoubleRedirects]]
* Add highlights (<code>highlight="lineNum"</code> in the <nowiki><source></nowiki> blocks) to the key lines in the [[VTK/Examples/Cxx|code samples]] ([[wikipedia:mw:Extension:SyntaxHighlight GeSHi#highlight|example]]). Use the "line" attribute to show line numbers while working on this)
+
* Add highlights (<code>highlight="lineNum"</code> in the <nowiki><source></nowiki> blocks) to the key lines in the [[VTK/Examples/Cxx|code samples]] ([[wikipedia:mw:Extension:SyntaxHighlight GeSHi#highlight|example]]). Use the <code>line<code> attribute to show line numbers while working on this)
 
* Info on how the examples are organized: [[VTK/Examples/Instructions/ForAdministrators]]
 
* Info on how the examples are organized: [[VTK/Examples/Instructions/ForAdministrators]]
  

Revision as of 12:28, 29 June 2016

I'm User:Waldir on Wikimedia wikis, having been an active editor since early 2005.

I live in Braga, Portugal and am currently a PhD student in Computer Generated Holography.

Todo

Notes

  • The default interactor style is "joystick camera", but the "trackball camera" style is more usable for experimentation. To use it:
   vtkSmartPointer<vtkInteractorStyleTrackballCamera> style =
     vtkSmartPointer<vtkInteractorStyleTrackballCamera>::New();
   interactor->SetInteractorStyle(style);

For 2D data, either vtkInteractorStyleImage or vtkParallelCoordinatesInteractorStyle (both subclasses of vtkInteractorStyleTrackballCamera) should work, but both have awkward default left-click event bindings, compared to their parent: left-click-drag should rotate around the view plane normal (or maybe pan would be even more intuitive), but in both cases this triggers "window level" (contrast, brightness) events. Ctrl needs to be pressed to activate the rotate function in both cases, but it should be the opposite. It shouldn't be hard to adapt one of them to accept custom flags to toggle more intuitive behavior. Or maybe change vtkInteractorStyleTrackballCamera to allow locking rotation to the view plane normal.