From cd3c4c7e3838a587f33644da25e20dda6f5d232f Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 7 Sep 2005 12:36:30 +0000 Subject: [PATCH] To calculate height of 3D Gauss Points cursor --- src/PIPELINE/VISU_GaussPointsPL.cxx | 7 +++++++ src/PIPELINE/VISU_GaussPointsPL.hxx | 3 +++ 2 files changed, 10 insertions(+) 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); -- 2.39.2