Hi!

I want to show a sphere in my functionallity. I tried this but get a runtime 
error. (Showing .vtk-files at the same position in code is no problem)

mitk::Ellipsoid * pEllipsoid = mitk::Ellipsoid::New();
mitk::DataTreeNode::Pointer pNode = mitk::DataTreeNode::New();
mitk::DataTreeNodeFactory::SetDefaultSurfaceProperties( pNode );
pNode->SetData( pEllipsoid );
GetDataTreeIterator()->Add(pNode);

Can you please show me how I can draw a sphere ?

Thanks!
_______________________________________________________________________
DSL zum Nulltarif + 20 Euro Extraprämie bei Online-Bestellung über die
DSL Freundschaftswerbung! http://dsl.web.de/?ac=OM.AD.AD008K15279B7069a


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to