Go to the documentation of this file.
11 #ifndef vtk_m_rendering_Canvas_h
12 #define vtk_m_rendering_Canvas_h
25 #define VTKM_DEFAULT_CANVAS_DEPTH 1.001f
59 virtual void BlendBackground();
95 const std::string& depthFieldName =
"depth")
const;
98 const char* depthFieldName =
"depth")
const;
139 virtual void SaveAs(
const std::string& fileName)
const;
185 bool horizontal)
const;
193 bool horizontal)
const;
201 const std::string& text)
const;
212 const std::string& text)
const;
219 const std::string& text,
223 void BeginTextRenderingBatch()
const;
226 void EndTextRenderingBatch()
const;
236 bool LoadFont()
const;
238 bool EnsureFontLoaded()
const;
244 struct CanvasInternals;
245 std::shared_ptr<CanvasInternals>
Internals;
250 #endif //vtk_m_rendering_Canvas_h
Definition: ColorLegendAnnotation.h:26
Manages an array-worth of data.
Definition: ArrayHandle.h:300
virtual void RefreshColorBuffer() const
Definition: Canvas.h:128
Definition: TextRenderer.h:27
Representation of a color.
Definition: Color.h:29
Groups connected points that have the same field value.
Definition: Atomic.h:19
Color Table for coloring arbitrary fields.
Definition: cont/ColorTable.h:89
#define VTKM_RENDERING_EXPORT
Definition: vtkm_rendering_export.h:44
Contains and manages the geometric data structures that VTK-m operates on.
Definition: DataSet.h:57
virtual void RefreshDepthBuffer() const
Definition: Canvas.h:129
Represents the image space that is the target of rendering.
Definition: Canvas.h:35
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::Int64 Id
Base type to use to index arrays.
Definition: Types.h:227
Definition: AxisAnnotation2D.h:29
Represent an axis-aligned 3D bounds in space.
Definition: Bounds.h:29
Definition: WorldAnnotator.h:27
float Float32
Base type to use for 32-bit floating-point numbers.
Definition: Types.h:157
double Float64
Base type to use for 64-bit floating-point numbers.
Definition: Types.h:161
Definition: TextAnnotationScreen.h:20
Specifies the viewport for a rendering.
Definition: Camera.h:37
virtual void SetViewportClipping(const vtkm::rendering::Camera &, bool)
Definition: Canvas.h:133
std::shared_ptr< CanvasInternals > Internals
Definition: Canvas.h:244
Definition: ColorBarAnnotation.h:26