#include <GeomAPI_AISObject.h>
#include <ModelAPI_Result.h>
+class XGUI_Workshop;
+
/**
* Interface of a class which can provide specific customization of
* object presentation
class XGUI_CustomPrs : public GeomAPI_ICustomPrs
{
public:
+ /// Constructor
+ /// \param theWorkshop the current workshop instance
+ XGUI_EXPORT XGUI_CustomPrs(XGUI_Workshop* theWorkshop);
+
XGUI_EXPORT virtual ~XGUI_CustomPrs() {};
/// Modifies the given presentation in the custom way.
/// \param theResult a result object
/// \param theColor a color in form of RGB vector
static void getResultColor(ResultPtr theResult, std::vector<int>& theColor);
+
+protected:
+ XGUI_Workshop* myWorkshop; /// the current workshop
};
#endif