Dear list,
I'm trying to setup a mitk::PointSet and I would like to highlight a single
point in a different color than the rest of the points within the PointSet.
Let's say my grid 40 points (8 rows of 5 points) and basic grid color is
red. Now I would like to display the third point in the second row in cyan
(or any other color but red).
Using the following code
pointSetNode->SetColor( r,g,b );
mitk::PointSet::PointType pt;
pt[0] = x; pt[1] = y; pt[2] = 0;
pointSet->InsertPoint(pointID, pt);
- where r,g,b specify red, green and blue values of a point's color, x and y
grid coordinates - does not seem to have a effect. It looks like the entire
grid is being displayed in the color I defined most recently.
Is there a way to set colord for single points without using a second
pointset?
Best,
Michael Kirches
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users