X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOBJECT%2FSMESH_ActorDef.h;h=7ed5149f19300ff2563524eb0707a100b199c3f0;hb=7d9ae6b54f5ec98fff137636f7ad2a60d10ce6b6;hp=e6925d30eb05194b5c015476fd0e405b8de6656d;hpb=83f19818fce494a77ddf10b70493abdd9f73e4e0;p=modules%2Fsmesh.git diff --git a/src/OBJECT/SMESH_ActorDef.h b/src/OBJECT/SMESH_ActorDef.h index e6925d30e..7ed5149f1 100644 --- a/src/OBJECT/SMESH_ActorDef.h +++ b/src/OBJECT/SMESH_ActorDef.h @@ -50,7 +50,7 @@ public: return *this; } TVTKSmartPtr& operator=(T* r){ vtkSmartPointer::operator=(r); return *this;} - T* Get() const { return GetPointer();} + T* Get() const { return this->GetPointer();} }; @@ -147,7 +147,7 @@ class SMESH_ActorDef : public SMESH_Actor{ virtual bool GetPointRepresentation(); virtual float* GetBounds(); - virtual void SetTransform(SALOME_Transform* theTransform); + virtual void SetTransform(VTKViewer_Transform* theTransform); virtual vtkUnstructuredGrid* GetUnstructuredGrid(); virtual vtkDataSet* GetInput(); @@ -185,6 +185,8 @@ class SMESH_ActorDef : public SMESH_Actor{ virtual void SetControlsPrecision( const long p ) { myControlsPrecision = p; } virtual long GetControlsPrecision() const { return myControlsPrecision; } + virtual void UpdateScalarBar(); + protected: void SetControlMode(eControl theMode, bool theCheckEntityMode); void SetImplicitFunctionUsed(bool theIsImplicitFunctionUsed);