Hi Martin, http://cdash.mitk.org/viewUpdate.php?buildid=565396
Best, Stefan ________________________________________ Von: Kislinskiy, Stefan [s.kislins...@dkfz-heidelberg.de] Gesendet: Donnerstag, 12. März 2015 12:40 An: Martin Klemm; mitk-users@lists.sourceforge.net Betreff: Re: [mitk-users] Changing the pixel size of mitk::Surface points in the mitk::SurfaceMapper Hi Martin! Thank you for pointing this out. There's no reason against considering point size in the Surface rendering. I'll have a look into this today. Best, Stefan -----Ursprüngliche Nachricht----- Von: Martin Klemm [mailto:martin.kl...@hs-offenburg.de] Gesendet: Mittwoch, 11. März 2015 16:08 An: mitk-users@lists.sourceforge.net Betreff: [mitk-users] Changing the pixel size of mitk::Surface points in the mitk::SurfaceMapper Hi, we have a point cloud stored in a mitk::Surface and want to visualize it. At the moment these points are displayed as one single pixel. This is not visible enough in our application so we want to have them visualized with at least 9 pixel (diameter of 3 pixel). vtkProperty already has a method to set this size (SetPointSize()). However, so far it is not used for mitk::Surfaces. Is there any reason against making this method available in the same way as the wirefram line width, e.g.: // Wireframe line width { float lineWidth = 1; node->GetFloatProperty("material.wireframeLineWidth", lineWidth, renderer); property->SetLineWidth( lineWidth ); } // Point size (diameter in screen unit) { float pointDiameter = 1.0; node->GetFloatProperty("material.pointDiameter", pointDiameter, renderer); property->SetPointSize(pointDiameter); } In this way it can be set in the properties of the surface node. If you want I can file a bug and send a pull request. Best Martin ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ mitk-users mailing list mitk-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mitk-users