//=============================================================================
GEOM_Object_i::~GEOM_Object_i()
-{}
+{
+ GEOM_Engine::GetEngine()->RemoveObject(_impl);
+}
//=============================================================================
return strdup("");
}
+//=============================================================================
+/*!
+ * SetColor
+ */
+//=============================================================================
+void GEOM_Object_i::SetColor(const SALOMEDS::Color& theColor)
+{
+ _impl->SetColor(theColor);
+}
+
+
+//=============================================================================
+/*!
+ * GetColor
+ */
+//=============================================================================
+SALOMEDS::Color GEOM_Object_i::GetColor()
+{
+ return _impl->GetColor();
+}
+
+
+//=============================================================================
+/*!
+ * SetAutoColor
+ */
+//=============================================================================
+void GEOM_Object_i::SetAutoColor(CORBA::Boolean theAutoColor)
+{
+ _impl->SetAutoColor(theAutoColor);
+}
+
+
+//=============================================================================
+/*!
+ * GetAutoColor
+ */
+//=============================================================================
+CORBA::Boolean GEOM_Object_i::GetAutoColor()
+{
+ return _impl->GetAutoColor();
+}
+
+
//=============================================================================
/*!
* SetStudyEntry
{
return !_impl->GetValue().IsNull() && _impl->GetType() != GEOM_MARKER;
}
+
+void GEOM_Object_i::SetParameters(const char* theParameters)
+{
+ _impl->SetParameters((char*)theParameters);
+}
+
+char* GEOM_Object_i::GetParameters()
+{
+ return CORBA::string_dup(_impl->GetParameters().ToCString());
+}
+