Hi, you can retrieve Geometry3D instances from your TimeGeometry instances, e.g., by calling GetGeometryForTimestep().
Best, Stefan ________________________________________ Von: Martin Klemm [martin.kl...@hs-offenburg.de] Gesendet: Dienstag, 18. März 2014 15:37 An: mitk-users@lists.sourceforge.net Betreff: [mitk-users] Expanding Bounding Boxes Hello, is there a way to set minimum values for the bounding box? What I want to do is the following: mitk::DataStorage::Pointer ds = _objContainer->GetDataStorage(); // get all nodes that have not set "includeInBoundingBox" to false and compute bounding box if (ds.IsNull()) return; mitk::NodePredicateNot::Pointer pred = mitk::NodePredicateNot::New( mitk::NodePredicateProperty::New("includeInBoundingBox", mitk::BoolProperty::New(false))); mitk::DataStorage::SetOfObjects::ConstPointer rs = ds->GetSubset(pred); mitk::TimeGeometry::Pointer bounds = ds->ComputeBoundingGeometry3D(rs, "visible"); if (bounds.IsNull()) return; bounds->SetExtentInMM(0, 100); bounds->SetExtentInMM(1, 100); bounds->SetExtentInMM(2, 100); The problem is that the last call (SetExtentInMM) does not exist for TimeGeometry, however, it exists for Geometry3D. Does anyone knows a way to solve this? Thank you very much. Best regards Martin ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users