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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users