CTestPattern Class Reference

#include <Pattern.h>

List of all members.

Public Member Functions

 CTestPattern (char *name, int width, int height)
 CTestPattern (LPCSTR FileName)
char * GetName ()
 This method returns the name of the test pattern.

int GetInitialWidth ()
int GetInitialHeight ()
int GetWidth ()
 This method returns the width of the test pattern.

int GetHeight ()
 This method returns the height (number of lines) of the test pattern.

void SetSize (int width, int height)
void CreateGlobalSubPattern ()
eTypeContentPattern DetermineTypeContent ()
CSubPatternGetSubPattern (eTypeAdjust type_adjust)
 This method returns the (first) sub-pattern allowing to adjust particular settings.

void Draw (BYTE *buffer, int Pitch)

Public Attributes

vector< CColorBar * > m_ColorBars
 Color bars of the test pattern.

vector< CSubPattern * > m_SubPatterns
 Sub-patterns of the test pattern.


Protected Attributes

char m_PatternName [64]
 Name of the test pattern.

int m_Width
 Width of the test pattern.

int m_Height
 Height (number of lines) of the test pattern.


Detailed Description

Object representing a predefined test pattern

Several sub-patterns can be defined for a test pattern


Member Function Documentation

void CTestPattern::CreateGlobalSubPattern  ) 
 

This method allows to create a new sub-pattern to the test pattern which is a merge of all the others sub-patterns

eTypeContentPattern CTestPattern::DetermineTypeContent  ) 
 

This method determines the type of content in the test pattern going all over the sub-patterns


The documentation for this class was generated from the following files:
Generated on Mon Oct 27 09:54:57 2003 for DScaler by doxygen 1.3.4