Go to the documentation of this file.
19 #ifndef viskores_rendering_Canvas_h
20 #define viskores_rendering_Canvas_h
33 #define VISKORES_DEFAULT_CANVAS_DEPTH 1.001f
43 class VISKORES_RENDERING_EXPORT
Canvas
67 virtual void BlendBackground();
103 const std::string& colorFieldName =
"color",
104 const std::string& depthFieldName =
"depth")
const;
107 const char* depthFieldName =
"depth")
const;
148 virtual void SaveAs(
const std::string& fileName)
const;
194 bool horizontal)
const;
202 bool horizontal)
const;
210 const std::string& text)
const;
221 const std::string& text)
const;
228 const std::string& text,
232 void BeginTextRenderingBatch()
const;
235 void EndTextRenderingBatch()
const;
245 bool LoadFont()
const;
247 bool EnsureFontLoaded()
const;
253 struct CanvasInternals;
254 std::shared_ptr<CanvasInternals>
Internals;
259 #endif //viskores_rendering_Canvas_h
Definition: TextRenderer.h:35
Contains and manages the geometric data structures that Viskores operates on.
Definition: DataSet.h:66
virtual void SetViewportClipping(const viskores::rendering::Camera &, bool)
Definition: Canvas.h:142
Represent an axis-aligned 3D bounds in space.
Definition: Bounds.h:37
virtual void RefreshDepthBuffer() const
Definition: Canvas.h:138
Definition: ColorLegendAnnotation.h:34
Manages an array-worth of data.
Definition: ArrayHandle.h:313
std::shared_ptr< CanvasInternals > Internals
Definition: Canvas.h:253
Definition: TextAnnotationScreen.h:28
viskores::Int64 Id
Base type to use to index arrays.
Definition: Types.h:235
#define VISKORES_CONT
Definition: ExportMacros.h:65
Groups connected points that have the same field value.
Definition: Atomic.h:27
Color Table for coloring arbitrary fields.
Definition: cont/ColorTable.h:97
float Float32
Base type to use for 32-bit floating-point numbers.
Definition: Types.h:165
virtual void RefreshColorBuffer() const
Definition: Canvas.h:137
Specifies the viewport for a rendering.
Definition: Camera.h:45
Definition: WorldAnnotator.h:35
Definition: ColorBarAnnotation.h:34
double Float64
Base type to use for 64-bit floating-point numbers.
Definition: Types.h:169
Represents the image space that is the target of rendering.
Definition: Canvas.h:43
Representation of a color.
Definition: Color.h:37
Definition: AxisAnnotation2D.h:37