VTK-m  2.2
Public Member Functions | Private Attributes | List of all members
vtkm::rendering::Scene Class Reference

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::ActorGetActor (vtkm::IdComponent index) const
 Get one of the Actors from the scene. More...
 
vtkm::IdComponent GetNumberOfActors () const
 Get the number of Actors 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 Actors. More...
 

Private Attributes

std::shared_ptr< InternalsType > Internals
 

Detailed Description

A simple collection of things to render.

The Scene is a simple collection of Actor objects.

Constructor & Destructor Documentation

◆ Scene()

vtkm::rendering::Scene::Scene ( )

Member Function Documentation

◆ AddActor()

void vtkm::rendering::Scene::AddActor ( vtkm::rendering::Actor  actor)

Add an Actor to the scene.

◆ GetActor()

const vtkm::rendering::Actor& vtkm::rendering::Scene::GetActor ( vtkm::IdComponent  index) const

Get one of the Actors from the scene.

◆ GetNumberOfActors()

vtkm::IdComponent vtkm::rendering::Scene::GetNumberOfActors ( ) const

Get the number of Actors in the scene.

◆ GetSpatialBounds()

vtkm::Bounds vtkm::rendering::Scene::GetSpatialBounds ( ) const

The computed spatial bounds of combined data from all contained Actors.

◆ Render()

void vtkm::rendering::Scene::Render ( vtkm::rendering::Mapper mapper,
vtkm::rendering::Canvas canvas,
const vtkm::rendering::Camera camera 
) const

Member Data Documentation

◆ Internals

std::shared_ptr<InternalsType> vtkm::rendering::Scene::Internals
private

The documentation for this class was generated from the following file: