Hi,
what datatype are you using? Is it a VTK polydata, unstructured grid, etc.?
You could also try:
mitk::TimeSlicedGeometry::Pointer bounds =
this->GetDataStorage()->ComputeBoundingGeometry3D();
mitk::RenderingManager::GetInstance()->InitializeViews(bounds);
Best,
Sascha
On 07/22/2010 02:36 PM, Benjamin Knecht wrote:
Hi,
I wrote a plugin that creates a new model from the ground. Now I can
put it into a DataNode and add it to the DataStorage and I also see it
pop up in the DataManager list in the GUI.
However the model is not visible in the four views of the display.
When I load another model into the DataManager using "File->Open..."
and choose a model from the file system both models become visible.
For my first model I already use
mitk::RenderingManager::GetInstance()->InitializeViews();
mitk::RenderingManager::GetInstance()->RequestUpdateAll();
But that doesn't seem to be enough. What more is done loading data
from the file system via "File->Open..."?
Thanks in advance,
Benjamin
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users