From: apo Date: Wed, 7 Sep 2005 12:36:30 +0000 (+0000) Subject: To calculate height of 3D Gauss Points cursor X-Git-Tag: BR-D5-38-2003_D2005-12-09~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cd3c4c7e3838a587f33644da25e20dda6f5d232f;p=modules%2Fvisu.git To calculate height of 3D Gauss Points cursor --- diff --git a/src/PIPELINE/VISU_GaussPointsPL.cxx b/src/PIPELINE/VISU_GaussPointsPL.cxx index b46b3e3f..6dfb8142 100644 --- a/src/PIPELINE/VISU_GaussPointsPL.cxx +++ b/src/PIPELINE/VISU_GaussPointsPL.cxx @@ -233,3 +233,10 @@ VISU_GaussPointsPL return GetPointSize(theID,aScalarArray); } +float +VISU_GaussPointsPL +::GetMaxPointSize() +{ + return myAverageCelllSize*myRelativeMaxSize; +} + diff --git a/src/PIPELINE/VISU_GaussPointsPL.hxx b/src/PIPELINE/VISU_GaussPointsPL.hxx index 3d05e0d6..af7b4384 100644 --- a/src/PIPELINE/VISU_GaussPointsPL.hxx +++ b/src/PIPELINE/VISU_GaussPointsPL.hxx @@ -94,6 +94,9 @@ public: return myRelativeMaxSize; } + float + GetMaxPointSize(); + float GetPointSize(vtkIdType theID);