19 #ifndef OST_COLOR_OPS_MAP_HANDLE_COLOR_OP_HH
20 #define OST_COLOR_OPS_MAP_HANDLE_COLOR_OP_HH
35 namespace ost {
namespace gfx {
40 MapHandleColorOp(
const String& selection,
const String& property,
const gfx::Gradient& gradient,
float minv,
float maxv,
const img::MapHandle& mh);
41 MapHandleColorOp(
const String& selection,
int mask,
const String& property,
const gfx::Gradient& gradient,
float minv,
float maxv,
const img::MapHandle& mh);
42 MapHandleColorOp(
const mol::QueryViewWrapper& query_view,
const String& property,
const gfx::Gradient& gradient,
float minv,
float maxv,
const img::MapHandle& mh);
43 MapHandleColorOp(
const mol::QueryViewWrapper& query_view,
int mask,
const String& property,
const gfx::Gradient& gradient,
float minv,
float maxv,
const img::MapHandle& mh);
45 virtual bool CanApplyTo(
const GfxObjP& obj)
const;
46 virtual void ApplyTo(
GfxObjP& obj)
const;
51 virtual void ToInfo(info::InfoGroup& group)
const;
52 static gfx::MapHandleColorOp FromInfo(info::InfoGroup& group);