creaImageIO_lib
|
Namespaces | |
namespace | tree |
Classes | |
class | AbstractImageReader |
Abstract image reader. More... | |
class | DicomImageReader |
Concrete image reader for DICOM images. More... | |
class | DicomImageScanner |
Concrete image reader for DICOM images. More... | |
struct | OutputAttr |
Central controler of the gimmick application. More... | |
class | Gimmick |
class | ImageExtent |
Class used to represent the actual state of the image selected and to perform comparisons on its values. More... | |
struct | OutStrGimmick |
class | GimmickView |
Abstract class that handles views, attributes and previews (GUI) for Gimmick. More... | |
class | ImagePointerHolder |
class | ImageReader |
Generic image reader which uses all the specific concrete image reader of the lib (tif, jpg, dicom, ...) More... | |
class | IndexedHeap |
Indexed priority queues handled by binary trees. More... | |
class | Listener |
class | ThreadedImageReader |
class | MultiThreadImageReaderUser |
class | MultiThreadImageReader |
Class that allows parallel lectures of several images. More... | |
class | OutputModel |
class | PACSConnection |
class | Settings |
class | SimpleView |
class | SQLiteTreeHandler |
Concrete TreeHandler which manages a Tree stored in a sqlite database. More... | |
class | AddList |
Represents the list of currently added files. More... | |
class | RemoveList |
Represents the list of currently removed files. More... | |
class | Synchronizer |
In charge of the synchronization of the database and the disk state. More... | |
class | TimestampDatabaseHandler |
Concrete TreeHandler which manages a Tree stored in a sqlite database. More... | |
class | TreeHandler |
Abstract class which 'handles' a Tree structure. More... | |
class | TreeHandlerImageAdder |
Object which can add images files to a TreeHandler. Is able to parse (recursively) a part of a filesystem to look for known images and load their attributes in order to add the images to a Tree (submission via a TreeHandler::AddBranch) More... | |
class | TreeView |
Abstract class that handles the view of a Tree through its TreeHandler. More... | |
struct | Ultrasonix_header |
class | UltrasonixImageReader |
Concrete image reader for ultrasonix 'rf' files. More... | |
class | VtkImageReader |
Concrete image reader based on a vtkImageReader2. More... | |
class | WxAnySimpleDlg |
Simple Wxwidgets interface to select file(s) or directory or from creaImageIO database to display. More... | |
class | WxAttributeSelectionPanel |
class | WxCustomizeConfigPanel |
class | WxDescriptorPanel |
class | WxDumpPanel |
Display all dicom tags from a given DICOM file. More... | |
class | WxEditFieldsPanel |
class | WxExportDlg |
class | WxGimmickFrame |
class | WxGimmickPanel |
class | WxGimmickReaderDialog |
class | WxGimmickTools |
class | WxGimmickView |
Concrete derivative of GimmickView which implements a wxWidgets-based view. More... | |
class | WxListenerPanel |
class | WxOutputDlg |
class | WxPACSConnectionPanel |
class | WxSimpleDlg |
Simple Wxwidgets interface to select file(s) or directory or from creaImageIO database to display. More... | |
struct | ItemData |
Data stored by the list items. More... | |
class | WxTreeView |
Abstract class that handles the view of a Tree through its TreeHandler. More... | |
class | RemoveAlertDlg |
class | WxViewerPlayer |
class | WxViewer |
Typedefs | |
typedef std::map< std::string, std::string > | mapInfoDicom |
Enumerations | |
enum | { TOOL_ADDFILES_ID = 1, TOOL_ADDDIR_ID = 2, TOOL_ADDDATABASE_ID = 3, TOOL_REMOVE_ID = 4, TOOL_SYNCHRONIZE_ID = 5, TOOL_HELP_ID = 6, TOOL_SETTINGS_ID = 7, TOOL_TOOLS_ID = 8, TOOL_CREATEDB_ID = 9, TOOL_PACS_ID = 10 } |
enum | icon_id { Icon_create_database, Icon_accept, Icon_add, Icon_folder_down, Icon_page_down, Icon_database_add, Icon_remove, Icon_synchronize, Icon_help, Icon_settings, Icon_tools } |
Functions | |
std::string | irclean (const std::string &str) |
bool | GimmickReaderDialog (std::vector< vtkImageData * > &images, const std::string i_namedescp, const std::string i_namedb="Local Database", const std::string &title="Select images", int posx=0, int posy=0, int sizex=1200, int sizey=800, int image_min_type=2, int image_max_type=3, int image_out_dim=2, int nb_threads=1) |
Pops up a WxGimmickReaderDialog returns true if the user clicked 'Ok', false if 'Cancel' and fills the vector of images. More... | |
template<class T , class C , class I > | |
std::ostream & | operator<< (std::ostream &, const IndexedHeap< T, C, I > &) |
template<class T , class CT , class IT > | |
std::ostream & | operator<< (std::ostream &s, const IndexedHeap< T, CT, IT > &t) |
char * | format_sql (const std::string &s) |
void | SQLformat (std::string i_str, std::string &o_str) |
void | RegisterGimmickMessageTypes () |
void | SetGimmickMessageLevel (int l) |
void | SetGimmickDebugMessageLevel (int l) |
void | deleteGimmickDebugMessage () |
bool | ReadHeader (FILE *Ultrasonix_file, Ultrasonix_header &h) |
void | SplitExtensionsString (const std::string &str, const std::string &delimiters, std::vector< std::string > &tokens) |
template<typename TImage > | |
class __declspec(dllexport) WxISimpleDlg | ~WxISimpleDlg () |
Simple Wxwidgets interface to select file(s) or directory or from creaImageIO database to display. More... | |
void | setExts (std::vector< std::string >) |
void | OnReadFile (wxCommandEvent &event) |
Callback to read file(s) More... | |
void | OnReadDirectory (wxCommandEvent &event) |
Callback to read directory, no recursive. More... | |
void | OnReadGimmick (wxCommandEvent &event) |
Callback to select from creaImageIO database. More... | |
std::vector< vtkImageData * > | getVtkImagesSelected () |
return a vtkImageData vector of selected images, if available More... | |
std::vector< typename TImage::Pointer > | getImagesSelected () |
return a itkImage vector of selected images, if available More... | |
wxString | getInfoImage () |
void | split4Din3Dvtk (const std::string &i_dir) |
void | split3Din3Dvtk () |
void | set (bool i_dicom) |
std::vector< boost::any > & | getAnyImages () |
void | readImg (const std::string &i_name) |
void | readDicomImg (const std::vector< std::string > &i_names) |
Variables | |
const int | ID_COMBO = 180 |
const int | icon_number = 11 |
std::vector< boost::any > | m_AnyImages |
std::vector< std::string > | m_exts |
std::string | namedescp |
std::string | namedb |
wxString | infoimage |
bool | m_dicom |
SimpleView | m_view |
interface to read data More... | |
std::vector< typename TImage::Pointer > | m_Iresults |
std::vector< vtkImageData * > | m_Vresults |
typedef std::map<std::string, std::string> creaImageIO::mapInfoDicom |
Definition at line 63 of file creaImageIOGimmickView.h.
anonymous enum |
Enumerator | |
---|---|
TOOL_ADDFILES_ID | |
TOOL_ADDDIR_ID | |
TOOL_ADDDATABASE_ID | |
TOOL_REMOVE_ID | |
TOOL_SYNCHRONIZE_ID | |
TOOL_HELP_ID | |
TOOL_SETTINGS_ID | |
TOOL_TOOLS_ID | |
TOOL_CREATEDB_ID | |
TOOL_PACS_ID |
Definition at line 79 of file creaImageIOWxGimmickView.cpp.
enum creaImageIO::icon_id |
Enumerator | |
---|---|
Icon_create_database | |
Icon_accept | |
Icon_add | |
Icon_folder_down | |
Icon_page_down | |
Icon_database_add | |
Icon_remove | |
Icon_synchronize | |
Icon_help | |
Icon_settings | |
Icon_tools |
Definition at line 98 of file creaImageIOWxGimmickView.cpp.
|
inline |
Definition at line 76 of file creaImageIOSystem.h.
char* creaImageIO::format_sql | ( | const std::string & | s | ) |
Definition at line 218 of file creaImageIOSQLiteTreeHandler.cpp.
std::vector<boost::any>& creaImageIO::getAnyImages | ( | ) |
std::vector<typename TImage::Pointer> creaImageIO::getImagesSelected | ( | ) |
return a itkImage vector of selected images, if available
wxString creaImageIO::getInfoImage | ( | ) |
std::vector<vtkImageData*> creaImageIO::getVtkImagesSelected | ( | ) |
return a vtkImageData vector of selected images, if available
Definition at line 69 of file creaImageIOWxIsimpleDlg.h.
References m_Vresults.
std::string creaImageIO::irclean | ( | const std::string & | str | ) |
Definition at line 110 of file creaImageIODicomImageReader.cpp.
Referenced by creaImageIO::DicomImageReader::ReadAttributes(), and creaImageIO::DicomImageReader::ReadAttributes2().
void creaImageIO::OnReadDirectory | ( | wxCommandEvent & | event | ) |
Callback to read directory, no recursive.
void creaImageIO::OnReadFile | ( | wxCommandEvent & | event | ) |
Callback to read file(s)
void creaImageIO::OnReadGimmick | ( | wxCommandEvent & | event | ) |
Callback to select from creaImageIO database.
std::ostream& creaImageIO::operator<< | ( | std::ostream & | s, |
const IndexedHeap< T, CT, IT > & | t | ||
) |
Definition at line 38 of file creaImageIOIndexedHeap.h.
std::ostream& creaImageIO::operator<< | ( | std::ostream & | , |
const IndexedHeap< T, C, I > & | |||
) |
|
private |
bool creaImageIO::ReadHeader | ( | FILE * | Ultrasonix_file, |
Ultrasonix_header & | h | ||
) |
Definition at line 69 of file creaImageIOUltrasonixImageReader.cpp.
References creaImageIO::Ultrasonix_header::frame, creaImageIO::Ultrasonix_header::frequency, HEADER_SIZE, creaImageIO::Ultrasonix_header::height, creaImageIO::Ultrasonix_header::samplingRate, creaImageIO::Ultrasonix_header::type, and creaImageIO::Ultrasonix_header::width.
Referenced by creaImageIO::UltrasonixImageReader::CanRead(), creaImageIO::UltrasonixImageReader::ReadAttributes(), and creaImageIO::UltrasonixImageReader::ReadImage().
|
private |
|
inline |
Definition at line 50 of file creaImageIOSystem.h.
Referenced by creaImageIO::Gimmick::Gimmick(), SetGimmickDebugMessageLevel(), and SetGimmickMessageLevel().
void creaImageIO::set | ( | bool | i_dicom | ) |
void creaImageIO::setExts | ( | std::vector< std::string > | ) |
|
inline |
Definition at line 69 of file creaImageIOSystem.h.
References RegisterGimmickMessageTypes().
Referenced by myApp::OnInit(), and creaImageIO::Gimmick::SetDebugMessageLevel().
|
inline |
Definition at line 63 of file creaImageIOSystem.h.
References RegisterGimmickMessageTypes().
Referenced by myApp::OnInit(), and creaImageIO::Gimmick::SetMessageLevel().
void creaImageIO::split3Din3Dvtk | ( | ) |
void creaImageIO::split4Din3Dvtk | ( | const std::string & | i_dir | ) |
void creaImageIO::SplitExtensionsString | ( | const std::string & | str, |
const std::string & | delimiters, | ||
std::vector< std::string > & | tokens | ||
) |
Definition at line 162 of file creaImageIOVtkImageReader.cpp.
Referenced by creaImageIO::VtkImageReader::PushBackExtensions().
void creaImageIO::SQLformat | ( | std::string | i_str, |
std::string & | o_str | ||
) |
Definition at line 568 of file creaImageIOSQLiteTreeHandler.cpp.
Referenced by creaImageIO::SQLiteTreeHandler::SQLAppendAttributesValues().
const int creaImageIO::icon_number = 11 |
Definition at line 96 of file creaImageIOWxGimmickView.cpp.
Referenced by creaImageIO::WxGimmickView::CreateIconList().
const int creaImageIO::ID_COMBO = 180 |
Definition at line 38 of file creaImageIOWxAttributeSelectionPanel.cpp.
Referenced by creaImageIO::WxAttributeSelectionPanel::WxAttributeSelectionPanel(), and creaImageIO::WxEditFieldsPanel::WxEditFieldsPanel().
wxString creaImageIO::infoimage |
Definition at line 87 of file creaImageIOWxIsimpleDlg.h.
std::vector<boost::any> creaImageIO::m_AnyImages |
Definition at line 83 of file creaImageIOWxIsimpleDlg.h.
Referenced by getAnyImages(), creaImageIO::WxAnySimpleDlg::getImagesSelected(), and creaImageIO::WxAnySimpleDlg::getTemplatedImagesSelected().
bool creaImageIO::m_dicom |
Definition at line 88 of file creaImageIOWxIsimpleDlg.h.
Referenced by creaImageIO::WxAnySimpleDlg::set(), and set().
std::vector<std::string> creaImageIO::m_exts |
Definition at line 84 of file creaImageIOWxIsimpleDlg.h.
std::vector<typename TImage::Pointer> creaImageIO::m_Iresults |
Definition at line 94 of file creaImageIOWxIsimpleDlg.h.
SimpleView creaImageIO::m_view |
interface to read data
Definition at line 90 of file creaImageIOWxIsimpleDlg.h.
std::vector<vtkImageData*> creaImageIO::m_Vresults |
Definition at line 96 of file creaImageIOWxIsimpleDlg.h.
Referenced by getVtkImagesSelected(), creaImageIO::WxAnySimpleDlg::getVtkImagesSelected(), and creaImageIO::WxAnySimpleDlg::split3Din3Dvtk().
std::string creaImageIO::namedb |
Definition at line 86 of file creaImageIOWxIsimpleDlg.h.
std::string creaImageIO::namedescp |
Definition at line 85 of file creaImageIOWxIsimpleDlg.h.