#include <ModelAPI_Object.h>
#include <ModelAPI_Feature.h>
+#include <ModelAPI_Result.h>
#include <ModelAPI_Attribute.h>
#include <ModuleBase_IWorkshop.h>
#include <ViewerData_AISShape.hxx>
#include <Standard_DefineHandle.hxx>
+#include <Quantity_Color.hxx>
+
#include <QMap>
#include <QList>
+#include <list>
+
DEFINE_STANDARD_HANDLE(PartSet_OperationPrs, ViewerData_AISShape)
class XGUI_Workshop;
void setFeature(const FeaturePtr& theFeature);
/// Returns true if the presentation
- bool dependOn(const ObjectPtr& theObject);
+ //bool dependOn(const ObjectPtr& theObject);
// Recompute internal list of shaped dependent on the current feature
void updateShapes();
private:
ModuleBase_IWorkshop* myWorkshop;
FeaturePtr myFeature; /// Reference to a feature object
- QMap<ObjectPtr, QList<GeomShapePtr> > myFeatureShapes;
+ QMap<ObjectPtr, QList<GeomShapePtr> > myFeatureShapes; /// visualized shapes
+ std::list<ResultPtr> myFeatureResults; /// visualized feature results
+
+ Quantity_Color myShapeColor; /// color of feature depended shapes
+ Quantity_Color myResultColor; /// color of feature result
};