Convenience filter for raster selection. More...
#include <rvc/raster.h>

Public Member Functions | |
| GETOBJFILTER_ISSELECTABLE (RVC::IMAGE::CELLTYPE CellTypes, bool DenyTypes=false, bool NeedSameSize=false) | |
| virtual | ~GETOBJFILTER_ISSELECTABLE () |
Protected Member Functions | |
| virtual bool | v_IsSelectable (const RVC::OBJITEM &objitem, int position=-1) |
| virtual bool | v_IsValidList (const RVC::OBJITEMLIST &objlist) |
Convenience filter for raster selection.
This class provides for allowed and/or denied cell types to be specified during construction, as well as whether all rasters in a multiple selection are required to have the same dimensions. Appropriate message IDs are set based on the specified cell types.
| RVC::RASTER::GETOBJFILTER_ISSELECTABLE::GETOBJFILTER_ISSELECTABLE | ( | RVC::IMAGE::CELLTYPE | CellTypes, | |
| bool | DenyTypes = false, |
|||
| bool | NeedSameSize = false | |||
| ) |
Constructor specifying allowed or denied cell types.
| virtual RVC::RASTER::GETOBJFILTER_ISSELECTABLE::~GETOBJFILTER_ISSELECTABLE | ( | ) | [inline, virtual] |
| virtual bool RVC::RASTER::GETOBJFILTER_ISSELECTABLE::v_IsSelectable | ( | const RVC::OBJITEM & | objitem, | |
| int | position = -1 | |||
| ) | [protected, virtual] |
Called by IsSelectable() to determine if object is selectable.
Reimplemented from RVC::GETOBJFILTER.
| virtual bool RVC::RASTER::GETOBJFILTER_ISSELECTABLE::v_IsValidList | ( | const RVC::OBJITEMLIST & | objlist | ) | [protected, virtual] |
Called by IsValidList() to determine if list of objects is valid and usable together.
Reimplemented from RVC::GETOBJFILTER.
1.6.1