X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FcreaVtk%2FvtkVectorsTensorsVisuBase.h;h=c1e7b7531bd000fb71f9d63ba98feaec7264fe90;hb=a626ee19f46cc7648c48bcadde3bdf99b1d4322f;hp=0d86225e4408a38fa23a407773d65aafb073cab9;hpb=41a74698bb0203749248628baa1503144e1f12f7;p=creaVtk.git diff --git a/lib/creaVtk/vtkVectorsTensorsVisuBase.h b/lib/creaVtk/vtkVectorsTensorsVisuBase.h index 0d86225..c1e7b75 100644 --- a/lib/creaVtk/vtkVectorsTensorsVisuBase.h +++ b/lib/creaVtk/vtkVectorsTensorsVisuBase.h @@ -108,24 +108,25 @@ public : vtkVectorsTensorsVisuBase(); ~vtkVectorsTensorsVisuBase(); - void SetActive(bool); - void SetDataObject(vtkDataObject*); - void SetRenderer(vtkRenderer *); - void SetScaleFactor(double); - void SetOpacity(double); - void SetTypeForm(int); + void SetActive(bool); + void SetDataObject(vtkDataObject*); + void SetRenderer(vtkRenderer *); + void SetScaleFactor(double); + void SetOpacity(double); + void SetTypeForm(int); + void SetColorLaw(int); + void SetColor(std::vector); - bool GetActive(); - vtkDataObject* GetDataObject(); - vtkRenderer* GetRenderer(); - double GetScaleFactor(); - double GetOpacity(); - vtkProp3D* GetProp3D(); - int GetTypeForm(); + bool GetActive(); + vtkDataObject* GetDataObject(); + vtkRenderer* GetRenderer(); + double GetScaleFactor(); + double GetOpacity(); + vtkProp3D* GetProp3D(); + int GetTypeForm(); - virtual void Process(); -// void Refresh(); - void VisibilityActor(); + virtual void Process(); + void VisibilityActor(); @@ -139,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; + vtkSmartPointer _actor; + vtkLookupTableDirectionVector *_LutEED; + int _colorlaw; + double _colorR,_colorG,_colorB; };