Hi Charles,
Please subscribe to the MITK-Users mailinglist at
https://lists.sourceforge.net/lists/listinfo/mitk-users and post all questions
to [email protected]<mailto:[email protected]>.
If you start the CoreApp/ExtApp application, you should be able to load a .stl
file using the File/Open menu.
If you want to move it around with the mouse, you need to assign a
mitk::AffineInteractor to the DataTreeNode that holds the surface.
Assuming, you have your own view class in your own bundle, use something like
this:
mitk::DataStorage* myDS = this->GetDefaultDataStorage();
mitk::DataTreeNode* node = myDS->GetNamedNode(nameOfMySurface);
mitk::AffineInteractor myInteractor =
mitk::AffineInteractor::New("AffineInteractor3D", node);
node->SetInteractor(myInteractor); // probably not needed
Hope this helps.
Regards,
Jochen
Von: [email protected] [mailto:[email protected]]
Im Auftrag von Wegner Ingmar
Gesendet: Dienstag, 17. November 2009 16:48
An: '[email protected]'
Betreff: WG: Could anyone point me out how to implement "moving" data object
inside standard MITK window?
Von: Charles Yeh [mailto:[email protected]]
Gesendet: Dienstag, 17. November 2009 10:22
An: [email protected]
Betreff: Could anyone point me out how to implement "moving" data object inside
standard MITK window?
To whom it may concern:
I'm new to MITK and just successfully build VS2008/QT4 version mitk 0.13 from
SVN2 revision 19909.
I'm worndering (and a bit lost) how to quickly add new function to move object
(reading from STL 3D file) like panning. I roughly know it can be done in VTK
actor to set new positions, however, I can not figure out how to add this
frequently used function into MITK. If you can kindly point out some direction
to implement it. I'd be truly grateful.
Charles
_______________________________________________
mitk mailing list
[email protected]
https://listhost.inet.dkfz-heidelberg.de/mailman/listinfo/mitk
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users