OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Friends | List of all members
ossimImageViewTransform Class Referenceabstract

#include <ossimImageViewTransform.h>

Inheritance diagram for ossimImageViewTransform:
ossim2dTo2dTransform ossimViewInterface ossimObject ossimReferenced ossimImageViewAffineTransform ossimImageViewProjectionTransform

Public Member Functions

 ossimImageViewTransform ()
 
virtual void forward (const ossimDpt &input, ossimDpt &output) const
 
virtual void inverse (const ossimDpt &input, ossimDpt &output) const
 
virtual bool isIdentity () const =0
 
virtual bool isValid () const =0
 
virtual ossimDpt getInputMetersPerPixel () const =0
 
virtual ossimDpt getOutputMetersPerPixel () const =0
 
virtual void getImageToViewScale (ossimDpt &resultScale, const ossimDpt &imagePoint, const ossimDpt &deltaImagePointXY) const
 
virtual void getViewToImageScale (ossimDpt &resultScale, const ossimDpt &imagePoint, const ossimDpt &deltaImagePointXY) const
 
virtual void imageToView (const ossimDpt &imagePoint, ossimDpt &viewPoint) const
 
virtual void viewToImage (const ossimDpt &viewPoint, ossimDpt &imagePoint) const
 
virtual std::ostream & print (std::ostream &out) const
 Generic print method. More...
 
ossimDpt imageToView (const ossimDpt &imagePoint) const
 
ossimDpt viewToImage (const ossimDpt &viewPoint) const
 
virtual void getScaleChangeImageToView (ossimDpt &result, const ossimDrect &imageRect)
 
virtual void getScaleChangeViewToImage (ossimDpt &result, const ossimDrect &viewRect)
 
virtual void getRoundTripErrorView (ossimDpt &result, const ossimDpt &viewPt) const
 
virtual ossimDpt getRoundTripErrorView (const ossimDpt &viewPt) const
 
virtual void getRoundTripErrorImage (ossimDpt &result, const ossimDpt &imagePt) const
 
virtual ossimDpt getRoundTripErrorImage (const ossimDpt &imagePt) const
 
virtual ossimDrect getImageToViewBounds (const ossimDrect &imageRect) const
 Computes the bounding rect in view space of the quad formed by the transformed image points of the input rect corners. More...
 
virtual ossimDrect getViewToImageBounds (const ossimDrect &viewRect) const
 Computes the bounding rect in image space of the quad formed by the transformed view points of the input rect corners. More...
 
virtual bool loadState (const ossimKeywordlist &kwl, const char *prefix=0)
 
virtual bool saveState (ossimKeywordlist &kwl, const char *prefix=0) const
 
- Public Member Functions inherited from ossim2dTo2dTransform
virtual void forward (ossimDpt &modify_this) const
 
virtual void inverse (ossimDpt &modify_this) const
 
virtual const ossim2dTo2dTransformoperator= (const ossim2dTo2dTransform &rhs)
 
virtual ossimDpt getOrigin () const
 
void setConvergenceThreshold (const double &new_threshold)
 
void setMaxIterations (int new_max_iters)
 
void setDxDy (const ossimDpt &dxdy)
 
- Public Member Functions inherited from ossimObject
 ossimObject ()
 
virtual ~ossimObject ()
 
virtual ossimObjectdup () const
 
virtual ossimString getShortName () const
 
virtual ossimString getLongName () const
 
virtual ossimString getDescription () const
 
virtual ossimString getClassName () const
 
virtual RTTItypeid getType () const
 
virtual bool canCastTo (ossimObject *obj) const
 
virtual bool canCastTo (const RTTItypeid &id) const
 
virtual bool canCastTo (const ossimString &parentClassName) const
 
virtual bool isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const
 
virtual void accept (ossimVisitor &visitor)
 
- Public Member Functions inherited from ossimReferenced
 ossimReferenced ()
 
 ossimReferenced (const ossimReferenced &)
 
ossimReferencedoperator= (const ossimReferenced &)
 
void ref () const
 increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
 
void unref () const
 decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
void unref_nodelete () const
 decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
int referenceCount () const
 
- Public Member Functions inherited from ossimViewInterface
 ossimViewInterface ()
 
 ossimViewInterface (ossimObject *base)
 
virtual ~ossimViewInterface ()
 
virtual bool setView (ossimObject *baseObject)=0
 
