Image Component Library (ICL)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
icl::filter::InplaceOp Class Reference

Interface class for inplace operators. More...

#include <InplaceOp.h>

Inheritance diagram for icl::filter::InplaceOp:
icl::filter::InplaceArithmeticalOp icl::filter::InplaceLogicalOp

List of all members.

Public Member Functions

 InplaceOp ()
 Create a new Inplace op (ROI-only flag is set to true)
virtual core::ImgBaseapply (core::ImgBase *src)=0
 apply function transforms source image pixels inplace
void setROIOnly (bool roiOnly)
 setup the operation to work on the input images ROI only or not
bool getROIOnly () const
 returns whether operator is in "roi-only" mode or not

Private Attributes

bool m_bROIOnly
 "roi-only" flag

Detailed Description

Interface class for inplace operators.

Inplace operators work on image pixels directly. Common examples are arithmetical expressions like IMAGE *= 2. Useful inplace operations are arithmetical, logical, binary-logical, or table-lookups.

See also:
ArithmeticalInplaceOp
LogicalInplaceOp

Constructor & Destructor Documentation

Create a new Inplace op (ROI-only flag is set to true)


Member Function Documentation

virtual core::ImgBase* icl::filter::InplaceOp::apply ( core::ImgBase src) [pure virtual]

apply function transforms source image pixels inplace

Implemented in icl::filter::InplaceLogicalOp, and icl::filter::InplaceArithmeticalOp.

bool icl::filter::InplaceOp::getROIOnly ( ) const [inline]

returns whether operator is in "roi-only" mode or not

void icl::filter::InplaceOp::setROIOnly ( bool  roiOnly) [inline]

setup the operation to work on the input images ROI only or not


Member Data Documentation

"roi-only" flag


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines