18 #ifndef viskores_rendering_View_h
19 #define viskores_rendering_View_h
39 class VISKORES_RENDERING_EXPORT
View
120 virtual void Paint() = 0;
121 virtual void RenderScreenAnnotations() = 0;
122 virtual void RenderWorldAnnotations() = 0;
124 void RenderAnnotations();
127 void SaveAs(
const std::string& fileName)
const;
133 void ClearTextAnnotations();
136 void AddTextAnnotation(std::unique_ptr<viskores::rendering::TextAnnotation> ann);
139 void ClearAdditionalAnnotations();
142 void AddAdditionalAnnotation(std::function<
void(
void)> ann);
145 void SetupForWorldSpace(
bool viewportClip =
true);
147 void SetupForScreenSpace(
bool viewportClip =
false);
151 bool WorldAnnotationsEnabled =
true;
152 bool RenderAnnotationsEnabled =
true;
161 #endif //viskores_rendering_View_h