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

#include <View3D.h>

Inheritance diagram for vtkm::rendering::View3D:
Inheritance graph
[legend]
Collaboration diagram for vtkm::rendering::View3D:
Collaboration graph
[legend]

Public Member Functions

 View3D (const vtkm::rendering::Scene &scene, const vtkm::rendering::Mapper &mapper, const vtkm::rendering::Canvas &canvas, const vtkm::rendering::Color &backgroundColor=vtkm::rendering::Color(0, 0, 0, 1), const vtkm::rendering::Color &foregroundColor=vtkm::rendering::Color(1, 1, 1, 1))
 
 View3D (const vtkm::rendering::Scene &scene, const vtkm::rendering::Mapper &mapper, const vtkm::rendering::Canvas &canvas, const vtkm::rendering::Camera &camera, const vtkm::rendering::Color &backgroundColor=vtkm::rendering::Color(0, 0, 0, 1), const vtkm::rendering::Color &foregroundColor=vtkm::rendering::Color(1, 1, 1, 1))
 
 ~View3D ()
 
void Paint () override
 
void RenderScreenAnnotations () override
 
void RenderWorldAnnotations () override
 
- Public Member Functions inherited from vtkm::rendering::View
 View (const vtkm::rendering::Scene &scene, const vtkm::rendering::Mapper &mapper, const vtkm::rendering::Canvas &canvas, const vtkm::rendering::Color &backgroundColor=vtkm::rendering::Color(0, 0, 0, 1), const vtkm::rendering::Color &foregroundColor=vtkm::rendering::Color(1, 1, 1, 1))
 
 View (const vtkm::rendering::Scene &scene, const vtkm::rendering::Mapper &mapper, const vtkm::rendering::Canvas &canvas, const vtkm::rendering::Camera &camera, const vtkm::rendering::Color &backgroundColor=vtkm::rendering::Color(0, 0, 0, 1), const vtkm::rendering::Color &foregroundColor=vtkm::rendering::Color(1, 1, 1, 1))
 
virtual ~View ()
 
VTKM_CONT const vtkm::rendering::SceneGetScene () const
 
VTKM_CONT vtkm::rendering::SceneGetScene ()
 
VTKM_CONT void SetScene (const vtkm::rendering::Scene &scene)
 
VTKM_CONT const vtkm::rendering::MapperGetMapper () const
 
VTKM_CONT vtkm::rendering::MapperGetMapper ()
 
VTKM_CONT const vtkm::rendering::CanvasGetCanvas () const
 
VTKM_CONT vtkm::rendering::CanvasGetCanvas ()
 
VTKM_CONT const vtkm::rendering::WorldAnnotatorGetWorldAnnotator () const
 
VTKM_CONT const vtkm::rendering::CameraGetCamera () const
 
VTKM_CONT vtkm::rendering::CameraGetCamera ()
 
VTKM_CONT void SetCamera (const vtkm::rendering::Camera &camera)
 
VTKM_CONT const vtkm::rendering::ColorGetBackgroundColor () const
 
VTKM_CONT void SetBackgroundColor (const vtkm::rendering::Color &color)
 
VTKM_CONT void SetForegroundColor (const vtkm::rendering::Color &color)
 
virtual void Initialize ()
 
void SaveAs (const std::string &fileName) const
 
VTKM_CONT void SetAxisColor (vtkm::rendering::Color c)
 
VTKM_CONT void ClearAnnotations ()
 
VTKM_CONT void AddAnnotation (std::unique_ptr< vtkm::rendering::TextAnnotation > ann)
 

Private Attributes

vtkm::rendering::BoundingBoxAnnotation BoxAnnotation
 
vtkm::rendering::AxisAnnotation3D XAxisAnnotation
 
vtkm::rendering::AxisAnnotation3D YAxisAnnotation
 
vtkm::rendering::AxisAnnotation3D ZAxisAnnotation
 
vtkm::rendering::ColorBarAnnotation ColorBarAnnotation
 

Additional Inherited Members

- Protected Member Functions inherited from vtkm::rendering::View
void SetupForWorldSpace (bool viewportClip=true)
 
void SetupForScreenSpace (bool viewportClip=false)
 
void RenderAnnotations ()
 
- Protected Attributes inherited from vtkm::rendering::View
vtkm::rendering::Color AxisColor = vtkm::rendering::Color::white
 

Constructor & Destructor Documentation

vtkm::rendering::View3D::View3D ( const vtkm::rendering::Scene scene,
const vtkm::rendering::Mapper mapper,
const vtkm::rendering::Canvas canvas,
const vtkm::rendering::Color backgroundColor = vtkm::rendering::Color(0, 0, 0, 1),
const vtkm::rendering::Color foregroundColor = vtkm::rendering::Color(1, 1, 1, 1) 
)
vtkm::rendering::View3D::View3D ( const vtkm::rendering::Scene scene,
const vtkm::rendering::Mapper mapper,
const vtkm::rendering::Canvas canvas,
const vtkm::rendering::Camera camera,
const vtkm::rendering::Color backgroundColor = vtkm::rendering::Color(0, 0, 0, 1),
const vtkm::rendering::Color foregroundColor = vtkm::rendering::Color(1, 1, 1, 1) 
)
vtkm::rendering::View3D::~View3D ( )

Member Function Documentation

void vtkm::rendering::View3D::Paint ( )
overridevirtual

Implements vtkm::rendering::View.

void vtkm::rendering::View3D::RenderScreenAnnotations ( )
overridevirtual

Implements vtkm::rendering::View.

void vtkm::rendering::View3D::RenderWorldAnnotations ( )
overridevirtual

Implements vtkm::rendering::View.

Member Data Documentation

vtkm::rendering::BoundingBoxAnnotation vtkm::rendering::View3D::BoxAnnotation
private
vtkm::rendering::ColorBarAnnotation vtkm::rendering::View3D::ColorBarAnnotation
private
vtkm::rendering::AxisAnnotation3D vtkm::rendering::View3D::XAxisAnnotation
private
vtkm::rendering::AxisAnnotation3D vtkm::rendering::View3D::YAxisAnnotation
private
vtkm::rendering::AxisAnnotation3D vtkm::rendering::View3D::ZAxisAnnotation
private

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