From: apo Date: Mon, 27 Nov 2006 11:46:03 +0000 (+0000) Subject: To introduce a new method for ColoredPrs3dHolder to allow user to get know what type... X-Git-Tag: WP1_2_3_05-12-2006_cache_system~53 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c15a8561b40d1c90b84e03f0806a9ac0bfa4b008;p=modules%2Fvisu.git To introduce a new method for ColoredPrs3dHolder to allow user to get know what type of presentation the holder instance is mananged --- diff --git a/idl/VISU_Gen.idl b/idl/VISU_Gen.idl index c6f073d1..0d0a114f 100644 --- a/idl/VISU_Gen.idl +++ b/idl/VISU_Gen.idl @@ -608,6 +608,11 @@ module VISU { */ ColoredPrs3d GetDevice(); + /*! + * Gets type of the managed presentations. + */ + VISUType GetPrsType(); + /*! * Gets TimeStampsRange information from the last visited presentation. */ diff --git a/src/VISU_I/VISU_ColoredPrs3dHolder_i.hh b/src/VISU_I/VISU_ColoredPrs3dHolder_i.hh index e78aac0d..3947d48c 100644 --- a/src/VISU_I/VISU_ColoredPrs3dHolder_i.hh +++ b/src/VISU_I/VISU_ColoredPrs3dHolder_i.hh @@ -96,6 +96,7 @@ namespace VISU return VISU::TCOLOREDPRS3DHOLDER; } + virtual VISU::VISUType GetPrsType();