//FIND THE INTERSECTIONS BETWEEN THE CIRCLE AND THE CONTOUR
int j,jj;
bool interRad = false;
- double m1, /*mn=0,*/ m2,xinter,yinter,xmin,ymin,min,dist;
+ double m1, /*mn=0,*/ m2,xinter,yinter,xmin,ymin,min,dist; // JPRx
_intercircleX.clear();
_intercircleY.clear();
_intercircleDist.clear();
tempX.clear();
tempY.clear();
int i,j,k;
- //double dist1,dist2;
+ //double dist1,dist2; // JPRx
//EED 22 Sep 2008
// FILE *fd;
/*
PossibleIntersections(InX,InY,InZ);
IntersectionPoints();
ErrorBetweenContours();
- //double promIn = vf->promVector(&_errorvector,false);
+ //double promIn = vf->promVector(&_errorvector,false); // JPRx
std::vector<double> tempX;
std::vector<double> tempY;
double promactual;
int posact;
- //int pos1;
- //double prom1final;
+ //int pos1; // JPRx
+ //double prom1final; // JPRx
int pos2;
double prom2final;
Program: wxMaracas
Module: $RCSfile: wxMPRWidget.cxx,v $
Language: C++
- Date: $Date: 2008/11/14 15:57:07 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2008/11/14 16:16:32 $
+ Version: $Revision: 1.4 $
Copyright: (c) 2002, 2003
License:
int i,size=_lstId.size();
for (i=0; i<size;i++)
{
- //idAlBeRa *tmp=_lstId[i];
+ //idAlBeRa *tmp=_lstId[i]; // JPRx
if ((_lstId[i]->_radio==radio) && (_lstId[i]->_deltavoxel==_delta))
{
return _lstId[i]->_id;
bool vtkInteractorStylePlane2D::OnRightButtonUp() // virtual
{
if (_stateRotate==true){
- //vtkPlane2DView *vtkplane2Dview = (vtkPlane2DView*)(_vtkInteractorStyleBaseView->GetWxVtk2DBaseView());
+ //vtkPlane2DView *vtkplane2Dview = (vtkPlane2DView*)(_vtkInteractorStyleBaseView->GetWxVtk2DBaseView()); // JPRx
// EED Borrame
// vtkplane2Dview->RotationEnd();
double x = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[0];
double y = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[1];
double z = 1;
- //double xx = x;
- //double yy = y;
+ //double xx = x; // JPRx
+ //double yy = y; // JPRx
_vtkInteractorStyleBaseView->TransformCoordinate(x,y,z);
/*EED Borrame
//wxVtk2DBaseView::Refresh();
- //vtkImageViewer2 *IV2=_imageViewer2XYZ->GetVtkImageViewer2();
- //vtkCamera *camera = IV2->GetRenderer()->GetActiveCamera();
+ //vtkImageViewer2 *IV2=_imageViewer2XYZ->GetVtkImageViewer2(); // JPRx
+ //vtkCamera *camera = IV2->GetRenderer()->GetActiveCamera(); // JPRx
std::vector<double> *ctfunVectorGreen = this->_wxvtkmpr3Dview->GetVtkMPR3DDataViewer()->GetctFunVectorGreen();
std::vector<double> *ctfunVectorBlue = this->_wxvtkmpr3Dview->GetVtkMPR3DDataViewer()->GetctFunVectorBlue();
- //void *p=this->_wxvtkmpr3Dview->GetVtkMPR3DDataViewer();
+ //void *p=this->_wxvtkmpr3Dview->GetVtkMPR3DDataViewer(); // JPRx
int i=0,xi,r,g,b;
wxFlexGridSizer *sizerH1 = new wxFlexGridSizer(20);
wxFlexGridSizer *sizerH2 = new wxFlexGridSizer(10);
wxFlexGridSizer *sizerH3 = new wxFlexGridSizer(10);
- //wxFlexGridSizer *sizerH4 = new wxFlexGridSizer(10);
- //wxFlexGridSizer *sizerH5 = new wxFlexGridSizer(10);
- //wxFlexGridSizer *sizerH6 = new wxFlexGridSizer(10);
+ //wxFlexGridSizer *sizerH4 = new wxFlexGridSizer(10); // JPRx
+ //wxFlexGridSizer *sizerH5 = new wxFlexGridSizer(10); // JPRx
+ //wxFlexGridSizer *sizerH6 = new wxFlexGridSizer(10); // JPRx
sizerH0->Add( ckVolum , 1, wxALL|wxEXPAND, 0);
sizerH0->Add( new wxStaticText(panel, -1,_T(" ")) , 1, wxALL|wxEXPAND, 0);
void wxVtkClipping3DViewCntrlPanel::OnBtnVolumeFunctions(wxCommandEvent& event)
{
- int /*i=0,*/ xi,yi,r,g,b;
+ int /*i=0,*/ xi,yi,r,g,b; // JPRx
vtkColorTransferFunction* ctfun = this->_wxvtkclipping3Dview->GetVtkClipping3DDataViewer()->GetColorTransferenceFunction();
vtkPiecewiseFunction* tfun = this->_wxvtkclipping3Dview->GetVtkClipping3DDataViewer()->GetTransferencefunction();
std::vector<double>* gtf = this->_wxvtkclipping3Dview->GetVtkClipping3DDataViewer()->GetGreyValuesTransferenceFVector();
double spc[3];
this->GetVtkMPR3DDataViewer()->GetVtkMPRBaseData()->GetImageData()->GetSpacing(spc);
- //double nx=1,ny=0,nz=0;
+ //double nx=1,ny=0,nz=0; // JPRx
Refresh();
double x=GetVtkMPR3DDataViewer ()->GetVtkMPRBaseData()->GetX();
double y=GetVtkMPR3DDataViewer ()->GetVtkMPRBaseData()->GetY();
bool vtkInteractorScrollZ::OnMouseMove ()
{
if (_stateFordware==true){
- //int fx = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[0];
+ //int fx = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[0]; // JPRx
int fy = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[1];
int delta = (_fordwareY - fy)/3;
_vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->SetActualSlice( _sliceZ + delta);
// this->vtkInteractorStyleTrackballCamera::OnMouseMove();
- // int x = this->Interactor->GetEventPosition()[0];
- // int y = this->Interactor->GetEventPosition()[1];
+ // int x = this->Interactor->GetEventPosition()[0]; // JPRx
+ // int y = this->Interactor->GetEventPosition()[1]; // JPRx
// vtkRenderWindowInteractor *rwi = this->Interactor;
- // int lx = rwi->GetLastEventPosition()[0];
- // int ly = rwi->GetLastEventPosition()[1];
- // int dx = rwi->GetEventPosition()[0] ;
- // int dy = rwi->GetEventPosition()[1] ;
+ // int lx = rwi->GetLastEventPosition()[0]; // JPRx
+ // int ly = rwi->GetLastEventPosition()[1]; // JPRx
+ // int dx = rwi->GetEventPosition()[0] ; // JPRx
+ // int dy = rwi->GetEventPosition()[1] ; // JPRx
switch (this->State)