X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaVtk%2FvtkVectorsTensorsVisuBase.h;h=c1e7b7531bd000fb71f9d63ba98feaec7264fe90;hb=f1922fd6bea6c9a0c3c105f6c093f1f5bce01c3e;hp=c889b5b81ee4eaa521f7453c5f3a965dd96245a5;hpb=7a66ae84aef4c670d7fb7ce855b39e5a9eb2b4a4;p=creaVtk.git diff --git a/lib/creaVtk/vtkVectorsTensorsVisuBase.h b/lib/creaVtk/vtkVectorsTensorsVisuBase.h index c889b5b..c1e7b75 100644 --- a/lib/creaVtk/vtkVectorsTensorsVisuBase.h +++ b/lib/creaVtk/vtkVectorsTensorsVisuBase.h @@ -114,6 +114,8 @@ public : void SetScaleFactor(double); void SetOpacity(double); void SetTypeForm(int); + void SetColorLaw(int); + void SetColor(std::vector); 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 _pdm; vtkSmartPointer _actor; vtkLookupTableDirectionVector *_LutEED; + int _colorlaw; + double _colorR,_colorG,_colorB; };