class PartSet_CustomPrs
{
public:
+ /// Constructor
+ /// \param theWorkshop a reference to workshop
PARTSET_EXPORT PartSet_CustomPrs(ModuleBase_IWorkshop* theWorkshop);
PARTSET_EXPORT virtual ~PartSet_CustomPrs() {};
/// If the presentation is active[displayed], the shapes of the presentation is recomputed
/// and the presentation is redisplayed.
+ /// \param theObject an object to redisplay
/// \param theUpdateViewer the parameter whether the viewer should be update immediatelly
/// \returns true if the presentation is redisplayed
bool redisplay(const ObjectPtr& theObject, const bool theUpdateViewer);
void customizePresentation(const bool theUpdateViewer);
private:
+ bool myIsActive;
ModuleBase_IWorkshop* myWorkshop; /// current workshop
AISObjectPtr myOperationPrs; /// the AIS presentation, which is displayed/erased in the viewer
};