#include "ConstructionPlugin.h"
#include <ModelAPI_Feature.h>
+#include <ModelAPI_Result.h>
#include <GeomAPI_ICustomPrs.h>
/**\class ConstructionPlugin_Point
return CONSTRUCTION_POINT_KIND;
}
- /// default color for a point
- inline static const std::string& DEFAULT_COLOR()
- {
- static const std::string CONSTRUCTION_POINT_COLOR("#ffff00");
- return CONSTRUCTION_POINT_COLOR;
- }
-
/// attribute name for X coordinate
inline static const std::string& X()
{
/// Use plugin manager for features creation
ConstructionPlugin_Point();
- /// Modifies the given presentation in the custom way.
- virtual void customisePresentation(AISObjectPtr thePrs);
-
+ /// Customize presentation of the feature
+ virtual bool customisePresentation(ResultPtr theResult, AISObjectPtr thePrs,
+ std::shared_ptr<GeomAPI_ICustomPrs> theDefaultPrs);
};
#endif