A group of cameras.
More...
#include <SceneCamera.hpp>
◆ getCameras()
Get all cameras in group.
- Returns
- list of cameras.
◆ getMainCamera()
Get the main camera.
- Returns
- the main camera.
◆ getName()
virtual std::string getName |
( |
| ) |
|
|
pure virtual |
Get name of group.
- Returns
- the name.
◆ insertCamera()
Insert a camera in group.
- Parameters
-
cam | [in] camera. |
index | [in] the index to insert at. |
◆ isEnabled()
virtual bool isEnabled |
( |
| ) |
|
|
pure virtual |
Check if group is enabled.
- Returns
- true if enabled.
◆ isOffscreenRenderEnabled()
virtual bool isOffscreenRenderEnabled |
( |
| ) |
|
|
pure virtual |
Check if offscreen rendering is enabled.
- Returns
- true if enabled, false otherwise.
◆ removeCamera()
virtual void removeCamera |
( |
int |
index | ) |
|
|
pure virtual |
Remove camera.
- Parameters
-
index | [in] the index of the camera to remove. |
◆ setCopyToImage()
Copy to image.
- Parameters
-
img | [out] image to copy to. |
◆ setCopyToScan25D()
Copy to point cloud.
- Parameters
-
img | [out] point cloud to copy to. |
◆ setEnabled()
virtual void setEnabled |
( |
bool |
enabled | ) |
|
|
pure virtual |
Enable/disable group.
- Parameters
-
enabled | [in] true to enable, false to disable. |
◆ setMainCamera()
Set the main camera.
- Parameters
-
◆ setMultiSample()
virtual void setMultiSample |
( |
int |
samples | ) |
|
|
pure virtual |
Enable multi-sampling.
- Parameters
-
samples | [in] number of samples. |
◆ setOffscreenRenderColor()
Set color space for offscreen rendering.
- Parameters
-
color | [in] the color space to use. |
◆ setOffscreenRenderEnabled()
virtual bool setOffscreenRenderEnabled |
( |
bool |
enable | ) |
|
|
pure virtual |
Enable/disable offscreen rendering.
- Parameters
-
enable | [in] true to enable, false to disable. |
- Returns
- true if offscreen rendering was enabled, false if offscreen rendering is not possible.
◆ setOffscreenRenderSize()
virtual void setOffscreenRenderSize |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
pure virtual |
Set size for offscreen rendering.
- Parameters
-
The documentation for this class was generated from the following file: