Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
RawImportDialog Class Reference

Dialog for raw import. More...

#include <RawImport.h>

Inheritance diagram for RawImportDialog:
Inheritance graph

Public Member Functions

 RawImportDialog (wxWindow *parent, HuginBase::Panorama *pano, std::vector< std::string > &rawFiles)
 Constructor, read from xrc ressource; restore last uses settings and position. More...
 
 ~RawImportDialog ()
 destructor, saves position More...
 
PanoCommand::PanoCommandGetPanoCommand ()
 return PanoCommand for adding converted raw files to Panorama More...
 
bool CheckRawFiles ()
 return true, if all raw files are from the same camera More...
 

Protected Member Functions

void OnOk (wxCommandEvent &e)
 called when dialog is finished and does the conversion More...
 
void OnSelectRTProcessingProfile (wxCommandEvent &e)
 
void OnRawConverterSelected (wxCommandEvent &e)
 

Private Member Functions

void FillImageChoice ()
 fill list with image names More...
 

Private Attributes

HuginBase::Panoramam_pano
 
wxArrayString m_rawImages
 
wxArrayString m_images
 
PanoCommand::PanoCommandm_cmd =NULL
 

Detailed Description

Dialog for raw import.

Definition at line 34 of file RawImport.h.

Constructor & Destructor Documentation

RawImportDialog::RawImportDialog ( wxWindow *  parent,
HuginBase::Panorama pano,
std::vector< std::string > &  rawFiles 
)

Constructor, read from xrc ressource; restore last uses settings and position.

Definition at line 596 of file RawImport.cpp.

References huginApp::Get(), HUGIN_CONV_FILENAME, m_pano, m_rawImages, OnOk(), OnRawConverterSelected(), OnSelectRTProcessingProfile(), and RestoreFramePosition().

RawImportDialog::~RawImportDialog ( )

destructor, saves position

Definition at line 651 of file RawImport.cpp.

References StoreFramePosition().

Member Function Documentation

bool RawImportDialog::CheckRawFiles ( )

return true, if all raw files are from the same camera

Definition at line 661 of file RawImport.cpp.

References FillImageChoice(), HUGIN_CONV_FILENAME, and m_rawImages.

Referenced by PanoOperation::AddImageOperation::GetInternalCommand(), PanoDropTarget::OnDropFiles(), and huginApp::OnInit().

void RawImportDialog::FillImageChoice ( )
private

fill list with image names

Definition at line 925 of file RawImport.cpp.

References m_rawImages.

Referenced by CheckRawFiles().

PanoCommand::PanoCommand * RawImportDialog::GetPanoCommand ( )

return PanoCommand for adding converted raw files to Panorama

Definition at line 656 of file RawImport.cpp.

References m_cmd.

Referenced by PanoOperation::AddImageOperation::GetInternalCommand(), PanoDropTarget::OnDropFiles(), and huginApp::OnInit().

void RawImportDialog::OnOk ( wxCommandEvent &  e)
protected

called when dialog is finished and does the conversion

Definition at line 768 of file RawImport.cpp.

References hugin_utils::FileExists(), HuginBase::Panorama::getNrOfImages(), HUGIN_CONV_FILENAME, m_cmd, m_images, m_pano, m_rawImages, and PanoCommand::PanoCommand::setName().

Referenced by RawImportDialog().

void RawImportDialog::OnRawConverterSelected ( wxCommandEvent &  e)
protected

Definition at line 896 of file RawImport.cpp.

Referenced by RawImportDialog().

void RawImportDialog::OnSelectRTProcessingProfile ( wxCommandEvent &  e)
protected

Definition at line 886 of file RawImport.cpp.

Referenced by RawImportDialog().

Member Data Documentation

PanoCommand::PanoCommand* RawImportDialog::m_cmd =NULL
private

Definition at line 58 of file RawImport.h.

Referenced by GetPanoCommand(), and OnOk().

wxArrayString RawImportDialog::m_images
private

Definition at line 57 of file RawImport.h.

Referenced by OnOk().

HuginBase::Panorama* RawImportDialog::m_pano
private

Definition at line 55 of file RawImport.h.

Referenced by OnOk(), and RawImportDialog().

wxArrayString RawImportDialog::m_rawImages
private

Definition at line 56 of file RawImport.h.

Referenced by CheckRawFiles(), FillImageChoice(), OnOk(), and RawImportDialog().


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