{
thePrs->setColor(0, 0, 0);
thePrs->setLineStyle(3);
+ thePrs->redisplay();
}
\ No newline at end of file
}
}
+void GeomAPI_AISObject::redisplay()
+{
+ Handle(AIS_InteractiveObject) anAIS = impl<Handle(AIS_InteractiveObject)>();
+ if (!anAIS.IsNull()) {
+ Handle(AIS_InteractiveContext) aContext = anAIS->GetContext();
+ aContext->Redisplay(anAIS, false);
+ }
+}
void GeomAPI_AISObject::setColor(const int& theColor)
void createFixed(std::shared_ptr<GeomAPI_Shape> theShape,
std::shared_ptr<GeomAPI_Pln> thePlane);
+ /** \brief Redisplays the current AIS object in the context
+ */
+ void redisplay();
+
/** \brief Assigns the color for the shape
* \param[in] theColor index of the color
*/