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. | |
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 |
Simple Wxwidgets interface to select file(s) or directory or from creaImageIO database to display. | |
Variables | |
const int | ID_COMBO = 180 |
const int | icon_number = 11 |
typedef std::map<std::string, std::string> creaImageIO::mapInfoDicom |
Definition at line 35 of file creaImageIOGimmickView.h.
anonymous enum |
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 33 of file creaImageIOWxGimmickView.cpp.
{
enum creaImageIO::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 |
Definition at line 52 of file creaImageIOWxGimmickView.cpp.
{
void creaImageIO::deleteGimmickDebugMessage | ( | ) | [inline] |
Definition at line 51 of file creaImageIOSystem.h.
{
delete crea::MessageManager::GetInstance();
}
char* creaImageIO::format_sql | ( | const std::string & | s | ) |
Definition at line 190 of file creaImageIOSQLiteTreeHandler.cpp.
{ return sqlite3_mprintf("%q",s.c_str()); }
std::string creaImageIO::irclean | ( | const std::string & | str | ) |
Definition at line 82 of file creaImageIODicomImageReader2.cpp.
std::ostream& creaImageIO::operator<< | ( | std::ostream & | s, | |
const IndexedHeap< T, CT, IT > & | t | |||
) |
Definition at line 10 of file creaImageIOIndexedHeap.h.
{
std::ostream& creaImageIO::operator<< | ( | std::ostream & | , | |
const IndexedHeap< T, C, I > & | ||||
) |
bool creaImageIO::ReadHeader | ( | FILE * | Ultrasonix_file, | |
Ultrasonix_header & | h | |||
) |
Definition at line 34 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().
{ //int *header=(int*)malloc(sizeof(int)*HEADER_SIZE); int header[HEADER_SIZE]; fread(header, sizeof(int), HEADER_SIZE, Ultrasonix_file); if (ferror(Ultrasonix_file)) return false; h.type = header[1]; h.frame = header[2]; h.height = header[3]; h.width = header[4]; h.frequency = header[14]; h.samplingRate = header[15];
void creaImageIO::RegisterGimmickMessageTypes | ( | ) | [inline] |
Definition at line 25 of file creaImageIOSystem.h.
Referenced by creaImageIO::Gimmick::Gimmick(), SetGimmickDebugMessageLevel(), and SetGimmickMessageLevel().
{ static bool first_time = true; if (first_time) { crea::MessageManager::RegisterMessageType("Gimmick!", "Gimmick",1); crea::MessageManager::RegisterMessageType("Gimmick! DEBUG", "Gimmick",0); first_time = false; } }
void creaImageIO::SetGimmickDebugMessageLevel | ( | int | l | ) | [inline] |
Definition at line 44 of file creaImageIOSystem.h.
References RegisterGimmickMessageTypes().
Referenced by myApp::OnInit(), and creaImageIO::Gimmick::SetDebugMessageLevel().
{ RegisterGimmickMessageTypes(); crea::MessageManager::SetMessageLevel("Gimmick! DEBUG",l); }
void creaImageIO::SetGimmickMessageLevel | ( | int | l | ) | [inline] |
Definition at line 38 of file creaImageIOSystem.h.
References RegisterGimmickMessageTypes().
Referenced by myApp::OnInit(), and creaImageIO::Gimmick::SetMessageLevel().
{ RegisterGimmickMessageTypes(); crea::MessageManager::SetMessageLevel("Gimmick!",l); }
void creaImageIO::SplitExtensionsString | ( | const std::string & | str, | |
const std::string & | delimiters, | |||
std::vector< std::string > & | tokens | |||
) |
Definition at line 79 of file creaImageIOVtkImageReader.cpp.
Referenced by creaImageIO::VtkImageReader::PushBackExtensions().
{ // Skip delimiters at beginning. std::string::size_type lastPos = str.find_first_not_of(delimiters, 0); // Find first delimiter. std::string::size_type pos = str.find_first_of(delimiters, lastPos); while (std::string::npos != pos || std::string::npos != lastPos) { // Found a token, add it to the vector. // SPECIFIC : REMOVE INITIAL DOT (lastPos + 1) tokens.push_back(str.substr(lastPos+1, pos - lastPos)); // Skip delimiters. Note the "not_of" lastPos = str.find_first_not_of(delimiters, pos); // Find next delimiter pos = str.find_first_of(delimiters, lastPos); } }
void creaImageIO::SQLformat | ( | std::string | i_str, | |
std::string & | o_str | |||
) |
Definition at line 540 of file creaImageIOSQLiteTreeHandler.cpp.
Referenced by creaImageIO::SQLiteTreeHandler::SQLAppendAttributesValues().
{ // quote must be doubled boost::algorithm::replace_all(i_str,"'","''"); // Found strange strings which contained NULL char INSIDE string int i,size=i_str.size(); for (i=0;i<size;++i) { if (i_str[i]==0) { i_str = i_str.substr(0,i); break; } } o_str = i_str; }
const int creaImageIO::icon_number = 11 |
Definition at line 50 of file creaImageIOWxGimmickView.cpp.
const int creaImageIO::ID_COMBO = 180 |
Definition at line 10 of file creaImageIOWxAttributeSelectionPanel.cpp.
Referenced by creaImageIO::WxAttributeSelectionPanel::WxAttributeSelectionPanel(), and creaImageIO::WxEditFieldsPanel::WxEditFieldsPanel().