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

Method SetInputCube

isis/src/base/objs/ProcessBySample/ProcessBySample.cpp:37–42  ·  view source on GitHub ↗

* Opens an input cube specified by the user and verifies requirements are * met. This method is overloaded and adds the requirements of * ic_base::SpatialMatch which requires all input cubes to have the same * number of samples and lines. It also added the requirement * ic_base::BandMatchOrOne which forces 2nd, 3rd, 4th, etc input cubes to * match the number of bands in the 1st inpu

Source from the content-addressed store, hash-verified

35 * Defaults to 0
36 */
37 Isis::Cube *ProcessBySample::SetInputCube(const QString &parameter,
38 int requirements) {
39 int allRequirements = Isis::SpatialMatch | Isis::BandMatchOrOne;
40 allRequirements |= requirements;
41 return Process::SetInputCube(parameter, allRequirements);
42 }
43
44
45 /**

Callers 1

IsisMainFunction · 0.45

Calls

no outgoing calls

Tested by 1

IsisMainFunction · 0.36