std::vector<vtkImageData*> images;
- //creaImageIO::WxGimmickDialog w(0,-1,_T("WxGimmickDialog test"),wxDefaultPosition,wxSize(1200,800),max_image_type,threads);
-
- creaImageIO::WxGimmickReaderDialog w(0,-1,_T("WxGimmickDialog test"),wxDefaultPosition,wxSize(1200,800),min_image_type,max_image_type,output_dim,threads);
+ creaImageIO::WxGimmickReaderDialog w(0,
+ -1,
+ "creaContours_Descriptor.dscp",
+ "creatisContours DB",
+ _T("WxGimmickDialog test"),
+ wxDefaultPosition,wxSize(1200,800)
+ ,min_image_type,
+ max_image_type,
+ output_dim,
+ threads);
+
w.ShowModal();
+
//JCP
//std::string datadir( crea::wx2std(GetExecutablePath()) );
std::string datadir( GetExecutablePath() );
CREA_CPDIR(${INPUT_DATA_DIR} ${OUTPUT_DATA_DIR})
ENDIF(WIN32)
+SET(FILE_NAME_DESCRIPTOR "creaContours_Descriptor.dscp")
+CONFIGURE_FILE( ${PROJECT_SOURCE_DIR}/data/${FILE_NAME_DESCRIPTOR} ${PROJECT_BINARY_DIR}/bin/Shared/gimmick/${FILE_NAME_DESCRIPTOR} COPYONLY )
+INSTALL( FILES ${PROJECT_SOURCE_DIR}/data/${FILE_NAME_DESCRIPTOR} DESTINATION bin/Shared/gimmick )
+
+
ENDFOREACH(iLST)
+
+
#SET(CPACK_PACKAGE_INSTALL_DIRECTORY "CreaTools\\\\creaContours-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
fprintf(pFileData,"--CreaContour--\n");
fprintf(pFileData,"Version %s\n", "1.0.2" );
fprintf(pFileData,"OnePixelSize %f\n", _onePixelSize);
- std::cout<<"Valor de un pixel: "<<_onePixelSize<<std::endl;
//------------------------------------------------------------------------------------------------------------
void wxContourViewPanel::onBrigthnessColorWindowLevel(int colorwindow,int windowlevel){
wxVtk2DBaseView *wxvtk2dbaseview = (wxVtk2DBaseView*)getWxVtkBaseView();
vtkImageViewer2 *imageviewer = wxvtk2dbaseview->_imageViewer2XYZ->GetVtkImageViewer2();
- //AMP//imageviewer->SetColorWindow(colorwindow);
- //AMP//imageviewer->SetColorLevel(windowlevel);
+ imageviewer->SetColorWindow(colorwindow);
+ imageviewer->SetColorLevel(windowlevel);
}
void wxContourViewPanel::onInterpolation(bool interpolate){