]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Settings for GeomSphere.
authorouv <ouv@opencascade.com>
Fri, 2 Dec 2005 13:04:38 +0000 (13:04 +0000)
committerouv <ouv@opencascade.com>
Fri, 2 Dec 2005 13:04:38 +0000 (13:04 +0000)
src/OBJECT/VISU_GaussPtsSettings.cxx
src/OBJECT/VISU_GaussPtsSettings.h

index b434371ae9e54f6e8686afc72be4f648ddba4d8e..0266f2ad75e1fa12421c50e8cb651b0639ea53e7 100644 (file)
@@ -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;
index 8f53ecae65060669428d3c93262cac36ac5a0543..1946b58b2f09643fb0f48d2117c98673e007effc 100644 (file)
@@ -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];