+ const TopoDS_Shape& shape() const
+ {
+ return myShape;
+ }
+
+ /// Set interactive object
+ /// \param theIO an interactive object
+ void setInteractive(const Handle(AIS_InteractiveObject)& theIO)
+ {
+ myInteractive = theIO;
+ }
+
+ /// Returns interactive object if it is installed
+ Handle(AIS_InteractiveObject) interactive() const
+ {
+ return myInteractive;
+ }
+
+ /// Returns true if all presentation fields are empty
+ /// \return boolean value
+ bool isEmpty() const
+ {
+ return myShape.IsNull() &&
+ myOwner.IsNull() && !myResult.get();
+ }