Isis Developer Reference
Isis::Nearest Class Reference

Functor for reduce using near functionality. More...

#include <Reduce.h>

Inheritance diagram for Isis::Nearest:
Inheritance graph
Collaboration diagram for Isis::Nearest:
Collaboration graph

Public Member Functions

 Nearest (Isis::Cube *pInCube, double pdSampleScale, double pdLineScale)
 Constructor.
 
void operator() (Isis::Buffer &out) const
 Operator () overload.
 
Isis::PvlGroup UpdateOutputLabel (Isis::Cube *pOutCube)
 Create label for the reduced output image.
 
void setInputBoundary (int startSample, int endSample, int startLine, int endLine)
 Parameters to input image sub area.
 

Protected Attributes

Isis::CubemInCube
 Input image.
 
double mdSampleScale
 Sample scale.
 
double mdLineScale
 Line scale.
 
int miStartSample
 Input start sample.
 
int miEndSample
 Input end sample.
 
int miStartLine
 Input start line.
 
int miEndLine
 Input end line.
 
double mdLine
 Line index.
 
int miOutputSamples
 Output Samples.
 
int miOutputLines
 Output Lines.
 
int miInputSamples
 Input Samples.
 
int miInputLines
 Input Lines.
 
int miInputBands
 Input Bands.
 
int miBandIndex
 Band Index.
 
Isis::Portalm_iPortal
 Input portal.
 

Detailed Description

Functor for reduce using near functionality.

Author
2011-04-15 Sharmila Prasad

Constructor & Destructor Documentation

◆ Nearest()

Isis::Nearest::Nearest ( Isis::Cube * pInCube,
double pdSampleScale,
double pdLineScale )
inline

Constructor.

Member Function Documentation

◆ operator()()

void Isis::Nearest::operator() ( Isis::Buffer & out) const

◆ setInputBoundary()

void Isis::Reduce::setInputBoundary ( int startSample,
int endSample,
int startLine,
int endLine )
inherited

Parameters to input image sub area.

Parameters to input image sub area to be reduced.

Author
Sharmila Prasad (5/11/2011)
Parameters
startSample- input image start sample
endSample- input image end sample
startLine- input image start line
endLine- input image end line

References Isis::Reduce::mdLine, Isis::Reduce::mdLineScale, Isis::Reduce::mdSampleScale, Isis::Reduce::miEndLine, Isis::Reduce::miEndSample, Isis::Reduce::miInputLines, Isis::Reduce::miInputSamples, Isis::Reduce::miOutputLines, Isis::Reduce::miOutputSamples, Isis::Reduce::miStartLine, and Isis::Reduce::miStartSample.

◆ UpdateOutputLabel()

Isis::PvlGroup Isis::Reduce::UpdateOutputLabel ( Isis::Cube * pOutCube)
inherited

Create label for the reduced output image.

Update the Mapping, Instrument, and AlphaCube groups in the output cube label.

Parameters
pOutCube- Resulting reduced output cube
pResultsGrp- This is the Results group that will go into the application log file. This group must be created by the calling application. Information will be added to it if the Mapping or Instrument groups are deleted from the output image label

References Isis::Cube::lineCount(), Isis::Reduce::mdLineScale, Isis::Reduce::mdSampleScale, Isis::Reduce::miEndLine, Isis::Reduce::miEndSample, Isis::Reduce::miInputLines, Isis::Reduce::miInputSamples, Isis::Reduce::mInCube, Isis::Reduce::miOutputLines, Isis::Reduce::miOutputSamples, Isis::Reduce::miStartLine, Isis::Reduce::miStartSample, Isis::Cube::sampleCount(), Isis::SubArea::SetSubArea(), and Isis::toString().

Member Data Documentation

◆ m_iPortal

Isis::Portal* Isis::Reduce::m_iPortal
protectedinherited

◆ mdLine

double Isis::Reduce::mdLine
mutableprotectedinherited

◆ mdLineScale

double Isis::Reduce::mdLineScale
protectedinherited

◆ mdSampleScale

double Isis::Reduce::mdSampleScale
protectedinherited

◆ miBandIndex

int Isis::Reduce::miBandIndex
mutableprotectedinherited

◆ miEndLine

int Isis::Reduce::miEndLine
protectedinherited

◆ miEndSample

int Isis::Reduce::miEndSample
protectedinherited

◆ miInputBands

int Isis::Reduce::miInputBands
protectedinherited

Input Bands.

Referenced by Isis::Average::operator()(), and Isis::Reduce::Reduce().

◆ miInputLines

int Isis::Reduce::miInputLines
protectedinherited

◆ miInputSamples

int Isis::Reduce::miInputSamples
protectedinherited

◆ mInCube

Isis::Cube* Isis::Reduce::mInCube
protectedinherited

◆ miOutputLines

int Isis::Reduce::miOutputLines
protectedinherited

◆ miOutputSamples

int Isis::Reduce::miOutputSamples
protectedinherited

◆ miStartLine

int Isis::Reduce::miStartLine
protectedinherited

◆ miStartSample

int Isis::Reduce::miStartSample
protectedinherited

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