Hello,

the speed up after http://bugs.mitk.org/show_bug.cgi?id=3688 is great!

good job!
sebastian

On Fri, Apr 16, 2010 at 1:55 PM, Sascha Zelzer
<[email protected]> wrote:
> Hi,
>
> I cleaned up a lot of the unstructured grid rendering today. For details,
> you can have a look at:
>
> http://bugs.mitk.org/show_bug.cgi?id=3337
> http://bugs.mitk.org/show_bug.cgi?id=3688
>
> 2D rendering of slices through the data should now be highly improved.
>
> Best,
> Sascha
>
>
> On 02/15/2010 12:57 AM, sebastian ordas wrote:
>>
>> Hello Sascha and List,
>>
>> thanks for the patch. I try it and worked fine. As you pointed out,
>> the 2D views run extremely low.
>>
>> btw, in general, MITK has trouble with 2D rendering of meshes:
>>
>> - when more than 2-3 meshes are rendered, turns low
>> - also when zooming
>>
>> do you guys experience the same? is vtkPolyDataCutter really slow in
>> generating contours?
>>
>> one good source of test data is
>> http://www.ircad.fr/softwares/3Dircadb/3Dircadb2/index.php
>> there are CT datasets and segmentations, both as labeled images and
>> vtkPolyDatas.
>>
>> Loading 2-3 of such organ meshes make the application run really slow.
>>
>> best regards,
>> sebastian
>>
>> On Fri, Feb 12, 2010 at 2:57 PM, Sascha Zelzer
>> <[email protected]>  wrote:
>>
>>>
>>> Hi Sebastian,
>>>
>>> unstructured grid support is indeed broken, I have opened bug #3337 at
>>> http://bugs.mitk.org/show_bug.cgi?id=3337 . You can register at our
>>> bugzilla
>>> site and cc yourself to the bug.
>>>
>>> The file I loaded successfully was actually a vtk polydata, while your
>>> .vtu
>>> files could not be loaded. I have created a first patch (attached on the
>>> bug) which re-enables ug support in MITK, but it may still be suboptimal.
>>> Maybe you can test it and tell me if it works for you?
>>>
>>> Cheers,
>>> Sascha
>>>
>>>
>>> On 02/12/2010 03:26 AM, sebastian ordas wrote:
>>>
>>>>
>>>> Hello Sascha,
>>>>
>>>> thanks for helping with this
>>>>
>>>> I sent you two testing meshes already and here's my code:
>>>>
>>>> // given some filter that generates the unstructured grid (i saved
>>>> unstructuredGrid to file and can load it with paraview)
>>>>
>>>>    mitk::UnstructuredGrid::Pointer unstructuredGrid =
>>>> filter->GetOutput();
>>>>     unstructuredGrid->DisconnectPipeline();
>>>>
>>>>     m_UnstructuredGridNode = mitk::DataTreeNode::New();
>>>>     m_UnstructuredGridNode->SetData(unstructuredGrid);
>>>>     mitk::CoreExtObjectFactory::GetInstance()->SetDefaultProperties(
>>>> m_UnstructuredGridNode );
>>>>     m_UnstructuredGridNode->SetName("Tetra Mesh");
>>>>     // this enables cuts through the unstructured grid to be visible in
>>>> 2D
>>>> views
>>>>     m_UnstructuredGridNode->SetProperty("outline polygons",
>>>> mitk::BoolProperty::New(true));
>>>>
>>>>    if ( !this->GetDefaultDataStorage()->Exists( m_UnstructuredGridNode )
>>>> )
>>>>         this->GetDefaultDataStorage()->Add(m_UnstructuredGridNode);
>>>>
>>>> that´s it!
>>>>
>>>> thank you,
>>>> sebastian
>>>>
>>>>
>>>> On Thu, Feb 11, 2010 at 8:52 PM, Sascha Zelzer
>>>> <[email protected]>    wrote:
>>>>
>>>>
>>>>>
>>>>> Hi Sebastian,
>>>>>
>>>>> sorry, for the long wait. Other things have been on my radar recently,
>>>>> but I
>>>>> just took some time to look into the problem. It turns out that I could
>>>>> load
>>>>> a .vtk file (with the ExtApp) containing an unstructured grid without
>>>>> any
>>>>> problems with a svn checkout from yesterday.
>>>>>
>>>>> What exactly are you trying to do? Do you have troubles adding a vtk
>>>>> unstructured grid to the DataStorage within your code?
>>>>>
>>>>> Best,
>>>>> Sascha
>>>>>
>>>>> On 02/11/2010 11:34 PM, sebastian ordas wrote:
>>>>>
>>>>>
>>>>>>
>>>>>> Hello Sacha,
>>>>>>
>>>>>> Did you have the chance of rendering an unstructured grid?
>>>>>>
>>>>>> Let me know if so
>>>>>>
>>>>>> than you,
>>>>>> sebastian
>>>>>>
>>>>>> Mon, 12 Oct 2009 10:01:34 -0700
>>>>>>
>>>>>> Hi Sebastian,
>>>>>>
>>>>>> I'm afraid that the unstructured grid support was lost somewhere
>>>>>> during
>>>>>> the
>>>>>> redesign phase of the MITK rendering system. I did not try to
>>>>>> visualize
>>>>>> an
>>>>>> unstructured grid for some time, but I will need this feature myself
>>>>>> soon,
>>>>>> so I
>>>>>> will keep you posted about the state of the unstructured grid mappers.
>>>>>>
>>>>>> Cheers,
>>>>>> Sascha
>>>>>>
>>>>>>
>>>>>> -----Ursprüngliche Nachricht-----
>>>>>> Von: sebastian ordas [mailto:[email protected]]
>>>>>> Gesendet: Montag, 12. Oktober 2009 18:16
>>>>>> An: [email protected]
>>>>>> Cc: Zelzer Sascha
>>>>>> Betreff: cannot render a mitkUnstructuredGrid
>>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> Regarding the following discussion topic:
>>>>>>
>>>>>>
>>>>>> http://www.mail-archive.com/[email protected]/msg00296.html
>>>>>> I did also tried opening a vtkUnstructuredGrid and found trouble
>>>>>> rendering it.
>>>>>>
>>>>>> Furthermore, I generated my own mitk::UnstructuredGrid as suggested in
>>>>>> the post but could not add it to the DataStorage.
>>>>>>
>>>>>> Sasha, is that working for you in the new MITK-OpenCherry application?
>>>>>>
>>>>>> cheers,
>>>>>> sebastian
>>>>>>
>>>>>> PS: using SVN mitk
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>
>>>
>
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to