X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaVtk%2FvtkVectorsTensorsVisuBase.h;h=2ca0d493fc650c4f09821d6868d4f6cf6133e8c0;hb=8eab35636049813a6ce1b8f0e2d99e62dd280e0e;hp=c889b5b81ee4eaa521f7453c5f3a965dd96245a5;hpb=a30ca94a35cdfc9a3d6837b98c48bf3c377b340e;p=creaVtk.git diff --git a/lib/creaVtk/vtkVectorsTensorsVisuBase.h b/lib/creaVtk/vtkVectorsTensorsVisuBase.h index c889b5b..2ca0d49 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(); @@ -148,12 +150,14 @@ private: protected: - bool _firsttime; - bool _active; + bool _firsttime; + bool _active; vtkSmartPointer _pdm; vtkSmartPointer _actor; vtkLookupTableDirectionVector *_LutEED; + int _colorlaw; + double _colorR,_colorG,_colorB; };