Isis Developer Reference
ProcessMapMosaic.h
Go to the documentation of this file.
1 #ifndef ProcessMapMosaic_h
2 #define ProcessMapMosaic_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 #include "ProcessMosaic.h"
10 #include "Buffer.h"
11 #include "FileList.h"
12 
13 namespace Isis {
98 
99  public:
100 
102 
103  virtual ~ProcessMapMosaic();
104 
105  // SetOutputCube() is not virtual in the Process class nor in the
106  // ProcessMosaic class, so the following definitions for this method are
107  // the only ones that are allowed for ProcessMapMosaic objects and child
108  // objects
109  virtual Isis::Cube *SetOutputCube(FileList &propagationCubes, CubeAttributeOutput &oAtt,
110  const QString &mosaicFile);
111 
112  Isis::Cube *RingsSetOutputCube(FileList &propagationCubes, CubeAttributeOutput &oAtt,
113  const QString &mosaicFile);
114 
115  virtual Isis::Cube *SetOutputCube(FileList &propagationCubes,
116  double slat, double elat, double slon, double elon,
117  CubeAttributeOutput &oAtt, const QString &mosaicFile);
118 
119  Isis::Cube *RingsSetOutputCube(FileList &propagationCubes,
120  double srad, double erad, double saz, double eaz,
121  CubeAttributeOutput &oAtt, const QString &mosaicFile);
122 
123  virtual Isis::Cube *SetOutputCube(const QString &inputFile,
124  double xmin, double xmax, double ymin, double ymax,
125  double slat, double elat, double slon, double elon, int nbands,
126  CubeAttributeOutput &oAtt, const QString &mosaicFile,
127  bool latlonflag=true);
128 
129  Isis::Cube *RingsSetOutputCube(const QString &inputFile,
130  double xmin, double xmax, double ymin, double ymax,
131  double srad, double erad, double saz, double eaz, int nbands,
132  CubeAttributeOutput &oAtt, const QString &mosaicFile);
133 
134  virtual Isis::Cube *SetOutputCube(const QString &inputFile, PvlGroup mapping,
135  CubeAttributeOutput &oAtt, const QString &mosaicFile);
136 
137  Isis::Cube *RingsSetOutputCube(const QString &inputFile, PvlGroup mapping,
138  CubeAttributeOutput &oAtt, const QString &mosaicFile);
139 
140  Isis::Cube *SetOutputCube(const QString &mosaicFile);
141 
142  Isis::Cube *RingsSetOutputCube(const QString &mosaicFile);
143 
145  virtual Isis::Cube *SetInputCube();
146 
148  virtual bool StartProcess(QString inputFile);
149 
150  private:
151  static void FillNull(Buffer &data);
152 
157  bool p_createMosaic;
158  };
159 };
160 
161 #endif
Isis::Process::PropagateTables
void PropagateTables(const bool prop)
This method allows the programmer to propagate input tables to the output cube (default is true)
Definition: Process.cpp:678
ProjectionFactory.h
Isis::PvlObject::findGroup
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
Isis::RingPlaneProjection::MinimumRingRadius
double MinimumRingRadius() const
This returns the minimum radius of the area of interest.
Definition: RingPlaneProjection.cpp:405
Isis::PvlKeyword
A single keyword-value pair.
Definition: PvlKeyword.h:82
Isis::ProcessMapMosaic
Mosaic two cubs together.
Definition: ProcessMapMosaic.h:97
Isis::FileName::name
QString name() const
Returns the name of the file excluding the path and the attributes in the file name.
Definition: FileName.cpp:162
Isis::PvlContainer::addKeyword
void addKeyword(const PvlKeyword &keyword, const InsertMode mode=Append)
Add a keyword to the container.
Definition: PvlContainer.cpp:202
SpecialPixel.h
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
Isis::ProjectionFactory::CreateForCube
static Isis::Projection * CreateForCube(Isis::Pvl &label, int &ns, int &nl, bool sizeMatch=true)
This method creates a map projection for a cube given a label.
Definition: ProjectionFactory.cpp:188
Isis::TProjection::MinimumLongitude
virtual double MinimumLongitude() const
This returns the minimum longitude of the area of interest.
Definition: TProjection.cpp:732
ProcessMapMosaic.h
Isis::Cube::putGroup
void putGroup(const PvlGroup &group)
Adds a group in a Label to the cube.
Definition: Cube.cpp:2056
Isis::Process::PropagatePolygons
void PropagatePolygons(const bool prop)
This method allows the programmer to propagate input blobs to the output cube (default is true)
Definition: Process.cpp:727
Isis::Projection::ToProjectionY
double ToProjectionY(const double worldY) const
This method converts a world y value to a projection y value.
Definition: Projection.cpp:650
Isis::ProcessByBrick::SetOutputCube
virtual Cube * SetOutputCube(const QString &fname, const CubeAttributeOutput &att)
Create the output file.
Definition: ProcessByBrick.cpp:364
Isis::Cube::close
void close(bool remove=false)
Closes the cube and updates the labels.
Definition: Cube.cpp:260
Isis::PvlContainer::hasKeyword
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::ProcessMapMosaic::StartProcess
virtual bool StartProcess(QString inputFile)
Mosaic Processing method, returns false if the cube is not inside the mosaic.
Definition: ProcessMapMosaic.cpp:51
Isis::CubeAttributeOutput
Manipulate and parse attributes of output cube filenames.
Definition: CubeAttribute.h:473
Isis::ProjectionFactory::RingsCreateFromCube
static Isis::Projection * RingsCreateFromCube(Isis::Cube &cube)
This method is a helper method.
Definition: ProjectionFactory.cpp:1081
Isis::ProcessMapMosaic::SetOutputCube
virtual Isis::Cube * SetOutputCube(FileList &propagationCubes, CubeAttributeOutput &oAtt, const QString &mosaicFile)
Set the output cube to specified file name and specified input images and output attributes.
Definition: ProcessMapMosaic.cpp:193
Isis::Projection::SetUniversalGround
virtual bool SetUniversalGround(const double coord1, const double coord2)
This method is used to set the lat/lon or radius/azimuth (i.e.
Definition: Projection.cpp:417
Isis::TProjection::MaximumLatitude
virtual double MaximumLatitude() const
This returns the maximum latitude of the area of interest.
Definition: TProjection.cpp:721
Preference.h
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
Isis::ProcessByLine
Process cubes by line.
Definition: ProcessByLine.h:97
Isis::RingPlaneProjection::MaximumRingRadius
double MaximumRingRadius() const
This returns the maximum radius of the area of interest.
Definition: RingPlaneProjection.cpp:416
Isis::Process::PropagateOriginalLabel
void PropagateOriginalLabel(const bool prop)
This method allows the programmer to propagate original labels to the output cube (default is true)
Definition: Process.cpp:748
Isis::Buffer
Buffer for reading and writing cube data.
Definition: Buffer.h:53
Buffer.h
FileList.h
Isis::RingPlaneProjection
Base class for Map Projections of plane shapes.
Definition: RingPlaneProjection.h:147
Isis::Projection::IsEquatorialCylindrical
virtual bool IsEquatorialCylindrical()
This method returns true if the projection is equatorial cylindrical.
Definition: Projection.cpp:222
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
Isis::ProcessMosaic::SetInputCube
virtual Isis::Cube * SetInputCube(const QString &parameter, const int requirements=0)
Opens an input cube specified by the user and verifies requirements are met.
Definition: Process.cpp:136
Pvl.h
Isis::Cube::lineCount
int lineCount() const
Definition: Cube.cpp:1734
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::Projection::XYRange
virtual bool XYRange(double &minX, double &maxX, double &minY, double &maxY)=0
Isis::Pvl::read
void read(const QString &file)
Loads PVL information from a stream.
Definition: Pvl.cpp:90
Isis::Process::ClearInputCubes
void ClearInputCubes()
Close owned input cubes from the list and clear the list.
Definition: Process.cpp:603
Isis::Process::PropagateHistory
void PropagateHistory(const bool prop)
This method allows the programmer to propagate history to the output cube (default is true)
Definition: Process.cpp:737
Isis::ProcessMosaic::StartProcess
virtual void StartProcess(const int &piOutSample, const int &piOutLine, const int &piOutBand)
This method invokes the process by mosaic operation over a single input cube and single output cube.
Definition: ProcessMosaic.cpp:106
Isis::RingPlaneProjection::MaximumRingLongitude
double MaximumRingLongitude() const
This returns the maximum ring longitude of the area of interest.
Definition: RingPlaneProjection.cpp:438
Isis::TProjection
Base class for Map TProjections.
Definition: TProjection.h:166
Isis::RingPlaneProjection::MinimumRingLongitude
double MinimumRingLongitude() const
This returns the minimum ring longitude of the area of interest.
Definition: RingPlaneProjection.cpp:427
Isis::Progress::SetText
void SetText(const QString &text)
Changes the value of the text string reported just before 0% processed.
Definition: Progress.cpp:61
Isis::Cube::addCachingAlgorithm
void addCachingAlgorithm(CubeCachingAlgorithm *)
This will add the given caching algorithm to the list of attempted caching algorithms.
Definition: Cube.cpp:1922
Application.h
Isis::Projection::ToWorldY
double ToWorldY(const double projectionY) const
This method converts a projection y value to a world y value.
Definition: Projection.cpp:594
Isis::Cube::sampleCount
int sampleCount() const
Definition: Cube.cpp:1807
Isis::ProcessMapMosaic::SetInputCube
virtual Isis::Cube * SetInputCube()
Input cube cannot be set here.
Definition: ProcessMapMosaic.cpp:41
Isis::Projection::WorldX
virtual double WorldX() const
This returns the world X coordinate provided SetGround, SetCoordinate, SetUniversalGround,...
Definition: Projection.cpp:524
ProcessByLine.h
Isis::Process::PropagateLabels
void PropagateLabels(const bool prop)
This method allows the programmer to turn on/off the propagation of labels from the 1st input cube to...
Definition: Process.cpp:639
Isis::Process::Progress
Isis::Progress * Progress()
This method returns a pointer to a Progress object.
Definition: Process.h:259
Isis::Cube
IO Handler for Isis Cubes.
Definition: Cube.h:167
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::Cube::bandCount
virtual int bandCount() const
Returns the number of virtual bands for the cube.
Definition: Cube.cpp:1410
Isis::Progress
Program progress reporter.
Definition: Progress.h:42
TProjection.h
Isis::Null
const double Null
Value for an Isis Null pixel.
Definition: SpecialPixel.h:95
Isis::TProjection::MaximumLongitude
virtual double MaximumLongitude() const
This returns the maximum longitude of the area of interest.
Definition: TProjection.cpp:743
Isis::ProjectionFactory::CreateFromCube
static Isis::Projection * CreateFromCube(Isis::Cube &cube)
This method is a helper method.
Definition: ProjectionFactory.cpp:1069
Isis::PvlObject::addGroup
void addGroup(const Isis::PvlGroup &group)
Add a group to the object.
Definition: PvlObject.h:186
Isis::ProcessMapMosaic::~ProcessMapMosaic
virtual ~ProcessMapMosaic()
Destructor.
Definition: ProcessMapMosaic.cpp:35
Isis::ProjectionFactory::RingsCreateForCube
static Isis::Projection * RingsCreateForCube(Isis::Pvl &label, int &samples, int &lines, bool sizeMatch)
This method creates a projection for a cube to a ring plane given a label.
Definition: ProjectionFactory.cpp:432
Isis::PvlContainer::deleteKeyword
void deleteKeyword(const QString &name)
Remove a specified keyword.
Definition: PvlContainer.cpp:97
IException.h
std
Namespace for the standard library.
RingPlaneProjection.h
Isis::Projection::ToWorldX
double ToWorldX(const double projectionX) const
This method converts a projection x value to a world x value.
Definition: Projection.cpp:566
Isis::ProcessByLine::StartProcess
void StartProcess(void funct(Isis::Buffer &inout))
This method invokes the process by line operation over a single input or output cube.
Definition: ProcessByLine.cpp:130
Isis::Cube::label
Pvl * label() const
Returns a pointer to the IsisLabel object associated with the cube.
Definition: Cube.cpp:1701
Isis::Projection::ToProjectionX
double ToProjectionX(const double worldX) const
This method converts a world x value to a projection x value.
Definition: Projection.cpp:622
Isis::ProcessMapMosaic::RingsSetOutputCube
Isis::Cube * RingsSetOutputCube(FileList &propagationCubes, CubeAttributeOutput &oAtt, const QString &mosaicFile)
Set the output cube to specified file name and specified input images and output attributes.
Definition: ProcessMapMosaic.cpp:272
Isis::CubeAttributeInput
Manipulate and parse attributes of input cube filenames.
Definition: CubeAttribute.h:381
Isis::UniqueIOCachingAlgorithm
This algorithm is designed for applications that jump around between a couple of spots in the cube wi...
Definition: UniqueIOCachingAlgorithm.h:30
Isis::Buffer::size
int size() const
Returns the total number of pixels in the shape buffer.
Definition: Buffer.h:97
Projection.h
Isis::TProjection::MinimumLatitude
virtual double MinimumLatitude() const
This returns the minimum latitude of the area of interest.
Definition: TProjection.cpp:710
Isis::ProcessMosaic
Mosaic two cubes together.
Definition: ProcessMosaic.h:194
Isis::Projection
Base class for Map Projections.
Definition: Projection.h:155
Isis::Cube::open
void open(const QString &cfile, QString access="r")
This method will open an isis cube for reading or reading/writing.
Definition: Cube.cpp:627
Isis::ProcessByBrick::EndProcess
void EndProcess()
End the processing sequence and cleans up by closing cubes, freeing memory, etc.
Definition: ProcessByBrick.cpp:669
Isis::FileList
Internalizes a list of files.
Definition: FileList.h:54
Isis::ProcessByLine::SetInputCube
Isis::Cube * SetInputCube(const QString &parameter, const int requirements=0)
Opens an input cube specified by the user and verifies requirements are met.
Definition: ProcessByLine.cpp:41
UniqueIOCachingAlgorithm.h
Isis::Cube::projection
Projection * projection()
Definition: Cube.cpp:1794
Isis::ProcessMapMosaic::ProcessMapMosaic
ProcessMapMosaic()
Constructs a Mosaic object.
Definition: ProcessMapMosaic.cpp:29
ProcessMosaic.h
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16