11 #ifndef CXDEPTHPEELING_H_ 12 #define CXDEPTHPEELING_H_ 14 #include "cxResourceVisualizationExport.h" 16 #include <vtkSphereSource.h> 17 #include <vtkSmartPointer.h> 18 #include <vtkAppendPolyData.h> 19 #include <vtkCamera.h> 20 #include <vtkPolyDataMapper.h> 22 #include <vtkRenderer.h> 23 #include <vtkRenderWindow.h> 24 #include <vtkProperty.h> 25 #include <vtkRenderWindowInteractor.h> 26 #include <vtkTimerLog.h> 27 #include <vtkTransform.h> 28 #include <vtkDepthSortPolyData.h> 33 vtkSmartPointer<vtkRenderer> renderer,
int maxNoOfPeels,
34 double occlusionRatio);
37 vtkSmartPointer<vtkRenderWindow> renderWindow,
38 vtkSmartPointer<vtkRenderer> renderer);
41 vtkSmartPointer<vtkRenderer> renderer,
cxResourceVisualization_EXPORT bool SetupEnvironmentForDepthPeeling(vtkSmartPointer< vtkRenderWindow > renderWindow, vtkSmartPointer< vtkRenderer > renderer, int maxNoOfPeels, double occlusionRatio)
cxResourceVisualization_EXPORT vtkSmartPointer< vtkAppendPolyData > GenerateOverlappingBunchOfSpheres(int theta, int phi)
cxResourceVisualization_EXPORT bool TurnOffDepthPeeling(vtkSmartPointer< vtkRenderWindow > renderWindow, vtkSmartPointer< vtkRenderer > renderer)
Turn off depth peeling.
cxResourceVisualization_EXPORT bool IsDepthPeelingSupported(vtkSmartPointer< vtkRenderWindow > renderWindow, vtkSmartPointer< vtkRenderer > renderer, bool doItOffScreen)