From: jean-pierre roux Date: Fri, 16 Oct 2009 15:17:54 +0000 (+0000) Subject: Avoid warning : "No newline at end of file" X-Git-Tag: CREATOOLS.2-0-3~136 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=inline;h=062ae799e283a7de038b13d78eaf7d8495086378;p=creaMaracasVisu.git Avoid warning : "No newline at end of file" --- diff --git a/bbtk/src/bbcreaMaracasVisuVolumeRendering.cxx b/bbtk/src/bbcreaMaracasVisuVolumeRendering.cxx index 8d9d63f..ea08e9b 100644 --- a/bbtk/src/bbcreaMaracasVisuVolumeRendering.cxx +++ b/bbtk/src/bbcreaMaracasVisuVolumeRendering.cxx @@ -22,7 +22,7 @@ void VolumeRendering::Process() // (the one provided in the attribute 'name' of the tag 'input') // * TYPE is the C++ type of the input/output // (the one provided in the attribute 'type' of the tag 'input') - wxMaracasMultipleVolumeRendererView* volview = (wxMaracasMultipleVolumeRendererView*)bbGetOutputWidget(); + wxMaracasMultipleVolumeRendererView* volview = (wxMaracasMultipleVolumeRendererView*)bbGetOutputWidget(); vtkImageData* _img1 = bbGetInputIn1(); vtkImageData* _img2 = bbGetInputIn2(); vtkImageData* _img3 = bbGetInputIn3(); @@ -60,7 +60,7 @@ void VolumeRendering::bbUserSetDefaultValues() // SET HERE THE DEFAULT INPUT/OUTPUT VALUES OF YOUR BOX // Here we initialize the input 'In' to 0 - bbSetInputIn1(0); + bbSetInputIn1(0); bbSetInputIn2(0); bbSetInputIn3(0); bbSetInputIn4(0); @@ -81,4 +81,5 @@ void VolumeRendering::bbUserFinalizeProcessing() } } -// EO namespace bbcreaMaracasVisu \ No newline at end of file +// EO namespace bbcreaMaracasVisu + diff --git a/lib/maracasVisuLib/src/CutModule/kernel/CutModelData.cxx b/lib/maracasVisuLib/src/CutModule/kernel/CutModelData.cxx index ef0806c..ca9825a 100644 --- a/lib/maracasVisuLib/src/CutModule/kernel/CutModelData.cxx +++ b/lib/maracasVisuLib/src/CutModule/kernel/CutModelData.cxx @@ -3,8 +3,8 @@ Program: wxMaracas Module: $RCSfile: CutModelData.cxx,v $ Language: C++ - Date: $Date: 2009/09/08 08:14:27 $ - Version: $Revision: 1.3 $ + Date: $Date: 2009/10/16 15:17:56 $ + Version: $Revision: 1.4 $ Copyright: (c) 2002, 2003 License: @@ -384,4 +384,5 @@ vtkTransform* CutModelData::getModelTransformInvers(){ vtkPolyData* CutModelData::getPolyData()throw( CutModelException){ return _Mapper->GetInput(); -} \ No newline at end of file +} + diff --git a/lib/maracasVisuLib/src/CutModule/kernel/CutModelFigureCube.cxx b/lib/maracasVisuLib/src/CutModule/kernel/CutModelFigureCube.cxx index a5c7659..48b10a8 100644 --- a/lib/maracasVisuLib/src/CutModule/kernel/CutModelFigureCube.cxx +++ b/lib/maracasVisuLib/src/CutModule/kernel/CutModelFigureCube.cxx @@ -7,7 +7,7 @@ CutModelFigureCube::CutModelFigureCube() : CutModelFigure() { - _vtkcube = vtkCubeSource::New(); + _vtkcube = vtkCubeSource::New(); _vtkcube->SetXLength (1); _vtkcube->SetYLength (1); _vtkcube->SetZLength (1); @@ -45,6 +45,8 @@ char *CutModelFigureCube::GetName() // virtual { return "Cube"; } + vtkPolyData* CutModelFigureCube::getPolyData(){ return _vtkcube->GetOutput(); -} \ No newline at end of file +} + diff --git a/lib/maracasVisuLib/src/CutModule/kernel/CutModelFigureSphere.cxx b/lib/maracasVisuLib/src/CutModule/kernel/CutModelFigureSphere.cxx index 127b8ca..a0e1ee5 100644 --- a/lib/maracasVisuLib/src/CutModule/kernel/CutModelFigureSphere.cxx +++ b/lib/maracasVisuLib/src/CutModule/kernel/CutModelFigureSphere.cxx @@ -42,6 +42,8 @@ char *CutModelFigureSphere::GetName() // virtual { return "Sphere"; } + vtkPolyData* CutModelFigureSphere::getPolyData(){ return _vtksphere->GetOutput(); -} \ No newline at end of file +} + diff --git a/lib/maracasVisuLib/src/CutModule/kernel/CutModelSaveBinInfo.cxx b/lib/maracasVisuLib/src/CutModule/kernel/CutModelSaveBinInfo.cxx index 75cc799..51a514b 100644 --- a/lib/maracasVisuLib/src/CutModule/kernel/CutModelSaveBinInfo.cxx +++ b/lib/maracasVisuLib/src/CutModule/kernel/CutModelSaveBinInfo.cxx @@ -3,8 +3,8 @@ Program: wxMaracas Module: $RCSfile: CutModelSaveBinInfo.cxx,v $ Language: C++ - Date: $Date: 2009/09/08 08:14:27 $ - Version: $Revision: 1.1 $ + Date: $Date: 2009/10/16 15:17:56 $ + Version: $Revision: 1.2 $ Copyright: (c) 2002, 2003 License: @@ -108,4 +108,5 @@ vtkTransform* CutModelSaveBinInfo::getTransformFromMatrixFile()throw( CutModelEx transform->SetMatrix(matrix); return transform; -} \ No newline at end of file +} + diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/figureCuttingModel.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/figureCuttingModel.cxx index 1640461..0d3caa7 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/figureCuttingModel.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/figureCuttingModel.cxx @@ -149,4 +149,5 @@ void figureCuttingModel::SetSpacing(double spcX,double spcY, double spcZ) _spcX = spcX; _spcY = spcY; _spcZ = spcZ; -} \ No newline at end of file +} + diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramDialogComboBox.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramDialogComboBox.cxx index 47316c6..99b43ec 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramDialogComboBox.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramDialogComboBox.cxx @@ -74,7 +74,6 @@ wxSizer* HistogramDialogComboBox::getSlidersWlCo(){ Connect(_sliderwindowlevel->GetId(), wxEVT_SCROLL_THUMBTRACK, (wxObjectEventFunction)&HistogramDialogComboBox::OnWindowLevelChanged); return sizersliders; - } double HistogramDialogComboBox::GetWindowLevel(){ @@ -111,6 +110,7 @@ void HistogramDialogComboBox::setImageData(vtkImageData* img){ setSlidersValue(); } + void HistogramDialogComboBox::setSlidersValue(){ if(_img!=NULL){ if(_slidercolor!=NULL){ @@ -130,7 +130,7 @@ void HistogramDialogComboBox::OnEditBitmapCombo(wxCommandEvent& event){ bool createaddandremovecontrols = true; HistogramDialog* dialog = new HistogramDialog(this,_T("Color Configuration"),createaddandremovecontrols); - dialog->initializeHistogram(_img); + dialog->initializeHistogram(_img); dialog->setInfoPanExtraControls(_bitmapsitems); if(dialog->ShowModal()==wxID_OK){ @@ -161,6 +161,7 @@ void HistogramDialogComboBox::OnEditBitmapCombo(wxCommandEvent& event){ dialog->Destroy(); } } + void HistogramDialogComboBox::saveCurrentConfiguration(std::vector& itembitmaps,std::string filename){ std::ofstream file; diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkClipping3DDataViewer.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkClipping3DDataViewer.cxx index 2af7d10..9eb6ba5 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkClipping3DDataViewer.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkClipping3DDataViewer.cxx @@ -17,29 +17,29 @@ vtkClipping3DDataViewer::~vtkClipping3DDataViewer() { int i; for (i=0; i< VTKMPRDATA_MAXTISSUE ; i++){ - _mCubes[i] ->Delete(); - _tissueStripper[i] ->Delete(); - _tissueMapper[i] ->Delete(); - _tissuePlanes[i] ->Delete(); - _tissueClipper[i] ->Delete(); + _mCubes[i]->Delete(); + _tissueStripper[i]->Delete(); + _tissueMapper[i]->Delete(); + _tissuePlanes[i]->Delete(); + _tissueClipper[i]->Delete(); } - _outlineData ->Delete(); - _mapOutline ->Delete(); - _outline ->Delete(); + _outlineData->Delete(); + _mapOutline->Delete(); + _outline->Delete(); // Volume - _tfun ->Delete(); - _ctfun ->Delete(); - _compositeFunction ->Delete(); - _volumeMapper ->Delete(); - _volumeProperty ->Delete(); - _newvol ->Delete(); - _volumePlanes ->Delete(); + _tfun->Delete(); + _ctfun->Delete(); + _compositeFunction->Delete(); + _volumeMapper->Delete(); + _volumeProperty->Delete(); + _newvol->Delete(); + _volumePlanes->Delete(); for (i=0; i< VTKMPRDATA_MAXTISSUE ; i++){ - _tissue[i] -> Delete(); - _observerS[i] -> Delete(); + _tissue[i]-> Delete(); + _observerS[i]-> Delete(); } - _observerV -> Delete(); + _observerV-> Delete(); } //------------------------------------------------------------------- vtkActor* vtkClipping3DDataViewer::GetOutlineActor() @@ -238,8 +238,8 @@ void vtkClipping3DDataViewer::Configure_Volume() adding the poinst of the transference function */ //X - greyValuesTransferenceFVector.push_back(max * 0/2); - greyValuesTransferenceFVector.push_back(max * 1/2); + greyValuesTransferenceFVector.push_back(max * 0/2); // JPR ?? 0/2 + greyValuesTransferenceFVector.push_back(max * 1/2); // JPR ?? division entiere? greyValuesTransferenceFVector.push_back(max * 2/2); //Y intensityValuesTransferenceFVector.push_back(0.0); @@ -626,4 +626,4 @@ void vtkClipping3DDataViewer::setColorTransferFunction(vtkColorTransferFunction* _volumeProperty->SetColor(colortable); -} \ No newline at end of file +} diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkMPR3DDataViewer.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkMPR3DDataViewer.cxx index 9e0daaf..8c369ff 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkMPR3DDataViewer.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkMPR3DDataViewer.cxx @@ -24,20 +24,20 @@ vtkMPR3DDataViewer::vtkMPR3DDataViewer() //------------------------------------------------------------------- vtkMPR3DDataViewer::~vtkMPR3DDataViewer() { - _outlineData -> Delete(); - _mapOutline -> Delete(); - _outline -> Delete(); - -// if (_bwLut) _bwLut -> Delete(); -// if (_hueLut) _hueLut -> Delete(); -// if (_satLut) _satLut -> Delete(); - if (_ctfun) _ctfun -> Delete(); - if (_saggitalColors) _saggitalColors -> Delete(); - if (_saggital) _saggital -> Delete(); - if (_axialColors) _axialColors -> Delete(); - if (_axial) _axial -> Delete(); - if (_coronalColors) _coronalColors -> Delete(); - if (_coronal) _coronal -> Delete(); + _outlineData-> Delete(); + _mapOutline-> Delete(); + _outline-> Delete(); + +// if (_bwLut) _bwLut->Delete(); +// if (_hueLut) _hueLut->Delete(); +// if (_satLut) _satLut->Delete(); + if (_ctfun) _ctfun->Delete(); + if (_saggitalColors) _saggitalColors ->Delete(); + if (_saggital) _saggital->Delete(); + if (_axialColors) _axialColors->Delete(); + if (_axial) _axial->Delete(); + if (_coronalColors) _coronalColors->Delete(); + if (_coronal) _coronal->Delete(); } //------------------------------------------------------------------- @@ -338,4 +338,4 @@ void vtkMPR3DDataViewer::setColorTransferFunction(vtkColorTransferFunction* colo _coronalColors->SetLookupTable(colortable); _axialColors->SetLookupTable(colortable); } - \ No newline at end of file + diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderTabbedPanel.cpp b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderTabbedPanel.cpp index 71df3c7..5c4202a 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderTabbedPanel.cpp +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderTabbedPanel.cpp @@ -298,4 +298,5 @@ void wxMaracasRenderTabbedPanel::onCheckBoxSCChange(wxCommandEvent& event) **/ int wxMaracasRenderTabbedPanel::getPropId(){ return _propid; -} \ No newline at end of file +} + diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSuperpositionPanel.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSuperpositionPanel.cxx index 92c9b6b..99bb342 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSuperpositionPanel.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSuperpositionPanel.cxx @@ -130,4 +130,5 @@ void wxMaracasSuperpositionPanel::Refresh() { GetwxVtkMPR2DView()->GetRenWin()->Render(); - } \ No newline at end of file + } + diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSurfaceRendering.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSurfaceRendering.cxx index baf18a7..66a580b 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSurfaceRendering.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasSurfaceRendering.cxx @@ -3,8 +3,8 @@ Program: wxMaracas Module: $RCSfile: wxMaracasSurfaceRendering.cxx,v $ Language: C++ - Date: $Date: 2009/10/15 11:56:43 $ - Version: $Revision: 1.1 $ + Date: $Date: 2009/10/16 15:17:57 $ + Version: $Revision: 1.2 $ Copyright: (c) 2002, 2003 License: @@ -51,13 +51,10 @@ wxMaracasSurfaceRendering::wxMaracasSurfaceRendering( wxWindow* parent,std::stri wxauimanager->Update(); createFileChooser(); - - } wxMaracasSurfaceRendering::~wxMaracasSurfaceRendering( ){ delete _toolb; - } std::string wxMaracasSurfaceRendering::getPath(){ @@ -107,7 +104,6 @@ void wxMaracasSurfaceRendering::changeColor(int propid, double red, double green wxMessageDialog* diag = new wxMessageDialog(this, s, s, wxICON_ERROR); diag->ShowModal(); delete diag; - } } @@ -133,8 +129,8 @@ void wxMaracasSurfaceRendering::onLoadImageFile(){ //} } delete fildial; - } + void wxMaracasSurfaceRendering::loadPropMHD(wxString filename, wxString dataname){ std::string s = std::string(filename.mb_str()); @@ -143,7 +139,6 @@ void wxMaracasSurfaceRendering::loadPropMHD(wxString filename, wxString dataname s = std::string(dataname.mb_str()); addPropMHD(img, s); } - } void wxMaracasSurfaceRendering::addPropMHD(vtkImageData* imgdata, std::string dataname){ @@ -162,7 +157,6 @@ void wxMaracasSurfaceRendering::addPropMHD(vtkImageData* imgdata, std::string da std::cout << "Exception : " << str << '\n'; wxMessageDialog* diag = new wxMessageDialog(this, wxString( str,wxConvUTF8 ), wxString( str,wxConvUTF8 ), wxICON_ERROR); diag->ShowModal(); - } } @@ -175,9 +169,6 @@ void wxMaracasSurfaceRendering::loadProp3D(wxString filename, wxString dataname) }else{ //TODO msj to the user indicating error in file } - - - } void wxMaracasSurfaceRendering::addProp3D(vtkProp3D* prop3D, std::string dataname){ @@ -192,7 +183,6 @@ void wxMaracasSurfaceRendering::addProp3D(vtkProp3D* prop3D, std::string datanam wxMessageDialog* diag = new wxMessageDialog(this, wxString(str,wxConvUTF8 ), wxString(str,wxConvUTF8 ), wxICON_ERROR); diag->ShowModal(); } - } void wxMaracasSurfaceRendering::addSurfaceRenderingPanel(wxMaracasSurfaceRenderingPanel* surrend, std::string dataname){ @@ -200,8 +190,6 @@ void wxMaracasSurfaceRendering::addSurfaceRenderingPanel(wxMaracasSurfaceRenderi wxAuiPaneInfo paneinfo; wxauimanager->AddPane(surrend, paneinfo.DefaultPane().Centre().DestroyOnClose().Caption(s)); wxauimanager->Update(); - - } void wxMaracasSurfaceRendering::deleteActor(int propid){ @@ -212,10 +200,6 @@ void wxMaracasSurfaceRendering::deleteActor(int propid){ } } - - - - /** ** **/ @@ -223,8 +207,6 @@ void wxMaracasSurfaceRendering::deleteActor(int propid){ ToolBar::ToolBar(wxWindow * parent,std::string iconsdir) : wxToolBar(parent, -1, wxDefaultPosition, wxDefaultSize) { - - std::string iconfil = iconsdir; //iconfil+= "/OpenImage.png"; @@ -245,7 +227,6 @@ ToolBar::ToolBar(wxWindow * parent,std::string iconsdir) _evthand = new ToolBarEventHandler(); this->SetEventHandler(_evthand); - } ToolBar::~ToolBar(void){ @@ -254,6 +235,7 @@ ToolBar::~ToolBar(void){ ToolBarEventHandler::ToolBarEventHandler() : wxEvtHandler(){ } + ToolBarEventHandler::~ToolBarEventHandler(){ } @@ -262,7 +244,6 @@ void ToolBarEventHandler::onLoadImageFile(wxCommandEvent& event){ } - BEGIN_EVENT_TABLE(ToolBarEventHandler, wxEvtHandler) EVT_MENU(1, ToolBarEventHandler::onLoadImageFile) END_EVENT_TABLE() diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_ViewerWidget.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_ViewerWidget.cxx index 4e2e626..b07d32f 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_ViewerWidget.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracas_ViewerWidget.cxx @@ -3,8 +3,8 @@ Program: wxMaracas Module: $RCSfile: wxMaracas_ViewerWidget.cxx,v $ Language: C++ - Date: $Date: 2009/09/15 11:25:07 $ - Version: $Revision: 1.17 $ + Date: $Date: 2009/10/16 15:17:57 $ + Version: $Revision: 1.18 $ Copyright: (c) 2002, 2003 License: @@ -430,4 +430,5 @@ /*if(mwxvtkmpr3Dview!=NULL){ mwxvtkmpr3Dview->setColorLevel(level); }*/ - } \ No newline at end of file + } + diff --git a/lib/maracasVisuLib/src/kernel/PlaneDirectionManager.cxx b/lib/maracasVisuLib/src/kernel/PlaneDirectionManager.cxx index 0900a39..0a95f5c 100644 --- a/lib/maracasVisuLib/src/kernel/PlaneDirectionManager.cxx +++ b/lib/maracasVisuLib/src/kernel/PlaneDirectionManager.cxx @@ -9,7 +9,6 @@ PlaneDirectionManager::PlaneDirectionManager(int radio, double colour[3] , int o _radio = radio; _colour = colour; _opacity = opacity; - } @@ -48,8 +47,7 @@ void PlaneDirectionManager::RemoveAllActorsFromIndex(int n)throw (std::exception _render->RemoveViewProp(_vectdata[i]->GetActor()); delete _vectdata[i]; _vectdata.pop_back(); - } - + } } void PlaneDirectionManager::UpdateVectors()throw (std::exception){ PlaneDirectionManagerData* temp; @@ -89,24 +87,22 @@ void PlaneDirectionManager::addRemoveActor(int index, bool addremove){ _render->AddViewProp (_vectdata[index]->GetActor()); }else{ _render->RemoveViewProp (_vectdata[index]->GetActor()); - } - - } - - + } + } } -void PlaneDirectionManager::changeColor(int index,double r,double g,double b){ +void PlaneDirectionManager::changeColor(int index,double r,double g,double b) +{ GetPlaneDirectionManagerData(index)->ChangeColour(r,g,b); } -PlaneDirectionManagerData* PlaneDirectionManager::GetPlaneDirectionManagerData(int id) { - +PlaneDirectionManagerData* PlaneDirectionManager::GetPlaneDirectionManagerData(int id) +{ return _vectdata[id]; } void PlaneDirectionManager::WriteInformation(std::string filename, double* spc){ - FILE *ff; + FILE *ff; ff = fopen( filename.c_str() , "w+" ); if(spc ==NULL){ spc = new double[3]; @@ -142,16 +138,13 @@ void PlaneDirectionManager::WriteInformation(std::string filename, double* spc) fprintf(ff,"Dir%d\n",i); fprintf(ff,"\tP0[%f, %f, %f]\tP1[%f, %f, %f]\tP2[%f, %f, %f]\tDir[%f, %f, %f] \n", p0x,p0y,p0z, p1x,p1y,p1z, p2x,p2y,p2z, dirx,diry,dirz); - } - + } fclose(ff); } else { // else ff printf("PlaneDirectionManager::WriteInformation ...Error... creating file"); - } //ff - - + } //ff } void PlaneDirectionManager::SetArrowSize(int arrowsize){ _radio = arrowsize; -} \ No newline at end of file +} diff --git a/lib/maracasVisuLib/src/kernel/PlanesOperations.cxx b/lib/maracasVisuLib/src/kernel/PlanesOperations.cxx index 001f272..7ea40d1 100644 --- a/lib/maracasVisuLib/src/kernel/PlanesOperations.cxx +++ b/lib/maracasVisuLib/src/kernel/PlanesOperations.cxx @@ -5,16 +5,19 @@ ** Start of data viewmanagerData *********************************************************************************************/ -PlanesOperations::PlanesOperations(){ +PlanesOperations::PlanesOperations() +{ } -PlanesOperations::~PlanesOperations(){ +PlanesOperations::~PlanesOperations() +{ } -double* PlanesOperations::getCrossProduct(double* vect0,double* vect1){ +double* PlanesOperations::getCrossProduct(double* vect0,double* vect1) +{ double* vectCross; vectCross = new double[3]; vectCross[0] = vect0[1]*vect1[2]-(vect0[2]*vect1[1]); @@ -26,8 +29,8 @@ double* PlanesOperations::getCrossProduct(double* vect0,double* vect1){ /** ** Returns the magnitud of the given vector **/ -double PlanesOperations::getMagnitud(double* vect){ - +double PlanesOperations::getMagnitud(double* vect) +{ double mag; mag = sqrt(pow(vect[0],2) + pow(vect[1],2) + pow(vect[2],2)); @@ -35,20 +38,19 @@ double PlanesOperations::getMagnitud(double* vect){ std::cout<<"mag "<