* returns true if the user clicked 'Ok', false if 'Cancel'
* and fills the vector of images
*/
- bool GimmickReaderDialog(std::vector<vtkImageData*>& images,
+ bool __declspec(dllexport) GimmickReaderDialog(std::vector<vtkImageData*>& images,
const std::string& title = "Select images",
int posx = 0, int posy = 0,
int sizex = 1200, int sizey = 800,
nC=nC+1;
std::stringstream out;
out <<nC;
- SetAttribute(parent,"D1111_0011",out.str());
+ SetAttribute(parent,"NumberOfChildren",out.str());
}
return (parent->GetLevel()+1);
{
std::stringstream out;
out <<nC;
- SetAttribute(parent,"D1111_0011",out.str());
+ SetAttribute(parent,"NumberOfChildren",out.str());
}
else
{
if(level<GetTree().GetNumberOfLevels()&& level>0)
{
- std::string query = "SELECT D1111_0011 FROM ";
+ std::string query = "SELECT NumberOfChildren FROM ";
query += GetTree().GetLevelDescriptor(level).GetName();
if (level>0)
{
// Patient level
Add(LevelDescriptor("Patient"));
- Add(AttributeDescriptor(0x1111,0x0011, // Number of Series
- AttributeDescriptor::LABEL),1);
+ Add(AttributeDescriptor("NumberOfChildren","#Series",0),1); // Number of Series
Add(AttributeDescriptor(0x0010,0x0010, // Patient name
AttributeDescriptor::LABEL),1);
Add(AttributeDescriptor(0x0010,0x0040),1); // Patient sex
// Study-series level
Add(LevelDescriptor("Series"));
- Add(AttributeDescriptor(0x1111,0x0011, // Number of Images
- AttributeDescriptor::LABEL),2);
+ Add(AttributeDescriptor("NumberOfChildren","#Images",0),2); // Number of images
Add(AttributeDescriptor(0x0008,0x0060, // Modality
AttributeDescriptor::LABEL),2);
Add(AttributeDescriptor(0x0008,0x1030),2); // Study Description
AddFile( itr->string() );
}
mProgressSignal(mProgress);
- if (mProgress.GetStop()) break;
- }
+ if (mProgress.GetStop())
+ {
+ itr = end_itr;
+// break;
+ }
+ }
}
}
*/
//=====================================================================
//=====================================================================
- class /*CREAIMAGEIO_EXPORT*/ WxGimmickFrame : public wxFrame
+ class CREAIMAGEIO_EXPORT WxGimmickFrame : public wxFrame
{
public:
WxGimmickFrame();
//=====================================================================
//=====================================================================
- class /*CREAIMAGEIO_EXPORT*/ WxGimmickReaderDialog : public wxDialog
+ class CREAIMAGEIO_EXPORT WxGimmickReaderDialog : public wxDialog
{
public:
WxGimmickReaderDialog();
//TODO Select current tree handler
wxBusyCursor busy;
GetTreeViewMap()["Local database"]->RemoveSelected();
+
ClearSelection();
}
//=================================================
-FILE(GLOB PAGES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.html")
+FILE(GLOB PAGES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.htm")
+
+MESSAGE("DOXYGEN HTML PAGES = ${PAGES}")
FOREACH(PAGE ${PAGES})
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/${PAGE}
${PROJECT_BINARY_DIR}/doxygen/${PAGE}
IMMEDIATE
)
+ MESSAGE("COPYING ${PAGE} TO ${PROJECT_BINARY_DIR}/doxygen/${PAGE}")
ENDFOREACH(PAGE)
CONFIGURE_FILE(
\htmlonly
<H2>Architecture Description (v2)</H2>
<br>
-<a href="../../Architecture.htm"> Architecture </a>
+<a href="Architecture.htm"> Architecture </a>
<br>
<H2>Diagrams of the architecture</H2>
<br>
-<a href="../../ClassDiagram.htm"> Class Diagram </a>
+<a href="ClassDiagram.htm"> Class Diagram </a>
<br>
-<a href="../../ComponentDiagram.htm"> Component Diagram </a>
+<a href="ComponentDiagram.htm"> Component Diagram </a>
<br>
-<a href="../../LayerDiagram.htm"> Layer Diagram </a>
+<a href="LayerDiagram.htm"> Layer Diagram </a>
<br>
<H2>Sequence Diagrams</H2>
<br>
-<a href="../../SeqAddFile.htm"> On "Add Files" to a database </a>
+<a href="SeqAddFile.htm"> On "Add Files" to a database </a>
<br>
-<a href="../../SeqAddDir.htm"> On "Add Directories" to a database </a>
+<a href="SeqAddDir.htm"> On "Add Directories" to a database </a>
<br>
-<a href="../../SeqRemove.htm"> On "Remove Files" from database </a>
+<a href="SeqRemove.htm"> On "Remove Files" from database </a>
<br>
-<a href="../../SeqCreateDB.htm"> On "Create a database" </a>
+<a href="SeqCreateDB.htm"> On "Create a database" </a>
<br>
-<a href="../../SeqSelChanged.htm"> On "Selection has changed" </a>
+<a href="SeqSelChanged.htm"> On "Selection has changed" </a>
<br>
-<a href="../../SeqGetImages.htm"> On "Get Selected Images as VTK structures" </a>
+<a href="SeqGetImages.htm"> On "Get Selected Images as VTK structures" </a>
<br>
\endhtmlonly