1 // File : SALOMEDS_AttributeGraphic.cxx
2 // Author : Sergey RUIN
5 #include "SALOMEDS_AttributeGraphic.hxx"
7 #include <TCollection_AsciiString.hxx>
8 #include <TCollection_ExtendedString.hxx>
10 SALOMEDS_AttributeGraphic::SALOMEDS_AttributeGraphic(const Handle(SALOMEDSImpl_AttributeGraphic)& theAttr)
11 :SALOMEDS_GenericAttribute(theAttr)
14 SALOMEDS_AttributeGraphic::SALOMEDS_AttributeGraphic(SALOMEDS::AttributeGraphic_ptr theAttr)
15 :SALOMEDS_GenericAttribute(theAttr)
18 SALOMEDS_AttributeGraphic::~SALOMEDS_AttributeGraphic()
22 bool SALOMEDS_AttributeGraphic:: GetVisibility(int theViewId)
25 if(_isLocal) aValue = (bool)Handle(SALOMEDSImpl_AttributeGraphic)::DownCast(_local_impl)->GetVisibility(theViewId);
26 else aValue = SALOMEDS::AttributeGraphic::_narrow(_corba_impl)->GetVisibility(theViewId);
30 void SALOMEDS_AttributeGraphic::SetVisibility(int theViewId, bool theValue)
32 if(_isLocal) Handle(SALOMEDSImpl_AttributeGraphic)::DownCast(_local_impl)->SetVisibility(theViewId, theValue);
33 else SALOMEDS::AttributeGraphic::_narrow(_corba_impl)->SetVisibility(theViewId, theValue);