/// Sets the object.
/// \param theResult an object instance
- void setFeature(ObjectPtr theResult)
+ void setObject(ObjectPtr theResult)
{
myResult = theResult;
}
return myInteractive;
}
+ /// Returns true if all presentation fields are empty
+ /// \return boolean value
+ bool isEmpty() const
+ {
+ return myShape.IsNull() &&
+ myOwner.IsNull() && !myResult.get();
+ }
+
/// Returns True if the current object is equal to the given one
/// \param thePrs an object to compare
bool operator==(const ModuleBase_ViewerPrs& thePrs)