Isis Developer Reference
Transform.h
Go to the documentation of this file.
1#ifndef Transform_h
2#define Transform_h
8/* SPDX-License-Identifier: CC0-1.0 */
9namespace Isis {
72 class Transform {
73 private:
74
75 protected:
76
77 public:
78
81
83 virtual ~Transform() {};
84
85 // Pure virtual members
86
93 virtual int OutputSamples() const{
94 return 0;
95 }
96
103 virtual int OutputLines() const {
104 return 0;
105 }
106
123 virtual bool Xform(double &inSample, double &inLine,
124 const double outSample,
125 const double outLine) {
126 return true;
127 }
128
129 };
130};
131
132#endif
Pixel transformation.
Definition Transform.h:72
virtual ~Transform()
Destroy the Transform object.
Definition Transform.h:83
virtual int OutputSamples() const
Allows the retrieval of the calculated number of samples in the output image.
Definition Transform.h:93
virtual bool Xform(double &inSample, double &inLine, const double outSample, const double outLine)
Transforms the given output line and sample to the corresponding output line and sample.
Definition Transform.h:123
virtual int OutputLines() const
Allows the retrieval of the calculated number of lines in the output image.
Definition Transform.h:103
Transform()
Constructs a Transform object.
Definition Transform.h:80
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16