]> 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..2ca0d493fc650c4f09821d6868d4f6cf6133e8c0 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();
@@ -148,12 +150,14 @@ private:
 
 
 protected:
-   bool                                _firsttime;
-   bool                                _active;
+   bool                                                                                        _firsttime;
+   bool                                                                                        _active;
 
    vtkSmartPointer<vtkPolyDataMapper>  _pdm;
    vtkSmartPointer<vtkActor>           _actor;
    vtkLookupTableDirectionVector                       *_LutEED;
+       int                                                                                     _colorlaw;
+       double                                                                          _colorR,_colorG,_colorB;
 
 };