|
| View2D (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)) |
|
| View2D (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)) |
|
void | Paint () override |
| Render a scene and store the result in the canvas' buffers. More...
|
|
void | RenderScreenAnnotations () override |
|
void | RenderWorldAnnotations () override |
|
| 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 () |
|
const vtkm::rendering::Scene & | GetScene () const |
| Specify the scene object holding the objects to render. More...
|
|
vtkm::rendering::Scene & | GetScene () |
| Specify the scene object holding the objects to render. More...
|
|
void | SetScene (const vtkm::rendering::Scene &scene) |
| Specify the scene object holding the objects to render. More...
|
|
const vtkm::rendering::Mapper & | GetMapper () const |
| Specify the mapper object determining how objects are rendered. More...
|
|
vtkm::rendering::Mapper & | GetMapper () |
| Specify the mapper object determining how objects are rendered. More...
|
|
const vtkm::rendering::Canvas & | GetCanvas () const |
| Specify the canvas object that holds the buffer to render into. More...
|
|
vtkm::rendering::Canvas & | GetCanvas () |
| Specify the canvas object that holds the buffer to render into. More...
|
|
const vtkm::rendering::WorldAnnotator & | GetWorldAnnotator () const |
|
const vtkm::rendering::Camera & | GetCamera () const |
| Specify the perspective from which to render a scene. More...
|
|
vtkm::rendering::Camera & | GetCamera () |
| Specify the perspective from which to render a scene. More...
|
|
void | SetCamera (const vtkm::rendering::Camera &camera) |
| Specify the perspective from which to render a scene. More...
|
|
const vtkm::rendering::Color & | GetBackgroundColor () const |
| Specify the color used where nothing is rendered. More...
|
|
void | SetBackgroundColor (const vtkm::rendering::Color &color) |
| Specify the color used where nothing is rendered. More...
|
|
void | SetForegroundColor (const vtkm::rendering::Color &color) |
| Specify the color of foreground elements. More...
|
|
bool | GetWorldAnnotationsEnabled () const |
|
void | SetWorldAnnotationsEnabled (bool val) |
|
void | SetRenderAnnotationsEnabled (bool val) |
|
bool | GetRenderAnnotationsEnabled () const |
|
void | RenderAnnotations () |
|
void | SaveAs (const std::string &fileName) const |
| Save the rendered image. More...
|
|
void | SetAxisColor (vtkm::rendering::Color c) |
|
void | ClearTextAnnotations () |
|
void | AddTextAnnotation (std::unique_ptr< vtkm::rendering::TextAnnotation > ann) |
|
void | ClearAdditionalAnnotations () |
|
void | AddAdditionalAnnotation (std::function< void(void)> ann) |
|
A view for a 3D data set.
2D data are rendered directly on the X-Y plane.