MIE::JOB_HYPERSPECTRAL Class Reference
#include <mie/hyperspectral.h>
List of all members.
Public Member Functions |
| | JOB_HYPERSPECTRAL (const FORMAT &format, const SETTINGS &settings) |
| virtual | ~JOB_HYPERSPECTRAL () |
| RVC::HYPERSPECTRAL & | GetHyperspectral () |
| RVC::HYPERSPECTRAL::MAKEPARMS | GetMakeParms () const |
| INT32 | GetNumPrimaryVectors () const |
| INT32 | GetVectDim () const |
| ERRVALUE | MakeHyperspectral () |
| ERRVALUE | MakeHyperspectral (RVC::HYPERSPECTRAL::MAKEPARMS &parms) |
| void | SetNumPrimaryVectors (INT32 NumVectors) |
| void | SetVectDim (INT32 VectDim) |
Protected Member Functions |
| virtual ERRVALUE | v_ImportBegin (const RVC::OBJITEM &DestObj) |
| virtual ERRVALUE | v_ImportEnd (RVC::OBJITEM &DestObj) |
Private Member Functions |
| DOUBLE | GetDoubleValue (UINT8 *buffer, int cellbytes, RVC::IMAGE::DATATYPE datatype) const |
| int | LoadInputBuffGen (FILE_RAW &file, INT64 filepos, UINT8 *buffer, UINT8 *linebuff, std::vector< SIMPLE_ARRAY< DOUBLE > > &Bank, INT32 numlins, INT32 numcols, INT32 TotLineBytes, INT32 OutLineBytes) |
| int | RemoveAverage (DOUBLE *base, INT32 NumRasters) const |
| virtual ERRVALUE | v_ImportGeneric (const FILEPATH &filepath) |
Private Attributes |
| RVC::HYPERSPECTRAL | m_Hyperspectral |
| INT32 | m_NumPrimaryVectors |
| INT32 | m_VectDim |
Constructor & Destructor Documentation
| MIE::JOB_HYPERSPECTRAL::JOB_HYPERSPECTRAL |
( |
const FORMAT & |
format, |
|
|
const SETTINGS & |
settings | |
|
) |
| | |
| virtual MIE::JOB_HYPERSPECTRAL::~JOB_HYPERSPECTRAL |
( |
|
) |
[virtual] |
Member Function Documentation
Setup a MAKEPARMS based on current SETTINGS and values in the JOB (this), preferring values from the JOB.
| INT32 MIE::JOB_HYPERSPECTRAL::GetNumPrimaryVectors |
( |
|
) |
const [inline] |
| INT32 MIE::JOB_HYPERSPECTRAL::GetVectDim |
( |
|
) |
const [inline] |
| ERRVALUE MIE::JOB_HYPERSPECTRAL::MakeHyperspectral |
( |
|
) |
|
Make the hyperspectral object.
This version calls GetMakeParms to get the default makeparms based on values in SETTINGS and the JOB (this), giving preference to JOB's values.
Make the hyperspectral object.
If you call this version, be sure to call GetMakeParms to initialize your MAKEPARMS to whatever the SETTINGS has setup. From there you can modify it before calling make.
| int MIE::JOB_HYPERSPECTRAL::RemoveAverage |
( |
DOUBLE * |
base, |
|
|
INT32 |
NumRasters | |
|
) |
| | const [private] |
| void MIE::JOB_HYPERSPECTRAL::SetNumPrimaryVectors |
( |
INT32 |
NumVectors |
) |
[inline] |
| void MIE::JOB_HYPERSPECTRAL::SetVectDim |
( |
INT32 |
VectDim |
) |
[inline] |
| virtual ERRVALUE MIE::JOB_HYPERSPECTRAL::v_ImportBegin |
( |
const RVC::OBJITEM & |
DestObj |
) |
[protected, virtual] |
Begin import.
Note, If v_ImportNeedTempFile returns true, then the OBJITEM passed will point to the temp file. Derived class should call base class implementation before doing any of its own implementation
Reimplemented from MIE::JOB_IMAGE.
| virtual ERRVALUE MIE::JOB_HYPERSPECTRAL::v_ImportEnd |
( |
RVC::OBJITEM & |
DestObj |
) |
[protected, virtual] |
Finish the import.
Note, do not assume that v_ImportBegin was called or that anything else has been done to the job instance. In the case of importing as one object type and then converting to another, the v_ImportEnd will do the copy, then allocate a JOB for the destination and just call its v_ImportEnd. This allows importing to CAD, converting to vector, and then calling vector's v_ImportEnd to optimize or create standard attribute tables. (although CAD's ExtractToVector should optimize for us?) Derived class should call base class implementation after doing its own cleanup
Reimplemented from MIE::JOB_IMAGE.
| virtual ERRVALUE MIE::JOB_HYPERSPECTRAL::v_ImportGeneric |
( |
const FILEPATH & |
filepath |
) |
[private, virtual] |
Member Data Documentation
The documentation for this class was generated from the following file: