From: ouv Date: Fri, 2 Dec 2005 13:04:38 +0000 (+0000) Subject: Settings for GeomSphere. X-Git-Tag: TG-D5-38-2003_D2005-20-12~77 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7cb257313a9fe87f965ac9979cfe77e59e79dcf5;p=modules%2Fvisu.git Settings for GeomSphere. --- 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];