15#ifndef vtkVRRenderer_h
16#define vtkVRRenderer_h
20#include "vtkRenderingVRModule.h"
22VTK_ABI_NAMESPACE_BEGIN
75 vtkGetMacro(ShowFloor,
bool);
84 vtkGetMacro(ShowLeftMarker,
bool);
93 vtkGetMacro(ShowRightMarker,
bool);
101 bool ShowFloor =
false;
109 bool ShowLeftMarker =
false;
110 bool ShowRightMarker =
false;
represents an object (geometry & properties) in a rendered scene
a virtual camera for 3D rendering
a simple class to control print indentation
Allocate and hold a VTK object.
virtual void ResetCameraClippingRange()
Reset the camera clipping range based on the bounds of the visible actors.
virtual void ResetCamera()
Automatically set up the camera based on the visible actors.
Renderer class for VR/AR context.
virtual void SetShowRightMarker(bool value)
Set/get whether to display a white cross marker at the tip of the right controller.
void DeviceRender() override
Render the floor using GetFloorTransform.
vtkNew< vtkActor > FloorActor
vtkCamera * MakeCamera() override=0
Abstract function that creates a new Camera suitable for use with this type of Renderer.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void ResetCameraClippingRange(const double bounds[6]) override
Reset the camera clipping range based on a bounding box.
~vtkVRRenderer() override=default
virtual void GetFloorTransform(vtkTransform *transform)
Store in transform the floor transform.
virtual void SetShowLeftMarker(bool value)
Set/get whether to display a white cross marker at the tip of the left controller.
void ResetCamera(const double bounds[6]) override
Automatically set up the camera based on a specified bounding box (xmin,xmax, ymin,...
void ResetCameraClippingRange() override
Reset the camera clipping range based on a bounding box.
virtual void SetShowFloor(bool value)
Set/get whether to show a white floor corresponding to the physical floor.