RVC::RASTER::GETOBJFILTER_ISSELECTABLE Class Reference

Convenience filter for raster selection. More...

#include <rvc/raster.h>

Inheritance diagram for RVC::RASTER::GETOBJFILTER_ISSELECTABLE:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

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.


Constructor & Destructor Documentation

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]

Member Function Documentation

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.

Returns:
'true' if selectable, 'false' if not. Default implementation always returns 'true'.

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.

Returns:
'true' if list is valid, 'false' if not. Default implementation always returns 'true'.

Reimplemented from RVC::GETOBJFILTER.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:37:52 2012 for TNTsdk 2012 by  doxygen 1.6.1