From 7cb257313a9fe87f965ac9979cfe77e59e79dcf5 Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 2 Dec 2005 13:04:38 +0000 Subject: [PATCH] Settings for GeomSphere. --- src/OBJECT/VISU_GaussPtsSettings.cxx | 2 ++ src/OBJECT/VISU_GaussPtsSettings.h | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/src/OBJECT/VISU_GaussPtsSettings.cxx b/src/OBJECT/VISU_GaussPtsSettings.cxx index b434371a..0266f2ad 100644 --- a/src/OBJECT/VISU_GaussPtsSettings.cxx +++ b/src/OBJECT/VISU_GaussPtsSettings.cxx @@ -45,6 +45,7 @@ VISU_InsideCursorSettings::VISU_InsideCursorSettings() this->Clamp = -1; this->Texture = NULL; this->AlphaThreshold = -1; + this->Resolution = -1; this->MinSize = -1; this->MaxSize = -1; this->Magnification = -1; @@ -65,6 +66,7 @@ VISU_OutsideCursorSettings::VISU_OutsideCursorSettings() this->Clamp = -1; this->Texture = NULL; this->AlphaThreshold = -1; + this->Resolution = -1; this->Size = -1; this->Uniform = false; this->Color[0] = -1; diff --git a/src/OBJECT/VISU_GaussPtsSettings.h b/src/OBJECT/VISU_GaussPtsSettings.h index 8f53ecae..1946b58b 100644 --- a/src/OBJECT/VISU_GaussPtsSettings.h +++ b/src/OBJECT/VISU_GaussPtsSettings.h @@ -72,6 +72,9 @@ class VISU_InsideCursorSettings : public vtkObject vtkSetMacro( AlphaThreshold, float ); vtkGetMacro( AlphaThreshold, float ); + vtkSetMacro( Resolution, int ); + vtkGetMacro( Resolution, int ); + vtkSetMacro( MinSize, float ); vtkGetMacro( MinSize, float ); @@ -92,6 +95,7 @@ private: float Clamp; vtkImageData* Texture; float AlphaThreshold; + int Resolution; float MinSize; float MaxSize; float Magnification; @@ -133,6 +137,9 @@ class VISU_OutsideCursorSettings : public vtkObject vtkSetMacro( AlphaThreshold, float ); vtkGetMacro( AlphaThreshold, float ); + vtkSetMacro( Resolution, int ); + vtkGetMacro( Resolution, int ); + vtkSetMacro( Size, float ); vtkGetMacro( Size, float ); @@ -149,6 +156,7 @@ private: float Clamp; vtkImageData* Texture; float AlphaThreshold; + int Resolution; float Size; bool Uniform; float Color[3]; -- 2.39.2