MGUI::DLG_SELECTBANDNUMS Class Reference

Dialog to allow user to choose limited set of bands from larger set. More...

#include <mgui/dlgselectbandnums.h>

Inheritance diagram for MGUI::DLG_SELECTBANDNUMS:
Inheritance graph
[legend]

List of all members.

Public Types

enum  FLAGS { FLAG_None = 0x00, FLAG_AllowNone = 0x01, FLAG_AllowDuplicate = 0x02 }

Public Member Functions

 DLG_SELECTBANDNUMS (const SIMPLE_ARRAY< INT16 > &BandNums, const TEXTID *BandNames, int NumSrcBands, FLAGS flags=FLAG_None)
virtual ~DLG_SELECTBANDNUMS ()
const SIMPLE_ARRAY< INT16GetBandNums () const

Detailed Description

Dialog to allow user to choose limited set of bands from larger set.


Member Enumeration Documentation

Enumerator:
FLAG_None 
FLAG_AllowNone 

Include "none", will return band number as -1.

FLAG_AllowDuplicate 

Allow same source band to be used more than once.


Constructor & Destructor Documentation

MGUI::DLG_SELECTBANDNUMS::DLG_SELECTBANDNUMS ( const SIMPLE_ARRAY< INT16 > &  BandNums,
const TEXTID BandNames,
int  NumSrcBands,
FLAGS  flags = FLAG_None 
)

Construct with band names from TEXTID array.

Parameters:
BandNums Initial band numbers
BandNames Band names, must at least as many entries as BandNums
NumSrcBands Number of source bands to select from
virtual MGUI::DLG_SELECTBANDNUMS::~DLG_SELECTBANDNUMS (  )  [virtual]

Member Function Documentation

const SIMPLE_ARRAY<INT16> MGUI::DLG_SELECTBANDNUMS::GetBandNums (  )  const [inline]

Get selected band numbers.


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

Generated on Sun Oct 7 21:35:49 2012 for TNTsdk 2012 by  doxygen 1.6.1