virtual ossimObjectgetView ()=0
 
virtual const ossimObjectgetView () const =0
 
virtual void refreshView ()
 
ossimObjectgetBaseObject ()
 

Friends

OSSIMDLLEXPORT ostream & operator<< (ostream &out, const ossimImageViewTransform &data)
 

Additional Inherited Members

- Protected Member Functions inherited from ossim2dTo2dTransform
 ossim2dTo2dTransform ()
 
virtual ~ossim2dTo2dTransform ()
 
- Protected Member Functions inherited from ossimReferenced
virtual ~ossimReferenced ()
 
- Protected Attributes inherited from ossim2dTo2dTransform
double theConvergenceThreshold
 
int theMaxIterations
 
ossimDpt theDxDy
 
- Protected Attributes inherited from ossimViewInterface
ossimObjecttheObject
 

Detailed Description

Definition at line 25 of file ossimImageViewTransform.h.

Constructor & Destructor Documentation

◆ ossimImageViewTransform()

ossimImageViewTransform::ossimImageViewTransform ( )

Member Function Documentation

◆ forward()

void ossimImageViewTransform::forward ( const ossimDpt input,
ossimDpt output 
) const
virtual

Implements ossim2dTo2dTransform.

Definition at line 17 of file ossimImageViewTransform.cpp.

References imageToView().

19 {
20  imageToView(input, output);
21 }
virtual void imageToView(const ossimDpt &imagePoint, ossimDpt &viewPoint) const

◆ getImageToViewBounds()

ossimDrect ossimImageViewTransform::getImageToViewBounds ( const ossimDrect imageRect) const
virtual

Computes the bounding rect in view space of the quad formed by the transformed image points of the input rect corners.

Reimplemented in ossimImageViewProjectionTransform.

Definition at line 294 of file ossimImageViewTransform.cpp.

References imageToView(), ossimDrect::ll(), ossimDrect::lr(), ossimDrect::ul(), and ossimDrect::ur().

Referenced by ossimImageViewProjectionTransform::getImageToViewBounds(), and ossimImageRenderer::initializeBoundingRects().

295 {
296  ossimDpt p1;
297  ossimDpt p2;
298  ossimDpt p3;
299  ossimDpt p4;
300 
301  imageToView(imageRect.ul(), p1);
302  imageToView(imageRect.ur(), p2);
303  imageToView(imageRect.lr(), p3);
304  imageToView(imageRect.ll(), p4);
305 
306  return ossimDrect(p1, p2, p3, p4);
307 }
const ossimDpt & ul() const
Definition: ossimDrect.h:339
const ossimDpt & ur() const
Definition: ossimDrect.h:340
virtual void imageToView(const ossimDpt &imagePoint, ossimDpt &viewPoint) const
const ossimDpt & ll() const
Definition: ossimDrect.h:342
const ossimDpt & lr() const
Definition: ossimDrect.h:341

◆ getImageToViewScale()

void ossimImageViewTransform::getImageToViewScale ( ossimDpt resultScale,
const ossimDpt imagePoint,
const ossimDpt deltaImagePointXY 
) const
virtual

If it needs to it will use the information passed in to get the scae factor by transforming the line point.x to point.x+deltaXY and point.y to point.y + deltaXY.y. It will comput new delta's and set the ratio of deltaXY/newDeltaXY to the result scale.
Derived classes can overide this default implementation. Note: if the scale changes are only subpixel then it will return a scale of one. We have to see how this works before we actually keep this implementation.

Definition at line 214 of file ossimImageViewTransform.cpp.

References FLT_EPSILON, imageToView(), ossimDpt::x, and ossimDpt::y.

217 {
218  ossimDpt p1 = imagePoint;
219  ossimDpt p2(imagePoint.x + deltaImagePointXY.x,
220  imagePoint.y);
221  ossimDpt p3(imagePoint.x,
222  imagePoint.y + deltaImagePointXY.y);
223 
224  ossimDpt transformedP1;
225  ossimDpt transformedP2;
226  ossimDpt transformedP3;
227 
228  imageToView(p1, transformedP1);
229  imageToView(p2, transformedP2);
230  imageToView(p3, transformedP3);
231 
232  ossimDpt deltaP1P2 = transformedP1 - transformedP2;
233  ossimDpt deltaP1P3 = transformedP1 - transformedP3;
234 
235  // now compute the distances.
236  double sumSquaredSqrtP1P2 = sqrt((deltaP1P2.x*deltaP1P2.x) +
237  (deltaP1P2.y*deltaP1P2.y));
238  double sumSquaredSqrtP1P3 = sqrt((deltaP1P3.x*deltaP1P3.x) +
239  (deltaP1P3.y*deltaP1P3.y));
240 
241  resultScale.x = 0;
242  resultScale.y = 0;
243 
244  if(sumSquaredSqrtP1P2 > FLT_EPSILON)
245  {
246  resultScale.x = sumSquaredSqrtP1P2/deltaImagePointXY.x;
247  }
248  if(sumSquaredSqrtP1P3 > FLT_EPSILON)
249  {
250  resultScale.y = sumSquaredSqrtP1P3/deltaImagePointXY.y;
251  }
252 }
double y
Definition: ossimDpt.h:165
#define FLT_EPSILON
double x
Definition: ossimDpt.h:164
virtual void imageToView(const ossimDpt &imagePoint, ossimDpt &viewPoint) const

◆ getInputMetersPerPixel()

virtual ossimDpt ossimImageViewTransform::getInputMetersPerPixel ( ) const
pure virtual

◆ getOutputMetersPerPixel()

virtual ossimDpt ossimImageViewTransform::getOutputMetersPerPixel ( ) const
pure virtual

◆ getRoundTripErrorImage() [1/2]

void ossimImageViewTransform::getRoundTripErrorImage ( ossimDpt result,
const ossimDpt imagePt 
) const
virtual

Definition at line 92 of file ossimImageViewTransform.cpp.

References ossimDpt::hasNans(), imageToView(), ossimDpt::makeNan(), and viewToImage().

94 {
95  ossimDpt ipt;
96  ossimDpt vpt;
97  imageToView(imagePt, vpt);
98  if(vpt.hasNans())
99  {
100  ipt.makeNan();
101  }
102  else
103  {
104  viewToImage(vpt, ipt);
105  }
106 
107  if(ipt.hasNans())
108  {
109  result.makeNan();
110  }
111  else
112  {
113  result = imagePt-ipt;
114  }
115 
116 // result = ossimDpt(0,0);
117 }
bool hasNans() const
Definition: ossimDpt.h:67
virtual void imageToView(const ossimDpt &imagePoint, ossimDpt &viewPoint) const
void makeNan()
Definition: ossimDpt.h:65
virtual void viewToImage(const ossimDpt &viewPoint, ossimDpt &imagePoint) const

◆ getRoundTripErrorImage() [2/2]

ossimDpt ossimImageViewTransform::getRoundTripErrorImage ( const ossimDpt imagePt) const
virtual

Definition at line 119 of file ossimImageViewTransform.cpp.

References getRoundTripErrorView().

120 {
121  ossimDpt result;
122  getRoundTripErrorView(result, imagePt);
123  return result;
124 }
virtual void getRoundTripErrorView(ossimDpt &result, const ossimDpt &viewPt) const

◆ getRoundTripErrorView() [1/2]

void ossimImageViewTransform::getRoundTripErrorView ( ossimDpt result,
const ossimDpt viewPt 
) const
virtual

Definition at line 59 of file ossimImageViewTransform.cpp.

References ossimDpt::hasNans(), imageToView(), ossimDpt::makeNan(), and viewToImage().

Referenced by getRoundTripErrorImage(), and getRoundTripErrorView().

61 {
62  ossimDpt ipt;
63  ossimDpt vpt;
64  viewToImage(viewPt, ipt);
65  if(ipt.hasNans())
66  {
67  vpt.makeNan();
68  }
69  else
70  {
71  imageToView(ipt, vpt);
72  }
73 
74  if(vpt.hasNans())
75  {
76  result.makeNan();
77  }
78  else
79  {
80  result = viewPt-vpt;
81  }
82  // result = ossimDpt(0,0);
83 }
bool hasNans() const
Definition: ossimDpt.h:67
virtual void imageToView(const ossimDpt &imagePoint, ossimDpt &viewPoint) const
void makeNan()
Definition: ossimDpt.h:65
virtual void viewToImage(const ossimDpt &viewPoint, ossimDpt &imagePoint) const

◆ getRoundTripErrorView() [2/2]

ossimDpt ossimImageViewTransform::getRoundTripErrorView ( const ossimDpt viewPt) const
virtual

