From: enk Date: Wed, 18 Oct 2006 12:24:48 +0000 (+0000) Subject: new methods was added X-Git-Tag: mergeto_V3_2_0_maintainance_30Nov06~19 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=88def3783f8fb40ba8b05614109cec24eba6ba80;p=modules%2Fvisu.git new methods was added --- diff --git a/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc b/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc index d2c7a7d3..487268f8 100644 --- a/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc +++ b/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.cc @@ -291,14 +291,22 @@ void VISU::ScalarMapOnDeformedShape_i::SetScalarMeshName(const char* theName){ std::string VISU::ScalarMapOnDeformedShape_i::GetScalarMeshName(){ return myScalarMeshName; } +char* VISU::ScalarMapOnDeformedShape_i::GetScalarCMeshName(){ + return &this->GetScalarMeshName()[0]; +} void VISU::ScalarMapOnDeformedShape_i::SetScalarFieldName(const char* theName){ myScalarFieldName = theName; } + std::string VISU::ScalarMapOnDeformedShape_i::GetScalarFieldName(){ return myScalarFieldName; } +char* VISU::ScalarMapOnDeformedShape_i::GetScalarCFieldName(){ + return &this->GetScalarFieldName()[0]; +} + void VISU::ScalarMapOnDeformedShape_i::SetScalarIteration(const int theValue){ myScalarIteration = theValue; } @@ -308,6 +316,10 @@ int VISU::ScalarMapOnDeformedShape_i::GetScalarIteration(){ return myScalarIteration; } +CORBA::Long VISU::ScalarMapOnDeformedShape_i::GetScalarLIteration(){ + return CORBA::Long(this->GetScalarIteration()); +} + void VISU::ScalarMapOnDeformedShape_i::SetScalarEntity(const VISU::TEntity theValue){ myScalarEntity = theValue; } diff --git a/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.hh b/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.hh index f80fce72..f14c1606 100644 --- a/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.hh +++ b/src/VISU_I/VISU_ScalarMapOnDeformedShape_i.hh @@ -131,10 +131,13 @@ namespace VISU{ virtual void SetScalarFieldName(const char* theName); virtual std::string GetScalarFieldName(); + virtual char* GetScalarCFieldName(); virtual void SetScalarIteration(const int theValue); virtual int GetScalarIteration(); + virtual CORBA::Long GetScalarLIteration(); virtual void SetScalarMeshName(const char* theName); virtual std::string GetScalarMeshName(); + virtual char* GetScalarCMeshName(); virtual void SetScalarEntity(const VISU::TEntity theValue); virtual VISU::TEntity GetScalarEntity(); virtual void SetScalarEEntity(const VISU::Entity theValue);