3 #include "vtkRegressionTestImage.h"
4 #include "vtkTesting.h"
56 std::cerr <<
"depth peeling was not used\n";
61 int retVal = vtkRegressionTestImage(renWin);
62 if (retVal == vtkRegressionTester::DO_INTERACTOR)
void SetFontFamilyToArial()
Set/Get the font family.
abstract superclass for all actors, volumes and annotations
void AddActor(vtkProp *p)
Add/Remove different types of props to the renderer.
void SetRenderWindow(vtkRenderWindow *aren)
Set/Get the rendering window being controlled by this object.
virtual void SetMaximumNumberOfPeels(int)
In case of depth peeling, define the maximum number of peeling layers.
virtual void SetBackground(double, double, double)
Set/Get the background color of the rendering screen using an rgb color specification.
virtual void SetUseDepthPeeling(vtkTypeBool)
Turn on/off rendering of translucent material with depth peeling technique.
virtual void AddRenderer(vtkRenderer *)
Add a renderer to the list of renderers.
void Render() override
Ask each renderer owned by this RenderWindow to render its image and synchronize this process...
void SetVerticalJustificationToCentered()
Set/Get the vertical justification to bottom (default), middle, or top.
virtual void Start()
Start the event loop.
virtual void SetSize(int width, int height)
Set the size (width and height) of the rendering window in screen coordinates (in pixels)...
virtual void SetOcclusionRatio(double)
In case of use of depth peeling technique for rendering translucent material, define the threshold un...
int CreatePipeline(int argc, char *argv[], vtkProp *textActor, vtkTextProperty *textProperty, bool depthPeeling)
virtual void SetAlphaBitPlanes(vtkTypeBool)
Turn on/off the use of alpha bitplanes.
represent text properties.
virtual void SetMultiSamples(int)
Set / Get the number of multisamples to use for hardware antialiasing.
Allocate and hold a VTK object.
virtual void SetFontSize(int)
Set/Get the font size (in points).
virtual bool ResetCamera()
Automatically set up the camera based on the visible actors.
void SetJustificationToCentered()
Set/Get the horizontal justification to left (default), centered, or right.
virtual vtkTypeBool GetLastRenderingUsedDepthPeeling()
Tells if the last call to DeviceRenderTranslucentPolygonalGeometry() actually used depth peeling...