]> Creatis software - creaVtk.git/blobdiff - lib/creaVtk/vtkVectorsTensorsVisuBase.h
#2446 creaVtk Feature New Normal - Stream Tracer, Stream Line (interface, widget)
[creaVtk.git] / lib / creaVtk / vtkVectorsTensorsVisuBase.h
index c889b5b81ee4eaa521f7453c5f3a965dd96245a5..c1e7b7531bd000fb71f9d63ba98feaec7264fe90 100644 (file)
@@ -114,6 +114,8 @@ public :
    void                                        SetScaleFactor(double);
    void                                        SetOpacity(double);
    void                                        SetTypeForm(int);
+   void                                        SetColorLaw(int);
+   void                                        SetColor(std::vector<double>);
 
    bool                                        GetActive();
    vtkDataObject*              GetDataObject();
@@ -138,22 +140,24 @@ protected:
 //Methods and attributes only visible by this class
 //---------------------------------------------
 private:
-   bool                                _actorAdded;
+   bool                                                                                        _actorAdded;
 
-   double                      _scalefactor;
-   double                      _opacity;
-   vtkDataObject       *_dataobject;
-   vtkRenderer         *_renderer;
-   int                         _typeForm;
+   double                                                                              _scalefactor;
+   double                                                                              _opacity;
+   vtkDataObject                                                               *_dataobject;
+   vtkRenderer                                                                 *_renderer;
+   int                                                                                 _typeForm;
 
 
 protected:
-   bool                                _firsttime;
-   bool                                _active;
+   bool                                                                                        _firsttime;
+   bool                                                                                        _active;
 
    vtkSmartPointer<vtkPolyDataMapper>  _pdm;
    vtkSmartPointer<vtkActor>           _actor;
    vtkLookupTableDirectionVector                       *_LutEED;
+       int                                                                                     _colorlaw;
+       double                                                                          _colorR,_colorG,_colorB;
 
 };