1 /*# ---------------------------------------------------------------------
3 # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image
5 # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton
6 # Previous Authors : Laurent Guigues, Jean-Pierre Roux
7 # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil
9 # This software is governed by the CeCILL-B license under French law and
10 # abiding by the rules of distribution of free software. You can use,
11 # modify and/ or redistribute the software under the terms of the CeCILL-B
12 # license as circulated by CEA, CNRS and INRIA at the following URL
13 # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
14 # or in the file LICENSE.txt.
16 # As a counterpart to the access to the source code and rights to copy,
17 # modify and redistribute granted by the license, users are provided only
18 # with a limited warranty and the software's author, the holder of the
19 # economic rights, and the successive licensors have only limited
22 # The fact that you are presently reading this means that you have had
23 # knowledge of the CeCILL-B license and that you accept its terms.
24 # ------------------------------------------------------------------------ */
26 #include "manualViewBaseContour.h"
29 // ----------------------------------------------------------------------------
30 // ----------------------------------------------------------------------------
31 // ----------------------------------------------------------------------------
33 manualViewBaseContour::manualViewBaseContour()
38 _wxvtkbaseview = NULL;
40 _posibleSelected = false;
41 _viewControlPoints = false;
44 _contourVtkActor = NULL;
47 _sizePointsContour = 100;
60 _coulorSelection_r = 0;
61 _coulorSelection_g = 1;
62 _coulorSelection_b = 0;
67 // ----------------------------------------------------------------------------
68 manualViewBaseContour::~manualViewBaseContour()
70 int i,size=_lstViewPoints.size();
71 for (i=0;i<size; i++){
72 delete _lstViewPoints[i];
74 _lstViewPoints.clear();
76 // ----------------------------------------------------------------------------
79 int manualViewBaseContour::GetType() // virtual
82 //int manualViewBaseContour::GetType() 0;
83 //int manualViewContour::GetType() 1;
84 //int manualViewRoi::GetType() 2;
85 //int manualViewCircle::GetType() 3;
86 //int manualViewStar::GetType() 4;
87 //int manualViewLine::GetType() 6;
88 //int manualViewPoints::GetType() 7;
93 // ----------------------------------------------------------------------------
95 void manualViewBaseContour::Save(FILE *pFile)
97 fprintf(pFile,"TypeView %d\n", GetType() );
100 // ----------------------------------------------------------------------------
101 void manualViewBaseContour::Open(FILE *pFile)
105 // ----------------------------------------------------------------------------
106 void manualViewBaseContour :: AddCompleteContourActor( bool ifControlPoints )
108 _viewControlPoints = ifControlPoints;
109 /*vtkRenderer * theRenderer = */ _wxvtkbaseview->GetRenderer(); // JPRx ??
114 //Adding each control point
115 if( ifControlPoints )
120 // ---------------------------------------------------------------------------
122 void manualViewBaseContour :: RemoveCompleteContourActor()
124 /*vtkRenderer * theRenderer =*/ _wxvtkbaseview->GetRenderer(); // JPRx ??
125 //Removing the spline
129 //Removing each point
130 RemoveControlPoints();
134 // ---------------------------------------------------------------------------
135 manualViewBaseContour * manualViewBaseContour :: Clone( )//virtual
137 manualViewBaseContour * clone = new manualViewBaseContour();
138 CopyAttributesTo(clone);
143 // ---------------------------------------------------------------------------
145 void manualViewBaseContour::CopyAttributesTo( manualViewBaseContour * cloneObject)
148 //XXXX::CopyAttributesTo(cloneObject);
150 cloneObject-> SetWxVtkBaseView( this->_wxvtkbaseview );
151 cloneObject-> SetSelected( this->GetSelected() );
152 cloneObject-> SetPosibleSelected( this->GetPosibleSelected() );
153 cloneObject-> SetIfViewControlPoints( this->GetIfViewControlPoints() );
154 cloneObject-> SetRange( this->GetRange() );
155 cloneObject-> SetZ( this->GetZ() );
156 cloneObject-> SetSpacing( _spc );
157 cloneObject-> SetColorNormalContour( _coulorNormal_r, _coulorNormal_g, _coulorNormal_b );
158 cloneObject-> SetColorEditContour( _coulorEdit_r, _coulorEdit_g, _coulorEdit_b );
159 cloneObject-> SetColorSelectContour( _coulorSelection_r, _coulorSelection_g, _coulorSelection_b );
161 int i, size = _lstViewPoints.size();
162 for ( i=0; i<size; i++ )
164 cloneObject->AddPoint( );
168 // ----------------------------------------------------------------------------
169 void manualViewBaseContour :: AddSplineActor()
171 vtkRenderer * theRenderer = _wxvtkbaseview->GetRenderer();
172 if (_contourVtkActor!=NULL)
173 theRenderer->AddActor( _contourVtkActor );
175 // ----------------------------------------------------------------------------
176 void manualViewBaseContour :: RemoveSplineActor() // virtual
178 vtkRenderer * theRenderer = _wxvtkbaseview->GetRenderer();
179 if (_contourVtkActor!=NULL)
180 theRenderer->RemoveActor( _contourVtkActor );
182 // ----------------------------------------------------------------------------
183 void manualViewBaseContour :: RemoveControlPoints()
185 if (_wxvtkbaseview!=NULL){
186 vtkRenderer * theRenderer = _wxvtkbaseview->GetRenderer();
187 int i,size=_lstViewPoints.size();
188 for (i=0;i<size; i++)
190 vtkActor * pointActor = _lstViewPoints[i]->GetVtkActor();
191 theRenderer->RemoveActor( pointActor );
194 SetIfViewControlPoints( false );
196 // ----------------------------------------------------------------------------
197 void manualViewBaseContour::AddControlPoints()
199 vtkRenderer * theRenderer = _wxvtkbaseview->GetRenderer();
200 SetIfViewControlPoints( true );
201 if( _viewControlPoints )
203 int i,size=_lstViewPoints.size();
204 for (i=0;i<size; i++)
206 vtkActor * pointActor = _lstViewPoints[i]->GetVtkActor();
207 theRenderer->AddActor( pointActor );
211 // ----------------------------------------------------------------------------
212 void manualViewBaseContour::AddTextActor()
216 _wxvtkbaseview->GetRenderer()->AddActor2D( _textActor );
219 // ----------------------------------------------------------------------------
220 void manualViewBaseContour::RemoveTextActor()
224 _wxvtkbaseview->GetRenderer()->RemoveActor2D( _textActor );
227 // ----------------------------------------------------------------------------
228 void manualViewBaseContour::DeleteVtkObjects()
230 if ( _contourVtkActor != NULL ) { _contourVtkActor -> Delete(); }
231 if ( _bboxMapper != NULL ) { _bboxMapper -> Delete(); }
232 if ( _pts != NULL ) { _pts -> Delete(); }
233 if ( _pd != NULL ) { _pd -> Delete(); }
234 _contourVtkActor = NULL;
241 // ----------------------------------------------------------------------------
242 void manualViewBaseContour::SetWidthLine(double width)
245 this->UpdateColorActor();
247 // for the control points
248 int id, size = _lstViewPoints.size();
249 for( id=0; id<size; id++)
251 this->_lstViewPoints[id]->SetWidthLine(_widthline);
256 // ----------------------------------------------------------------------------
257 double manualViewBaseContour::GetWidthLine()
262 // ----------------------------------------------------------------------------
263 void manualViewBaseContour::ConstructVTKObjects()
267 //JSTG 29-02-08 -----------------------------------------------
268 //int i , nps = _sizePointsContour;
270 int nps = _manContModel->GetNumberOfPointsSpline();
271 //-------------------------------------------------------------
274 _pts = vtkPoints::New();
275 _pts->SetNumberOfPoints(nps);
276 for (i=0 ; i<nps ; i++){
277 _pts->SetPoint(i, 0 , 0 , 0 );
279 // This is for the boundaring inicialisation
282 //_pts->SetPoint(0, 0 , 0 , -1000 );
283 //_pts->SetPoint(1, 0 , 0 , 1000 );
284 _pts->SetPoint(0, -1000 , -1000 , -1000 );
285 _pts->SetPoint(1, 1000 , 1000 , 1000 );
287 vtkCellArray *lines = vtkCellArray::New();
288 lines->InsertNextCell( nps /* +1 */ );
289 for ( i=0 ; i<nps+1 ; i++ ){
290 lines->InsertCellPoint(i % nps );
292 _pd = vtkPolyData::New();
293 _pd->SetPoints( _pts );
294 _pd->SetLines( lines );
295 lines->Delete(); //do not delete lines ??
297 _contourVtkActor = vtkActor::New();
298 _bboxMapper = vtkPolyDataMapper::New();
299 _bboxMapper->ScalarVisibilityOff( );
301 _bboxMapper->SetInput(_pd);
302 _bboxMapper->ImmediateModeRenderingOn();
303 _contourVtkActor->SetMapper(_bboxMapper);
304 _contourVtkActor->GetProperty()->BackfaceCullingOff();
308 _pd->ComputeBounds();
313 void manualViewBaseContour::InitTextActor()
316 _textActor = vtkTextActor::New();
317 // _textActor->SetDisplayPosition(200, 200);
318 _textActor->SetInput("00");
319 // Set coordinates to match the old vtkScaledTextActor default value
320 // _textActor->GetPosition2Coordinate()->SetCoordinateSystemToNormalizedViewport();
321 // _textActor->GetPosition2Coordinate()->SetValue( 0.2 , 0.2 );
322 _textActor->GetPositionCoordinate()->SetCoordinateSystemToWorld ();
323 // _textActor->GetPositionCoordinate()->SetValue( 0.8 , 0.8 );
325 vtkTextProperty *tprop = _textActor->GetTextProperty();
326 tprop->SetFontSize(14);
327 tprop->SetFontFamilyToArial();
328 tprop->SetColor(0, 0, 1);
331 // ----------------------------------------------------------------------------
332 void manualViewBaseContour::CreateNewContour()
334 ConstructVTKObjects();
336 _wxvtkbaseview->GetRenderer()->AddActor( _contourVtkActor );
337 _wxvtkbaseview->GetRenderer()->AddActor2D(_textActor);*/
338 AddCompleteContourActor();
340 // ----------------------------------------------------------------------------
341 void manualViewBaseContour::UpdateViewPoint(int id) // virtual
343 manualPoint *mp = _manContModel->GetManualPoint(id);
346 double XX=mp->GetX(),YY=mp->GetY(),ZZ=mp->GetZ();
347 // wxVtk2DBaseView *wxvtk2Dbasevie = (wxVtk2DBaseView*)this->GetWxVtkBaseView();
348 // wxvtk2Dbasevie->TransformCoordinate_spacing_ModelToView(XX,YY,ZZ);
350 _lstViewPoints[id]->SetPositionXY( XX , YY ,_range, ZZ );
353 // ----------------------------------------------------------------------------
354 void manualViewBaseContour::UpdateViewPoints()
356 int id, size = _lstViewPoints.size();
357 for( id=0; id<size; id++)
359 UpdateViewPoint( id );
363 // ----------------------------------------------------------------------------
364 void manualViewBaseContour::AddPoint()
366 manualViewPoint *mvp = new manualViewPoint( this->GetWxVtkBaseView() );
369 // ----------------------------------------------------------------------------
370 void manualViewBaseContour::AddPoint( manualViewPoint * manualViewPoint )
372 _lstViewPoints.push_back( manualViewPoint );
375 manualViewPoint->SetSpacing(_spc);
377 vtkActor *actor = manualViewPoint->CreateVtkPointActor();
378 _wxvtkbaseview->GetRenderer()->AddActor( actor );
381 // ----------------------------------------------------------------------------
382 void manualViewBaseContour::InsertPoint(int id)
384 manualViewPoint *mvp = new manualViewPoint( this->GetWxVtkBaseView() );
387 mvp->SetSpacing(_spc);
389 std::vector<manualViewPoint*>::iterator itNum = _lstViewPoints.begin() + id;
390 _lstViewPoints.insert(itNum,mvp);
391 _wxvtkbaseview->GetRenderer()->AddActor( mvp->CreateVtkPointActor() );
393 // ----------------------------------------------------------------------------
394 void manualViewBaseContour::DeleteContour()
396 RemoveCompleteContourActor();
397 /*if (_contourVtkActor!=NULL){
398 _wxvtkbaseview->GetRenderer()->RemoveActor( _contourVtkActor );
401 int i,size=_lstViewPoints.size();
402 for (i=0;i<size;i++){
403 manualViewBaseContour::DeletePoint(0);
407 // ----------------------------------------------------------------------------
408 void manualViewBaseContour::DeletePoint(int id) // virtual
410 int size=_lstViewPoints.size();
411 if ( (id>=0) && (id<size) ){
412 manualViewPoint *mvp =_lstViewPoints[id];
414 // _handlePicker->DeletePickList(mvp->GetVtkActor());
415 _wxvtkbaseview->GetRenderer()->RemoveActor( mvp->GetVtkActor() );
416 std::vector<manualViewPoint*>::iterator itNum = _lstViewPoints.begin() + id;
417 _lstViewPoints.erase(itNum);
422 // ----------------------------------------------------------------------------
423 void manualViewBaseContour::DeletePoint(int x, int y, int z)
425 int id=GetIdPoint(x,y,z);
430 // ----------------------------------------------------------------------------
431 void manualViewBaseContour::SetSelected(bool selected)
435 // ----------------------------------------------------------------------------
436 void manualViewBaseContour::SetPosibleSelected(bool posibleSelected)
438 _posibleSelected=posibleSelected;
440 // ----------------------------------------------------------------------------
441 bool manualViewBaseContour::GetEditable()
445 // ----------------------------------------------------------------------------
446 void manualViewBaseContour::SetEditable( bool * condition )
448 _editable = condition;
450 // ----------------------------------------------------------------------------
451 bool manualViewBaseContour::GetSelected()
455 // ----------------------------------------------------------------------------
456 bool manualViewBaseContour::GetPosibleSelected()
458 return _posibleSelected;
460 // ----------------------------------------------------------------------------
461 void manualViewBaseContour::DeleteSelectedPoints()
463 int i,size=_lstViewPoints.size();
464 for (i=size-1;i>=0;i--){
465 if (_lstViewPoints[i]->GetSelected()==true){
471 // ----------------------------------------------------------------------------
472 void manualViewBaseContour::SelectPoint(int i, bool select)
474 _lstViewPoints[i]->SetSelected(select);
476 // ----------------------------------------------------------------------------
477 void manualViewBaseContour::SelectLstPoints()
481 // ----------------------------------------------------------------------------
482 void manualViewBaseContour::SelectAllPoints(bool select)
484 int i,size=_lstViewPoints.size();
485 for (i=0;i<size;i++){
486 SelectPoint(i,select);
489 //-----------------------------------------------------------------------------
490 void manualViewBaseContour:: SetIfViewControlPoints(bool ifShow)
492 _viewControlPoints = ifShow;
494 // ----------------------------------------------------------------------------
495 bool manualViewBaseContour:: GetIfViewControlPoints()
497 return _viewControlPoints;
500 // ----------------------------------------------------------------------------
501 void manualViewBaseContour::SetPointPosibleSelected(int id,bool select)
503 _lstViewPoints[id]->SetPosibleSelected(select);
505 // ----------------------------------------------------------------------------
506 void manualViewBaseContour::SetPointSelected(int id,bool select)
508 _lstViewPoints[id]->SetSelected(select);
510 // ----------------------------------------------------------------------------
511 void manualViewBaseContour::SelectAllPossibleSelected(bool select)
513 int i,size=_lstViewPoints.size();
514 for (i=0;i<size;i++){
515 SetPointPosibleSelected(i,select);
518 // ----------------------------------------------------------------------------
519 int manualViewBaseContour::SelectPosiblePoint(int x, int y, int z) // virtual
521 SelectAllPossibleSelected(false);
523 int id = GetIdPoint(x,y,z);
526 SetPointPosibleSelected(id,true);
530 // ----------------------------------------------------------------------------
531 bool manualViewBaseContour::SelectPosibleContour(int x, int y, int z)
534 SetPosibleSelected(result);
535 int id = GetIdPoint(x,y,z);
537 if( !GetEditable() && !_selected && id!= -1)
540 _posibleSelected=true;
544 if ( (GetEditable()==true) && (id==-1 ) && (this->_lstViewPoints.size()>=2) )
546 if (ifTouchContour(x,y,z)==true)
549 SetPosibleSelected(result);
553 if (GetEditable()==false)
555 if (ifTouchContour(x,y,z)==true)
558 SetPosibleSelected(result);
564 // ----------------------------------------------------------------------------
565 bool manualViewBaseContour::ifTouchContour(int x,int y, int z) // virtual
569 // ----------------------------------------------------------------------------
570 void manualViewBaseContour::UnSelectPoint(int i){
571 _lstViewPoints[i]->SetSelected(false);
574 // ----------------------------------------------------------------------------
575 void manualViewBaseContour::UnSelectLstPoints(){
578 // ----------------------------------------------------------------------------
579 void manualViewBaseContour::UnSelectAllPoints(){
580 int i,size=_lstViewPoints.size();
581 for (i=0;i<size;i++){
586 // ----------------------------------------------------------------------------
587 void manualViewBaseContour::SetModel(manualBaseModel *manContModel){
588 _manContModel=manContModel;
590 // ----------------------------------------------------------------------------
591 void manualViewBaseContour::SetWxVtkBaseView(wxVtkBaseView *wxvtkbaseview){
592 _wxvtkbaseview = wxvtkbaseview;
594 // ----------------------------------------------------------------------------
595 void manualViewBaseContour::RefreshContour() // Virtual
598 // ----------------------------------------------------------------------------
599 double* manualViewBaseContour::GetVectorPointsXManualContour(){
601 int i,size = _sizePointsContour;
602 double *vx = (double*)malloc(sizeof(double)*size);
603 for (i=0;i<size;i++){
604 _pts->GetPoint(i,pp);
609 // ----------------------------------------------------------------------------
610 double* manualViewBaseContour::GetVectorPointsYManualContour()
613 int i,size = _sizePointsContour;
614 double *vy = (double*)malloc(sizeof(double)*size);
615 for (i=0;i<size;i++){
616 _pts->GetPoint(i,pp);
621 // ----------------------------------------------------------------------------
622 double* manualViewBaseContour::GetVectorPointsZManualContour()
625 int i,size = _sizePointsContour;
626 double *vz = (double*)malloc(sizeof(double)*size);
627 for (i=0;i<size;i++){
628 _pts->GetPoint(i,pp);
633 // ----------------------------------------------------------------------------
634 void manualViewBaseContour::Refresh() // virtual
636 if (_contourVtkActor!=NULL){
639 int i,size=_lstViewPoints.size();
640 for (i=0;i<size;i++){
642 _lstViewPoints[i]->UpdateColorActor();
646 if (_show_text==true)
651 vtkRenderWindowInteractor *vri = _wxvtkbaseview->GetWxVTKRenderWindowInteractor ();
654 _wxvtkbaseview->GetRenWin()->Render();
655 printf("EED %p How to optimize manualViewBaseContour::Refresh() \n",this);
659 // ----------------------------------------------------------------------------
660 void manualViewBaseContour::RefreshText() // virtual
662 if( _textActor!=NULL)
663 _textActor -> SetInput("00");
665 // ----------------------------------------------------------------------------
666 void manualViewBaseContour::SetColorNormalContour(double r, double g, double b)
672 // ----------------------------------------------------------------------------
673 void manualViewBaseContour::GetColorNormalContour(double &r, double &g, double &b)
679 // ----------------------------------------------------------------------------
680 void manualViewBaseContour::SetColorEditContour(double r, double g, double b)
686 // ----------------------------------------------------------------------------
687 void manualViewBaseContour::GetColorEditContour(double &r, double &g, double &b)
693 // ----------------------------------------------------------------------------
694 void manualViewBaseContour::SetColorSelectContour(double r, double g, double b)
696 _coulorSelection_r = r;
697 _coulorSelection_g = g;
698 _coulorSelection_b = b;
700 // ----------------------------------------------------------------------------
701 void manualViewBaseContour::GetColorSelectContour(double &r, double &g, double &b)
703 r = _coulorSelection_r;
704 g = _coulorSelection_g;
705 b = _coulorSelection_b;
707 // ----------------------------------------------------------------------------
708 void manualViewBaseContour::UpdateColorActor()
710 if (_contourVtkActor!=NULL)
712 _contourVtkActor->GetProperty()->SetLineWidth( _widthline );
713 _contourVtkActor->GetProperty()->SetDiffuseColor( _coulorNormal_r , _coulorNormal_g , _coulorNormal_b );
714 if (_posibleSelected || (_posibleSelected && GetEditable() ) )
716 _contourVtkActor->GetProperty()->SetDiffuseColor( _coulorEdit_r , _coulorEdit_g , _coulorEdit_b );
720 _contourVtkActor->GetProperty()->SetDiffuseColor( _coulorSelection_r , _coulorSelection_g , _coulorSelection_b );
724 // ----------------------------------------------------------------------------
725 int manualViewBaseContour::GetIdPoint(int x, int y, int z) // virtual
728 if (_manContModel!=NULL){
732 TransfromCoordViewWorld(xx,yy,zz);
733 ii=_manContModel->GetIdPoint(xx,yy,zz,_range,-1);
738 // ----------------------------------------------------------------------------
741 int manualViewBaseContour::GetNumberOfPoints()
743 return _lstViewPoints.size();
746 // ----------------------------------------------------------------------------
748 //JSTG 25-02-08 ---------------------------------------------------------------
749 /*int manualViewBaseContour::GetNumberOfPointsSpline()
751 return _sizePointsContour;
753 //----------------------------------------------------------------------------
755 //JSTG 25-02-08 ---------------------------------------------------------------
756 /*void manualViewBaseContour::SetNumberOfPointsSpline(int size)
758 _sizePointsContour = size;
760 //----------------------------------------------------------------------------
762 void manualViewBaseContour::TransfromCoordViewWorld(double &X, double &Y, double &Z, int type) // Virtual
764 _wxvtkbaseview->TransFromCoordScreenToWorld(X, Y, Z,false, type);
769 // wxVtk2DBaseView *wxvtk2Dbaseview = (wxVtk2DBaseView*)_wxvtkbaseview;
770 // wxvtk2Dbaseview->TransformCoordinate_spacing_ModelToView(X,Y,Z);
773 // ----------------------------------------------------------------------------
774 void manualViewBaseContour::SetRange(double range)
778 // ----------------------------------------------------------------------------
779 double manualViewBaseContour::GetRange()
783 // ----------------------------------------------------------------------------
784 void manualViewBaseContour::SetZ(int z)
788 // ----------------------------------------------------------------------------
789 int manualViewBaseContour::GetZ()
794 // ----------------------------------------------------------------------------
795 void manualViewBaseContour::InitMove(int x, int y, int z) // virtual
799 // ----------------------------------------------------------------------------
800 void manualViewBaseContour::MoveContour(int x, int y, int z) // virtual
803 // ----------------------------------------------------------------------------
804 void manualViewBaseContour::MoveContour(int horizontalUnits, int verticalUnits )// virtual
808 // ----------------------------------------------------------------------------
809 void manualViewBaseContour::GetMinMax( double &minX,double &minY, double &minZ, double &maxX, double &maxY, double &maxZ )// virtual
814 int size=_manContModel->GetSizeLstPoints();
819 bool ifFindZ = minZ!=-1.0 && maxZ!=-1.0;
825 for( i = 0; i < size; i++ )
827 mp=_manContModel->GetManualPoint(i);
879 // ----------------------------------------------------------------------------
880 void manualViewBaseContour::ClearContour()
882 if (_contourVtkActor!=NULL){
883 _wxvtkbaseview->GetRenderer()->RemoveActor( _contourVtkActor );
886 int i,size=_lstViewPoints.size();
887 for (i=0;i<size;i++){
892 // ----------------------------------------------------------------------------
893 void manualViewBaseContour::ClearPoint(int id)
897 // ----------------------------------------------------------------------------
898 void manualViewBaseContour::SetVisible(bool ok)
908 int i,size=_lstViewPoints.size();
909 for (i=0;i<size;i++){
910 actor = _lstViewPoints[i]->GetVtkActor();
911 actor->GetProperty()->SetOpacity( opacity );
913 _contourVtkActor->GetProperty()->SetOpacity( opacity );
914 _textActor->GetProperty()->SetOpacity( opacity );
915 _textActor->SetInput("00");
918 // ----------------------------------------------------------------------------
919 void manualViewBaseContour::SetShowText(bool ok)
922 if (_show_text==false && _textActor!=NULL)
924 _textActor->SetInput("00");
927 // ----------------------------------------------------------------------------
928 wxVtkBaseView *manualViewBaseContour::GetWxVtkBaseView()
930 return this->_wxvtkbaseview;
932 // ----------------------------------------------------------------------------
933 void manualViewBaseContour::GetSpacing(double spc[3])
939 // ----------------------------------------------------------------------------
940 void manualViewBaseContour::SetSpacing(double spc[3])