../lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour
../lib/maracasVisuLib/src/CutModule/interface
../lib/maracasVisuLib/src/CutModule/kernel
+ ../lib/maracasVisuLib/src/CutModule2/interface
+ ../lib/maracasVisuLib/src/CutModule2/kernel
### ${MaracasSrcDir}/ILPD/src/wxInterface
)
#===========================================================================
creaMaracasVisu
creaMaracasVisu_CutModule_interface
creaMaracasVisu_CutModule_kernel
+ creaMaracasVisu_CutModule2_interface
+ creaMaracasVisu_CutModule2_kernel
### ILPDModel.lib
### ILPDInterface
### ILPDcontrolerInterface
SUBDIRS(CutModule)
+SUBDIRS(CutModule2)
Program: wxMaracas
Module: $RCSfile: wxMaracasMultipleVolumeRendererManager.cxx,v $
Language: C++
- Date: $Date: 2009/11/17 10:22:26 $
- Version: $Revision: 1.7 $
+ Date: $Date: 2009/11/18 13:13:25 $
+ Version: $Revision: 1.8 $
Copyright: (c) 2002, 2003
License:
{
data->setId(idTP);
}
- printf("wxMaracasMultipleVolumeRendererManager::addVolume->idVolumeRenderer: %i", data->getId());
+ printf("wxMaracasMultipleVolumeRendererManager::addVolume->idVolumeRenderer: %i\n", data->getId());
return data->getId();
}else{
throw "Check mhd imagefile file or input";
**/
void wxMaracasMultipleVolumeRendererPanel::onViewImage(wxCommandEvent& event)
{
- printf("wxMaracasMultipleVolumeRendererPanel->onViewImage: Test View Image");
- vtkImageData* img = (wxMaracasRendererView::getInstance())->getTabbedPanel(this->_propid)->getVolImage(_propid);
+ printf("wxMaracasMultipleVolumeRendererPanel->onViewImage: Test View Image /n");
+ vtkImageData* img = (wxMaracasRendererView::getInstance())->getTabbedPanel(_propid)->getVolImage();
/*wxMaracasDialog_NViewers* dialog = new wxMaracasDialog_NViewers(this);
std::vector<int> type;
wxMaracasMultipleVolumeRendererView::getInstance()->addRemoveActor(this->getPropId(), checkbox->GetValue());
}
-
/**
** Gets the propId
**/
if(inImg == NULL)
{
- //std::string s = std::string(pathfile.mb_str());
vtkImageData* img = volmanager->getImageData(pathfile);
vtkImageData* img1 = surrendmanager1->getImageData(pathfile);
vtkImageData* img2 = surrendmanager2->getImageData(pathfile);
vtkImageData* img3 = surrendmanager3->getImageData(pathfile);
if(img!=NULL && img1!=NULL && img2!=NULL && img3!=NULL)
{
- //s = std::string(filename.mb_str());
addVolume(img, filename);
addSurface1(img1, filename);
addSurface2(img2, filename);
}
else
{
- //s = std::string(filename.mb_str());
addVolume(inImg, filename);
addSurface1(inImg, filename);
addSurface2(inImg, filename);
/**
**
**/
-vtkImageData* wxMaracasRenderTabbedPanel::getVolImage(int id)
+vtkImageData* wxMaracasRenderTabbedPanel::getVolImage()
{
return volmanager->getImageData();
}
/**
** Gets surface rendering A image asociated to the given ID
**/
-vtkImageData* wxMaracasRenderTabbedPanel::getSurfAImage(int id)
+vtkImageData* wxMaracasRenderTabbedPanel::getSurfAImage()
{
return surrendmanager1->getImageData();
}
/**
** Gets surface rendering B image asociated to the given ID
**/
-vtkImageData* wxMaracasRenderTabbedPanel::getSurfBImage(int id)
+vtkImageData* wxMaracasRenderTabbedPanel::getSurfBImage()
{
return surrendmanager2->getImageData();
}
/**
** Gets surface rendering C image asociated to the given ID
**/
-vtkImageData* wxMaracasRenderTabbedPanel::getSurfCImage(int id)
+vtkImageData* wxMaracasRenderTabbedPanel::getSurfCImage()
{
return surrendmanager3->getImageData();
}
int wxMaracasRenderTabbedPanel::getPropIdV()
{
return _id;
-}
-
-/**
-**
-**/
-int wxMaracasRenderTabbedPanel::getPropIdSA()
-{
- return -1;
-}
-
-/**
-**
-**/
-int wxMaracasRenderTabbedPanel::getPropIdSB()
-{
- return -1;
-}
-
-/**
-**
-**/
-int wxMaracasRenderTabbedPanel::getPropIdSC()
-{
- return -1;
}
\ No newline at end of file
void onColorChange(wxCommandEvent& event);
void onOpenCutter(wxCommandEvent& event);
- vtkImageData* getVolImage(int id);
- vtkImageData* getSurfAImage(int id);
- vtkImageData* getSurfBImage(int id);
- vtkImageData* getSurfCImage(int id);
+ vtkImageData* getVolImage();
+ vtkImageData* getSurfAImage();
+ vtkImageData* getSurfBImage();
+ vtkImageData* getSurfCImage();
int getPropIdV();
- int getPropIdSA();
- int getPropIdSB();
- int getPropIdSC();
private:
wxCheckBox* checkboxVol;
** Loads the volume in a separate window
**/
void wxMaracasSurfaceRenderingProp3D::onViewImage(wxCommandEvent& event){
- printf("wxMaracasSurfaceRenderingProp3D->onViewImage: Test View Image");
- vtkImageData* image = ((wxMaracasRendererView::getInstance())->getTabbedPanel(this->_propid))->getVolImage(this->_propid);
-
-}
+ printf("wxMaracasSurfaceRenderingProp3D->onViewImage: Test View Image \n");
+ vtkImageData* image = ((wxMaracasRendererView::getInstance())->getTabbedPanel(this->_propid))->getVolImage();
+
+}
\ No newline at end of file