Hugintrunk
0.1
|
#include <LensCalTypes.h>
Public Member Functions | |
ImageLineList (wxString newFilename) | |
constructor More... | |
~ImageLineList () | |
destructor, cleans up More... | |
const unsigned int | GetNrOfValidLines () |
returns the number of valid lines for given image More... | |
void | SetEdgeImage (vigra::BImage *newEdgeImage) |
sets the edge detected image (old image will be deleted) More... | |
vigra::BImage * | GetEdgeImage () |
return pointer to edge image More... | |
void | SetFilename (wxString newFilename) |
sets the filename, will also regenerated the m_panoImage More... | |
const wxString | GetFilename () |
returns the filename More... | |
HuginBase::SrcPanoImage * | GetPanoImage () |
return the SrcPanoImage from the given filename More... | |
void | SetLines (HuginLines::Lines lines) |
store given lines in member variable More... | |
const HuginLines::Lines | GetLines () |
returns the list of detected lines More... | |
void | ScaleLines (double scaleFactor) |
scale all lines by given scaleFactor More... | |
Private Attributes | |
vigra::BImage * | m_edge |
pointer to edge image More... | |
HuginLines::Lines | m_lines |
list of detected lines More... | |
wxString | m_filename |
the filename More... | |
HuginBase::SrcPanoImage * | m_panoImage |
the HuginBase::SrcPanoImage, for generating the panorama class and necessary transformations More... | |
Definition at line 36 of file LensCalTypes.h.
|
explicit |
ImageLineList::~ImageLineList | ( | ) |
destructor, cleans up
Definition at line 39 of file LensCalTypes.cpp.
References m_edge, and m_panoImage.
vigra::BImage * ImageLineList::GetEdgeImage | ( | ) |
return pointer to edge image
Definition at line 64 of file LensCalTypes.cpp.
References m_edge.
Referenced by LensCalImageCtrl::SetEdgeImage().
const wxString ImageLineList::GetFilename | ( | ) |
returns the filename
Definition at line 88 of file LensCalTypes.cpp.
References m_filename.
Referenced by LensCalFrame::AddImages(), LensCalImageCtrl::GenerateRemappedImage(), and LensCalImageCtrl::SetImage().
const HuginLines::Lines ImageLineList::GetLines | ( | ) |
returns the list of detected lines
Definition at line 103 of file LensCalTypes.cpp.
References m_lines.
Referenced by LensCalImageCtrl::DrawView(), and LensCalImageCtrl::OnMouseEvent().
const unsigned int ImageLineList::GetNrOfValidLines | ( | ) |
returns the number of valid lines for given image
Definition at line 46 of file LensCalTypes.cpp.
References m_lines, and HuginLines::valid_line.
HuginBase::SrcPanoImage * ImageLineList::GetPanoImage | ( | ) |
return the SrcPanoImage from the given filename
Definition at line 93 of file LensCalTypes.cpp.
References m_panoImage.
Referenced by LensCalFrame::AddImages(), and LensCalImageCtrl::GenerateRemappedImage().
void ImageLineList::ScaleLines | ( | double | scaleFactor | ) |
scale all lines by given scaleFactor
Definition at line 108 of file LensCalTypes.cpp.
References m_lines, and HuginLines::ScaleLines().
void ImageLineList::SetEdgeImage | ( | vigra::BImage * | newEdgeImage | ) |
sets the edge detected image (old image will be deleted)
Definition at line 57 of file LensCalTypes.cpp.
References m_edge.
void ImageLineList::SetFilename | ( | wxString | newFilename | ) |
sets the filename, will also regenerated the m_panoImage
Definition at line 69 of file LensCalTypes.cpp.
References HUGIN_CONV_FILENAME, m_filename, m_panoImage, and HuginBase::SrcPanoImage::readEXIF().
Referenced by ImageLineList().
void ImageLineList::SetLines | ( | HuginLines::Lines | lines | ) |
store given lines in member variable
Definition at line 98 of file LensCalTypes.cpp.
References m_lines.
Referenced by LensCalImageCtrl::OnMouseEvent().
|
private |
pointer to edge image
Definition at line 63 of file LensCalTypes.h.
Referenced by GetEdgeImage(), ImageLineList(), SetEdgeImage(), and ~ImageLineList().
|
private |
the filename
Definition at line 67 of file LensCalTypes.h.
Referenced by GetFilename(), and SetFilename().
|
private |
list of detected lines
Definition at line 65 of file LensCalTypes.h.
Referenced by GetLines(), GetNrOfValidLines(), ScaleLines(), and SetLines().
|
private |
the HuginBase::SrcPanoImage, for generating the panorama class and necessary transformations
Definition at line 69 of file LensCalTypes.h.
Referenced by GetPanoImage(), SetFilename(), and ~ImageLineList().