VTK-m
2.2
|
A simple collection of things to render. More...
#include <Scene.h>
Public Member Functions | |
Scene () | |
void | AddActor (vtkm::rendering::Actor actor) |
Add an Actor to the scene. More... | |
const vtkm::rendering::Actor & | GetActor (vtkm::IdComponent index) const |
Get one of the Actor s from the scene. More... | |
vtkm::IdComponent | GetNumberOfActors () const |
Get the number of Actor s in the scene. More... | |
void | Render (vtkm::rendering::Mapper &mapper, vtkm::rendering::Canvas &canvas, const vtkm::rendering::Camera &camera) const |
vtkm::Bounds | GetSpatialBounds () const |
The computed spatial bounds of combined data from all contained Actor s. More... | |
Private Attributes | |
std::shared_ptr< InternalsType > | Internals |
vtkm::rendering::Scene::Scene | ( | ) |
void vtkm::rendering::Scene::AddActor | ( | vtkm::rendering::Actor | actor | ) |
const vtkm::rendering::Actor& vtkm::rendering::Scene::GetActor | ( | vtkm::IdComponent | index | ) | const |
Get one of the Actor
s from the scene.
vtkm::IdComponent vtkm::rendering::Scene::GetNumberOfActors | ( | ) | const |
Get the number of Actor
s in the scene.
vtkm::Bounds vtkm::rendering::Scene::GetSpatialBounds | ( | ) | const |
The computed spatial bounds of combined data from all contained Actor
s.
void vtkm::rendering::Scene::Render | ( | vtkm::rendering::Mapper & | mapper, |
vtkm::rendering::Canvas & | canvas, | ||
const vtkm::rendering::Camera & | camera | ||
) | const |
|
private |