Definition at line 85 of file ossimImageViewTransform.cpp.

References getRoundTripErrorView().

86 {
87  ossimDpt result;
88  getRoundTripErrorView(result, viewPt);
89  return result;
90 }
virtual void getRoundTripErrorView(ossimDpt &result, const ossimDpt &viewPt) const

◆ getScaleChangeImageToView()

void ossimImageViewTransform::getScaleChangeImageToView ( ossimDpt result,
const ossimDrect imageRect 
)
virtual

This should compute output/input.

Definition at line 138 of file ossimImageViewTransform.cpp.

References ossimDpt::hasNans(), ossimDrect::hasNans(), ossimDrect::height(), imageToView(), ossimDrect::ll(), ossimDrect::lr(), ossimDpt::makeNan(), ossimDrect::ul(), ossimDrect::ur(), ossimDrect::width(), ossimDpt::x, and ossimDpt::y.

140 {
141  result.makeNan();
142  if(!imageRect.hasNans())
143  {
144  ossimDpt vul;
145  ossimDpt vur;
146  ossimDpt vlr;
147  ossimDpt vll;
148 
149  imageToView(imageRect.ul(),
150  vul);
151  imageToView(imageRect.ur(),
152  vur);
153  imageToView(imageRect.lr(),
154  vlr);
155  imageToView(imageRect.ll(),
156  vll);
157 
158  if(!vul.hasNans()&&
159  !vur.hasNans()&&
160  !vlr.hasNans()&&
161  !vll.hasNans())
162  {
163 
164  double deltaTop = (vul - vur).length();
165  double deltaBottom = (vll - vlr).length();
166  double deltaRight = (vur - vlr).length();
167 
168  double w = imageRect.width();
169  double h = imageRect.height();
170  result.x = (deltaTop/w + deltaBottom/w)*.5;
171  result.y = (deltaRight/h + deltaRight/h)*.5;
172  }
173  }
174 }
ossim_float64 width() const
Definition: ossimDrect.h:522
const ossimDpt & ul() const
Definition: ossimDrect.h:339
double y
Definition: ossimDpt.h:165
bool hasNans() const
Definition: ossimDrect.h:396
bool hasNans() const
Definition: ossimDpt.h:67
ossim_float64 height() const
Definition: ossimDrect.h:517
const ossimDpt & ur() const
Definition: ossimDrect.h:340
double x
Definition: ossimDpt.h:164
virtual void imageToView(const ossimDpt &imagePoint, ossimDpt &viewPoint) const
const ossimDpt & ll() const
Definition: ossimDrect.h:342
const ossimDpt & lr() const
Definition: ossimDrect.h:341
void makeNan()
Definition: ossimDpt.h:65

◆ getScaleChangeViewToImage()

void ossimImageViewTransform::getScaleChangeViewToImage ( ossimDpt result,
const ossimDrect viewRect 
)
virtual

This should compute output/input.

Definition at line 176 of file ossimImageViewTransform.cpp.

References ossimDpt::hasNans(), ossimDrect::hasNans(), ossimDrect::height(), imageToView(), ossimDrect::ll(), ossimDrect::lr(), ossimDpt::makeNan(), ossimDrect::ul(), ossimDrect::ur(), ossimDrect::width(), ossimDpt::x, and ossimDpt::y.

178 {
179  result.makeNan();
180  if(!viewRect.hasNans())
181  {
182  ossimDpt iul;
183  ossimDpt iur;
184  ossimDpt ilr;
185  ossimDpt ill;
186 
187  imageToView(viewRect.ul(),
188  iul);
189  imageToView(viewRect.ur(),
190  iur);
191  imageToView(viewRect.lr(),
192  ilr);
193  imageToView(viewRect.ll(),
194  ill);
195 
196  if(!iul.hasNans()&&
197  !iur.hasNans()&&
198  !ilr.hasNans()&&
199  !ill.hasNans())
200  {
201 
202  double deltaTop = (iul - iur).length();
203  double deltaBottom = (ill - ilr).length();
204  double deltaRight = (iur - ilr).length();
205 
206  double w = viewRect.width();
207  double h = viewRect.height();
208  result.x = (deltaTop/w + deltaBottom/w)*.5;
209  result.y = (deltaRight/h + deltaRight/h)*.5;
210  }
211  }
212 }
ossim_float64 width() const
Definition: ossimDrect.h:522
const ossimDpt & ul() const
Definition: ossimDrect.h:339
double y
Definition: ossimDpt.h:165
bool hasNans() const
Definition: ossimDrect.h:396
bool hasNans() const
Definition: ossimDpt.h:67
ossim_float64 height() const
Definition: ossimDrect.h:517
const ossimDpt & ur() const
Definition: ossimDrect.h:340
double x
Definition: ossimDpt.h:164
virtual void imageToView(const ossimDpt &imagePoint, ossimDpt &viewPoint) const
const ossimDpt & ll() const
Definition: ossimDrect.h:342
const ossimDpt & lr() const
Definition: ossimDrect.h:341
void makeNan()
Definition: ossimDpt.h:65

