X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FboxSurfaceObserver.cxx;h=85cf750d225c60ba2c6f0ede3124e1b08d46c263;hb=f9901e756bb82bd333310b47607875331616bb29;hp=36e9c9b11e9da5d6d1d4ed84f6246e8f0725f127;hpb=2e5f20e24f05f896066629e489d825558cdc3cd5;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/boxSurfaceObserver.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/boxSurfaceObserver.cxx index 36e9c9b..85cf750 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/boxSurfaceObserver.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/boxSurfaceObserver.cxx @@ -42,9 +42,6 @@ void boxSurfaceObserver::Execute(vtkObject *wdg, unsigned long eventId, void* ca if ( _vtkVolumeRayCastMapper != NULL ) { _vtkVolumeRayCastMapper->RemoveAllClippingPlanes(); -// vtkPlanes *planes = vtkPlanes::New(); -// boxwidget->GetPlanes(planes); -// _vtkVolumeRayCastMapper->SetClippingPlanes(planes); _vtkVolumeRayCastMapper->SetClippingPlanes(_planes); } // if volume @@ -62,7 +59,11 @@ void boxSurfaceObserver::SetActor(vtkProp *actor){ } //------------------------------------------------------------------- -void boxSurfaceObserver::SetvtkVolumeRayCastMapper(vtkVolumeRayCastMapper *vtkvolumeraycastmapper) +#if (VTK_MAJOR_VERSION <= 7) + void boxSurfaceObserver::SetvtkVolumeRayCastMapper(vtkVolumeRayCastMapper *vtkvolumeraycastmapper) +#else + void boxSurfaceObserver::SetvtkFixedPointVolumeRayCastMapper(vtkFixedPointVolumeRayCastMapper *vtkvolumeraycastmapper) +#endif { _vtkVolumeRayCastMapper = vtkvolumeraycastmapper; }