Fraxinus
16.5.0-fx-rc9
An IGT application
|
Go to the source code of this file.
Functions | |
vtkSmartPointer < vtkAppendPolyData > | GenerateOverlappingBunchOfSpheres (int theta, int phi) |
bool | SetupEnvironmentForDepthPeeling (vtkSmartPointer< vtkRenderWindow > renderWindow, vtkSmartPointer< vtkRenderer > renderer, int maxNoOfPeels, double occlusionRatio) |
bool | TurnOffDepthPeeling (vtkSmartPointer< vtkRenderWindow > renderWindow, vtkSmartPointer< vtkRenderer > renderer) |
Turn off depth peeling. More... | |
bool | IsDepthPeelingSupported (vtkSmartPointer< vtkRenderWindow > renderWindow, vtkSmartPointer< vtkRenderer > renderer, bool doItOffScreen) |
vtkSmartPointer<vtkAppendPolyData> GenerateOverlappingBunchOfSpheres | ( | int | theta, |
int | phi | ||
) |
Generate a bunch of overlapping spheres within one poly data set: one big sphere evenly surrounded by four small spheres that intersect the centered sphere.
theta | sphere sampling resolution (THETA) |
phi | sphere sampling resolution (PHI) |
Definition at line 43 of file cxDepthPeeling.cpp.
bool IsDepthPeelingSupported | ( | vtkSmartPointer< vtkRenderWindow > | renderWindow, |
vtkSmartPointer< vtkRenderer > | renderer, | ||
bool | doItOffScreen | ||
) |
Find out whether this box supports depth peeling. Depth peeling requires a variety of openGL extensions and appropriate drivers.
renderWindow | a valid openGL-supporting render window |
renderer | a valid renderer instance |
doItOffScreen | do the test off screen which means that nothing is rendered to screen (this requires the box to support off screen rendering) |
Definition at line 155 of file cxDepthPeeling.cpp.
bool SetupEnvironmentForDepthPeeling | ( | vtkSmartPointer< vtkRenderWindow > | renderWindow, |
vtkSmartPointer< vtkRenderer > | renderer, | ||
int | maxNoOfPeels, | ||
double | occlusionRatio | ||
) |
Setup the rendering environment for depth peeling (general depth peeling support is requested).
renderWindow | a valid openGL-supporting render window |
renderer | a valid renderer instance |
maxNoOfPeels | maximum number of depth peels (multi-pass rendering) |
occlusionRatio | the occlusion ration (0.0 means a perfect image, >0.0 means a non-perfect image which in general results in faster rendering) |
Definition at line 88 of file cxDepthPeeling.cpp.
bool TurnOffDepthPeeling | ( | vtkSmartPointer< vtkRenderWindow > | renderWindow, |
vtkSmartPointer< vtkRenderer > | renderer | ||
) |
Turn off depth peeling.
Definition at line 123 of file cxDepthPeeling.cpp.