MCPcopy Create free account
hub / github.com/DOI-USGS/ISIS3 / SetOutputRange

Method SetOutputRange

isis/src/base/objs/ProcessExport/ProcessExport.cpp:454–464  ·  view source on GitHub ↗

* @brief Set output pixel range in Buffer * * This method allows the programmer to specify the acceptable range of values * contained in the Buffer. If this method is never invoked, all pixel values * received in the Buffer of the export function will be in the range of 0.0 * to 1.0. However, this can be overridden, for example, to 0.0 and 255.0, by * invoking this method. *

Source from the content-addressed store, hash-verified

452 * @throws Isis::iException::Message
453 */
454 void ProcessExport::SetOutputRange(const double minimum, const double maximum) {
455 if (minimum >= maximum) {
456 string message =
457 "minimum must be less than the maximum [ProcessExport::SetOutputRange]";
458 throw IException(IException::Programmer, message, _FILEINFO_);
459 }
460
461 p_outputMinimum = minimum;
462 p_outputMaximum = maximum;
463 p_outputMiddle = (p_outputMinimum + p_outputMaximum) / 2.0;
464 }
465
466
467 /**

Callers 12

setRangeAndPixelsFunction · 0.80
IsisMainFunction · 0.80
IsisMainFunction · 0.80
initializeProcessMethod · 0.80
setRangeAndPixelsFunction · 0.80
setRangeAndPixelsFunction · 0.80
setRangeAndPixelsFunction · 0.80
IsisMainFunction · 0.80
IsisMainFunction · 0.80
lronac2pdsFunction · 0.80
lrowac2pdsFunction · 0.80
IsisMainFunction · 0.80

Calls 1

IExceptionClass · 0.50

Tested by

no test coverage detected