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 */
9
namespace
Isis
{
72
class
Transform
{
73
private
:
74
75
protected
:
76
77
public
:
78
80
Transform
() {};
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
Isis::Transform
Pixel transformation.
Definition
Transform.h:72
Isis::Transform::~Transform
virtual ~Transform()
Destroy the Transform object.
Definition
Transform.h:83
Isis::Transform::OutputSamples
virtual int OutputSamples() const
Allows the retrieval of the calculated number of samples in the output image.
Definition
Transform.h:93
Isis::Transform::Xform
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
Isis::Transform::OutputLines
virtual int OutputLines() const
Allows the retrieval of the calculated number of lines in the output image.
Definition
Transform.h:103
Isis::Transform::Transform
Transform()
Constructs a Transform object.
Definition
Transform.h:80
Isis
This is free and unencumbered software released into the public domain.
Definition
Apollo.h:16
repos
ISIS3
isis
src
base
objs
Transform
Transform.h