◆ getViewToImageBounds()

ossimDrect ossimImageViewTransform::getViewToImageBounds ( const ossimDrect viewRect) const
virtual

Computes the bounding rect in image space of the quad formed by the transformed view points of the input rect corners.

Definition at line 309 of file ossimImageViewTransform.cpp.

References ossimDrect::ll(), ossimDrect::lr(), ossimDrect::ul(), ossimDrect::ur(), and viewToImage().

310 {
311  ossimDpt p1;
312  ossimDpt p2;
313  ossimDpt p3;
314  ossimDpt p4;
315 
316  viewToImage(viewRect.ul(), p1);
317  viewToImage(viewRect.ur(), p2);
318  viewToImage(viewRect.lr(), p3);
319  viewToImage(viewRect.ll(), p4);
320 
321  return ossimDrect(p1, p2, p3, p4);
322 }
const ossimDpt & ul() const
Definition: ossimDrect.h:339
const ossimDpt & ur() const
Definition: ossimDrect.h:340
const ossimDpt & ll() const
Definition: ossimDrect.h:342
const ossimDpt & lr() const
Definition: ossimDrect.h:341
virtual void viewToImage(const ossimDpt &viewPoint, ossimDpt &imagePoint) const

◆ getViewToImageScale()

void ossimImageViewTransform::getViewToImageScale ( ossimDpt resultScale,
const ossimDpt imagePoint,
const ossimDpt deltaImagePointXY 
) const
virtual

If it needs to it will use the information passed in to get the scae factor by transforming the line point.x to point.x+deltaXY and point.y to point.y + deltaXY.y. It will comput new delta's and set the ratio of deltaXY/newDeltaXY to the result scale.
Derived classes can overide this default implementation. Note: if the scale changes are only subpixel then it will return a scale of one. We have to see how this works before we actually keep this implementation.

Definition at line 254 of file ossimImageViewTransform.cpp.

References FLT_EPSILON, viewToImage(), ossimDpt::x, and ossimDpt::y.

257 {
258  ossimDpt p1 = viewPoint;
259  ossimDpt p2(viewPoint.x + deltaViewPointXY.x,
260  viewPoint.y);
261  ossimDpt p3(viewPoint.x,
262  viewPoint.y + deltaViewPointXY.y);
263 
264  ossimDpt transformedP1;
265  ossimDpt transformedP2;
266  ossimDpt transformedP3;
267 
268  viewToImage(p1, transformedP1);
269  viewToImage(p2, transformedP2);
270  viewToImage(p3, transformedP3);
271 
272  ossimDpt deltaP1P2 = transformedP1 - transformedP2;
273  ossimDpt deltaP1P3 = transformedP1 - transformedP3;
274 
275  // now compute the distances.
276  double sumSquaredSqrtP1P2 = sqrt((deltaP1P2.x*deltaP1P2.x) +
277  (deltaP1P2.y*deltaP1P2.y));
278  double sumSquaredSqrtP1P3 = sqrt((deltaP1P3.x*deltaP1P3.x) +
279  (deltaP1P3.y*deltaP1P3.y));
280 
281  resultScale.x = 0;
282  resultScale.y = 0;
283 
284  if(sumSquaredSqrtP1P2 > FLT_EPSILON)
285  {
286  resultScale.x = sumSquaredSqrtP1P2/deltaViewPointXY.x;
287  }
288  if(sumSquaredSqrtP1P3 > FLT_EPSILON)
289  {
290  resultScale.y = sumSquaredSqrtP1P3/deltaViewPointXY.y;
291  }
292 }
double y
Definition: ossimDpt.h:165
#define FLT_EPSILON
double x
Definition: ossimDpt.h:164
virtual void viewToImage(const ossimDpt &viewPoint, ossimDpt &imagePoint) const

