32 #ifndef CXDEPTHPEELING_H_
33 #define CXDEPTHPEELING_H_
35 #include "cxResourceVisualizationExport.h"
37 #include <vtkSphereSource.h>
38 #include <vtkSmartPointer.h>
39 #include <vtkAppendPolyData.h>
40 #include <vtkCamera.h>
41 #include <vtkPolyDataMapper.h>
43 #include <vtkRenderer.h>
44 #include <vtkRenderWindow.h>
45 #include <vtkProperty.h>
46 #include <vtkRenderWindowInteractor.h>
47 #include <vtkTimerLog.h>
48 #include <vtkTransform.h>
49 #include <vtkDepthSortPolyData.h>
54 vtkSmartPointer<vtkRenderer> renderer,
int maxNoOfPeels,
55 double occlusionRatio);
58 vtkSmartPointer<vtkRenderWindow> renderWindow,
59 vtkSmartPointer<vtkRenderer> renderer);
62 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)