Sat, 05/13/2006 - 02:31
Forums:
Hello OCC-User,
i want to compute the maximum distance of two surfaces and display this distances as a colored surface (with colors depending of the distance),
therefore i want to use the new class of OCC 6.1 V3d_ColorScale for 3D_Viewer,
Does anybody knows, if this using is possible, when i import this package?
many greetings,
OccUser
Fri, 01/19/2007 - 13:01
i have the same challenge. did you solve that?
thanks, juri
Tue, 01/30/2007 - 20:06
You can do the following while initializing your viewer:
Handle_Aspect_ColorScale colorScale = myView->ColorScale();
colorScale->SetRange(-10,10);
myView->ColorScaleDisplay();
Regards
Pawel
Wed, 01/31/2007 - 11:17
That was just an example. Just look for the ColorScale class in source files.
Pawel