Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LayoutRemapper.h
Go to the documentation of this file.
1 // -*- c-basic-offset: 4 -*-
24 #ifndef LAYOUT_REMAPPER_H
25 #define LAYOUT_REMAPPER_H
26 
27 #include "MeshRemapper.h"
28 
33 {
34 public:
37  virtual void UpdateAndResetIndex();
38  virtual bool GetNextFaceCoordinates(Coords *result);
45  void setScale(double scale);
46 private:
47  double m_layoutScale;
48  bool done;
50 };
51 
52 #endif
An abstract base class for objects that calculate an approximate remap specified by quadrilatrials...
Definition: MeshRemapper.h:43
void setScale(double scale)
Set the size to draw the images.
A class for exchanging pointers to coordinates.
Definition: MeshRemapper.h:60
HuginBase::SrcPanoImage * image
Definition: MeshRemapper.h:85
LayoutRemapper(HuginBase::Panorama *m_pano, HuginBase::SrcPanoImage *image, VisualizationState *visualization_state)
VisualizationState * visualization_state
Definition: MeshRemapper.h:83
Draw undistored images, but with the correct centre position.
Model for a panorama.
Definition: Panorama.h:152
virtual void UpdateAndResetIndex()
float scale
The number number of units between vertex coorinates that gives a pixel in the display.
Definition: MeshRemapper.h:89
double m_layoutScale
virtual bool GetNextFaceCoordinates(Coords *result)
Get the texture and vertex coordinates for the next face.
ArrayCoords face
All variables of a source image.
Definition: SrcPanoImage.h:194
HuginBase::Panorama * m_pano
Definition: MeshRemapper.h:84
A class for exchanging coordinates by value.
Definition: MeshRemapper.h:70