]> Creatis software - creaVtk.git/blobdiff - lib/creaVtk/vtkVectorsTensorsVisuBase.h
Merge remote-tracking branch 'origin/vtk7itk4' into vtk7itk4wx3
[creaVtk.git] / lib / creaVtk / vtkVectorsTensorsVisuBase.h
index c1e7b7531bd000fb71f9d63ba98feaec7264fe90..831fc2ccde4b6a719f7da66562bf8ef68b7f2a47 100644 (file)
@@ -28,7 +28,6 @@
 #ifndef _VTKVECTORSTENSORSVISUBASE_H_
 #define _VTKVECTORSTENSORSVISUBASE_H_
 
-
 #include "vtkActor.h"
 #include "vtkLookupTable.h"
 #include "vtkPolyDataMapper.h"
 #include "vtkSmartPointer.h"
 #include "vtkVectorNorm.h"
 
-
 //---------------------------------------------
 // Class Name: vtkVectorsTensorsVisuBase
 // [classdescription]
 //---------------------------------------------
 
-
-
-
 class /*VTK_COMMON_EXPORT*/ vtkLookupTableDirectionVector : public vtkScalarsToColors
 {
 public:
@@ -71,14 +66,11 @@ public:
        void MapScalarsThroughTable2(void *input, unsigned char *output,
                                                                 int inputDataType, int numberOfValues,
                                                                 int inputIncrement, int outputIncrement);
-       
-       
+               
 protected:
-       
-        double TableRange[2];
+       double TableRange[2];
        vtkLookupTableDirectionVector(int sze=256, int ext=256);
        ~vtkLookupTableDirectionVector();
-       
                
 private:
        vtkLookupTableDirectionVector(const vtkLookupTableDirectionVector&);  // Not implemented.
@@ -86,18 +78,6 @@ private:
 };
 
 
-
-
-
-
-
-
-
-
-
-
-
-
 class vtkVectorsTensorsVisuBase
 {
 
@@ -117,16 +97,16 @@ public :
    void                                        SetColorLaw(int);
    void                                        SetColor(std::vector<double>);
 
-   bool                                        GetActive();
+   bool                                GetActive();
    vtkDataObject*              GetDataObject();
-   vtkRenderer*                GetRenderer();
+   vtkRenderer*                        GetRenderer();
    double                              GetScaleFactor();
    double                              GetOpacity();
    vtkProp3D*                  GetProp3D();
    int                                 GetTypeForm();
 
    virtual void                Process();
-   void                                        VisibilityActor();
+   void                                VisibilityActor();
 
 
 
@@ -140,25 +120,21 @@ protected:
 //Methods and attributes only visible by this class
 //---------------------------------------------
 private:
-   bool                                                                                        _actorAdded;
-
-   double                                                                              _scalefactor;
-   double                                                                              _opacity;
-   vtkDataObject                                                               *_dataobject;
-   vtkRenderer                                                                 *_renderer;
-   int                                                                                 _typeForm;
-
+       bool                                                                            _actorAdded;
+       double                                                                          _scalefactor;
+       double                                                                          _opacity;
+       vtkDataObject                                                           *_dataobject;
+       vtkRenderer                                                             *_renderer;
+       int                                                                                     _typeForm;
 
 protected:
-   bool                                                                                        _firsttime;
-   bool                                                                                        _active;
-
-   vtkSmartPointer<vtkPolyDataMapper>  _pdm;
-   vtkSmartPointer<vtkActor>           _actor;
-   vtkLookupTableDirectionVector                       *_LutEED;
-       int                                                                                     _colorlaw;
+       bool                                                                            _firsttime;
+       bool                                                                            _active;
+       vtkSmartPointer<vtkPolyDataMapper>                      _pdm;
+       vtkSmartPointer<vtkActor>                       _actor;
+       vtkLookupTableDirectionVector                           *_LutEED;
+       int                                                                             _colorlaw;
        double                                                                          _colorR,_colorG,_colorB;
-
 };
 
 //-end of _VTKVECTORSTENSORSVISUBASE_H_------------------------------------------------------