|
| CanvasRayTracer (vtkm::Id width=1024, vtkm::Id height=1024) |
|
| ~CanvasRayTracer () |
|
vtkm::rendering::Canvas * | NewCopy () const override |
|
void | WriteToCanvas (const vtkm::rendering::raytracing::Ray< vtkm::Float32 > &rays, const vtkm::cont::ArrayHandle< vtkm::Float32 > &colors, const vtkm::rendering::Camera &camera) |
|
void | WriteToCanvas (const vtkm::rendering::raytracing::Ray< vtkm::Float64 > &rays, const vtkm::cont::ArrayHandle< vtkm::Float64 > &colors, const vtkm::rendering::Camera &camera) |
|
| Canvas (vtkm::Id width=1024, vtkm::Id height=1024) |
|
virtual | ~Canvas () |
|
virtual void | Clear () |
|
virtual void | BlendBackground () |
|
VTKM_CONT vtkm::Id | GetWidth () const |
|
VTKM_CONT vtkm::Id | GetHeight () const |
|
const VTKM_CONT ColorBufferType & | GetColorBuffer () const |
|
VTKM_CONT ColorBufferType & | GetColorBuffer () |
|
const VTKM_CONT DepthBufferType & | GetDepthBuffer () const |
|
VTKM_CONT DepthBufferType & | GetDepthBuffer () |
|
VTKM_CONT void | ResizeBuffers (vtkm::Id width, vtkm::Id height) |
|
const VTKM_CONT vtkm::rendering::Color & | GetBackgroundColor () const |
|
VTKM_CONT void | SetBackgroundColor (const vtkm::rendering::Color &color) |
|
const VTKM_CONT vtkm::rendering::Color & | GetForegroundColor () const |
|
VTKM_CONT void | SetForegroundColor (const vtkm::rendering::Color &color) |
|
VTKM_CONT vtkm::Id2 | GetScreenPoint (vtkm::Float32 x, vtkm::Float32 y, vtkm::Float32 z, const vtkm::Matrix< vtkm::Float32, 4, 4 > &transfor) const |
|
virtual void | RefreshColorBuffer () const |
|
virtual void | RefreshDepthBuffer () const |
|
virtual void | SetViewToWorldSpace (const vtkm::rendering::Camera &camera, bool clip) |
|
virtual void | SetViewToScreenSpace (const vtkm::rendering::Camera &camera, bool clip) |
|
virtual void | SetViewportClipping (const vtkm::rendering::Camera &, bool) |
|
virtual void | SaveAs (const std::string &fileName) const |
|
virtual vtkm::rendering::WorldAnnotator * | CreateWorldAnnotator () const |
| Creates a WorldAnnotator of a type that is paired with this Canvas. More...
|
|
virtual VTKM_CONT void | AddColorSwatch (const vtkm::Vec2f_64 &point0, const vtkm::Vec2f_64 &point1, const vtkm::Vec2f_64 &point2, const vtkm::Vec2f_64 &point3, const vtkm::rendering::Color &color) const |
|
VTKM_CONT void | AddColorSwatch (const vtkm::Float64 x0, const vtkm::Float64 y0, const vtkm::Float64 x1, const vtkm::Float64 y1, const vtkm::Float64 x2, const vtkm::Float64 y2, const vtkm::Float64 x3, const vtkm::Float64 y3, const vtkm::rendering::Color &color) const |
|
virtual VTKM_CONT void | AddLine (const vtkm::Vec2f_64 &point0, const vtkm::Vec2f_64 &point1, vtkm::Float32 linewidth, const vtkm::rendering::Color &color) const |
|
VTKM_CONT void | AddLine (vtkm::Float64 x0, vtkm::Float64 y0, vtkm::Float64 x1, vtkm::Float64 y1, vtkm::Float32 linewidth, const vtkm::rendering::Color &color) const |
|
virtual VTKM_CONT void | AddColorBar (const vtkm::Bounds &bounds, const vtkm::cont::ColorTable &colorTable, bool horizontal) const |
|
VTKM_CONT void | AddColorBar (vtkm::Float32 x, vtkm::Float32 y, vtkm::Float32 width, vtkm::Float32 height, const vtkm::cont::ColorTable &colorTable, bool horizontal) const |
|
virtual void | AddText (const vtkm::Vec2f_32 &position, vtkm::Float32 scale, vtkm::Float32 angle, vtkm::Float32 windowAspect, const vtkm::Vec2f_32 &anchor, const vtkm::rendering::Color &color, const std::string &text) const |
|
VTKM_CONT void | AddText (vtkm::Float32 x, vtkm::Float32 y, vtkm::Float32 scale, vtkm::Float32 angle, vtkm::Float32 windowAspect, vtkm::Float32 anchorX, vtkm::Float32 anchorY, const vtkm::rendering::Color &color, const std::string &text) const |
|
VTKM_CONT void | AddText (const vtkm::Matrix< vtkm::Float32, 4, 4 > &transform, vtkm::Float32 scale, const vtkm::Vec2f_32 &anchor, const vtkm::rendering::Color &color, const std::string &text, const vtkm::Float32 &depth=0) const |
|
VTKM_CONT void | BeginTextRenderingBatch () const |
|
VTKM_CONT void | EndTextRenderingBatch () const |
|
VTKM_CONT vtkm::cont::DataSet | GetDataSet (const std::string &colorFieldName="color", const std::string &depthFieldName="depth") const |
| Gets the image in this Canvas as a vtkm::cont::DataSet . More...
|
|
VTKM_CONT vtkm::cont::DataSet | GetDataSet (const char *colorFieldName, const char *depthFieldName="depth") const |
| Gets the image in this Canvas as a vtkm::cont::DataSet . More...
|
|