◆ imageToView() [1/2]

void ossimImageViewTransform::imageToView ( const ossimDpt imagePoint,
ossimDpt viewPoint 
) const
virtual

◆ imageToView() [2/2]

ossimDpt ossimImageViewTransform::imageToView ( const ossimDpt imagePoint) const

Definition at line 41 of file ossimImageViewTransform.cpp.

References imageToView().

42 {
43  ossimDpt tempPt;
44 
45  imageToView(imagePoint, tempPt);
46 
47  return tempPt;
48 }
virtual void imageToView(const ossimDpt &imagePoint, ossimDpt &viewPoint) const

◆ inverse()

void ossimImageViewTransform::inverse ( const ossimDpt input,
ossimDpt output 
) const
virtual

Reimplemented from ossim2dTo2dTransform.

Definition at line 23 of file ossimImageViewTransform.cpp.

References viewToImage().

25 {
26  viewToImage(input, output);
27 }
virtual void viewToImage(const ossimDpt &viewPoint, ossimDpt &imagePoint) const

◆ isIdentity()

virtual bool ossimImageViewTransform::isIdentity ( ) const
pure virtual

derived classes will specify if the imageViewTransform is an identity.

Implemented in ossimImageViewAffineTransform, and ossimImageViewProjectionTransform.

◆ isValid()

virtual bool ossimImageViewTransform::isValid ( ) const
pure virtual

◆ loadState()

bool ossimImageViewTransform::loadState ( const ossimKeywordlist kwl,
const char *  prefix = 0 
)
virtual

Method to the load (recreate) the state of the object from a keyword list. Return true if ok or false on error.

Reimplemented from ossim2dTo2dTransform.

Reimplemented in ossimImageViewAffineTransform, and ossimImageViewProjectionTransform.

Definition at line 126 of file ossimImageViewTransform.cpp.

References ossim2dTo2dTransform::loadState().

Referenced by ossimImageViewTransformFactory::createTransform(), ossimImageViewProjectionTransform::loadState(), and ossimImageViewAffineTransform::loadState().

128 {
129  return ossim2dTo2dTransform::loadState(kwl, prefix);
130 }
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)

◆ print()

std::ostream & ossimImageViewTransform::print ( std::ostream &  out) const
virtual

Generic print method.

Derived classes should re-implement as they see fit.

Returns
std::ostream&

Reimplemented from ossim2dTo2dTransform.

Reimplemented in ossimImageViewProjectionTransform.

Definition at line 324 of file ossimImageViewTransform.cpp.

Referenced by operator<<().

325 {
326  return out;
327 }

◆ saveState()

bool ossimImageViewTransform::saveState ( ossimKeywordlist kwl,
const char *  prefix = 0 
) const
virtual

Method to save the state of the object to a keyword list. Return true if ok or false on error.

Reimplemented from ossim2dTo2dTransform.

Reimplemented in ossimImageViewAffineTransform, and ossimImageViewProjectionTransform.

Definition at line 132 of file ossimImageViewTransform.cpp.

References ossim2dTo2dTransform::saveState().

Referenced by ossimImageRenderer::saveState(), ossimImageViewProjectionTransform::saveState(), and ossimImageViewAffineTransform::saveState().

134 {
135  return ossim2dTo2dTransform::saveState(kwl, prefix);
136 }
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const

◆ viewToImage() [1/2]

void ossimImageViewTransform::viewToImage ( const ossimDpt viewPoint,
ossimDpt imagePoint 
) const
virtual

◆ viewToImage() [2/2]

ossimDpt ossimImageViewTransform::viewToImage ( const ossimDpt viewPoint) const

Definition at line 50 of file ossimImageViewTransform.cpp.

References viewToImage().

51 {
52  ossimDpt tempPt;
53 
54  viewToImage(viewPoint, tempPt);
55 
56  return tempPt;
57 }
virtual void viewToImage(const ossimDpt &viewPoint, ossimDpt &imagePoint) const

Friends And Related Function Documentation

◆ operator<<

OSSIMDLLEXPORT ostream& operator<< ( ostream &  out,
const ossimImageViewTransform data 
)
friend

The documentation for this class was generated from the following files: