23 #ifndef _MESHREMAPPER_H
24 #define _MESHREMAPPER_H
bool GiveClipFaceResult(Coords *result)
Get a face that was produced by ClipFace.
An abstract base class for objects that calculate an approximate remap specified by quadrilatrials...
double circle_crop_centre_y
std::vector< MeshRemapper::ArrayCoords > face_list
List for results when clipping faces.
A class for exchanging pointers to coordinates.
HuginBase::SrcPanoImage * image
HuginBase::SrcPanoImage::CropMode crop_mode
Crop mode of the source image.
virtual void UpdateAndResetIndex()
double(* tex_c)[2][2]
The coordinate in the source image ranging from 0 to 1.
virtual bool GetNextFaceCoordinates(Coords *result)=0
Get the texture and vertex coordinates for the next face.
VisualizationState * visualization_state
void ClipFace(Coords *face)
Crop a face to the source image, return true if there is anything left.
void SetCrop()
Fill the crop values of the MeshRemapper from the source image.
double height
The sizes of the input images in pixels.
float scale
The number number of units between vertex coorinates that gives a pixel in the display.
double circle_crop_radius_x
double circle_crop_radius_y
MeshRemapper(HuginBase::Panorama *m_pano, HuginBase::SrcPanoImage *image, VisualizationState *visualization_state)
HuginBase::PTools::Transform transform
A transform to use to remap the images.
double circle_crop_centre_x
double(* vertex_c)[2][2]
The coordinate in the panorama, in its pixel space.
All variables of a source image.
HuginBase::Panorama * m_pano
A class for exchanging coordinates by value.