Filter Library Camera Interface Physics

CScanFilterClad Class Reference
[Clad Filter.]

#include <ScanFilterClad.h>

Inheritance diagram for CScanFilterClad:

CScanFilter List of all members.

Detailed Description

Definition at line 70 of file ScanFilterClad.h.

Public Types

typedef CScanBaseBuffer::ValueType ValueType
 the value type.
typedef CSize SizeType
 the size type.
typedef DWORD SizeElementType
 the size element type.

Public Member Functions

Camera--Filter Interface
virtual void ReadFilterSettings ()
 configure filter with settings as provided by the application on the filterlist window (e.g.
virtual void WriteFilterSettings () const
 save filter settings e.g.
virtual LPCTSTR GetParameters () const
 provide current filter parameter(s) for filter-scripting capture in the main application; see also CScanFilterNull::GetParameters().
virtual BOOL SetParameters (LPCTSTR lpParameters)
 set parameters for filter-script execution of filter; see also CScanFilterNull::SetParameters().
virtual BOOL RunModeless (CWnd *pParentWnd, CDocument *pDoc)
 create filter dialog and pre Apply() filter to view result; see also CScanFilterNull::RunModeless().
virtual BOOL Apply ()
 check parameters, take care of a properly sized output buffer, set its name and copy filter parameters and process; see also CScanFilterNull::ApplyCore().
DragSupportType SupportDragInput () const
 the supported dragmethod(s).
void SetDragInput (BOOL bL2R, CRect rcIn)
 apply the filter to the selected area.
Accessors
SizeType GetSize () const
 the current size.
SizeElementType GetWidth () const
 the current width.
SizeElementType GetHeight () const
 the current height.
Mutators
void SetWidth (SizeElementType size)
 set the width.
void SetHeight (SizeElementType size)
 set the height.

Static Public Attributes

static LPCTSTR m_lpcsFilterName
 the filter name.
static LPCTSTR m_lpcsShortFilterName
 the class short filtername.
static const SizeElementType def_nWidth
 the default new X-size.
static const SizeElementType def_nHeight
 the default new Y-size.

Protected Member Functions

virtual void Serialize (CArchive &ar)
 store or retrieve the object's settings.
void Clad (BOOL bDoR2L)
 process the given frame part (L2R, R2L frame part).

Protected Attributes

CSize m_cSize
 the new size.

Friends

class CFilterDlg_Clad
 its dialog class.


Member Function Documentation

void CScanFilterClad::ReadFilterSettings (  )  [virtual]

via registry); see also CScanFilterNull::ReadFilterSettings().

Reimplemented from CScanFilter.

Definition at line 106 of file ScanFilterClad.cpp.

References gCflRegistrySubkey, m_lpcsFilterName, Q_INVALID, and SetParameters().

void CScanFilterClad::WriteFilterSettings (  )  const [virtual]

for use with the filterlist window (e.g. via registry); see also ReadFilterSettings().

Reimplemented from CScanFilter.

Definition at line 125 of file ScanFilterClad.cpp.

References gCflRegistrySubkey, GetParameters(), m_lpcsFilterName, and Q_INVALID.


The documentation for this class was generated from the following files:
Camera Filter Library documentation © 2004-2007 by Leiden Probe Microscopy