FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
FieldVisibilityInjector.hpp
1#ifndef __FISH_EYE_RETINA_FIELDVISIBILITY_HPP
2#define __FISH_EYE_RETINA_FIELDVISIBILITY_HPP
3
4#include <ocean/Anemonia/ShaderInjector.hpp>
5#include "fisheyeDllApi.h"
6
7namespace Wizt
8{
9
17{
19
20 virtual bool initializeAnemone(Anemone&RenderAnemone,
22 AnemoneCreator<>&AC) const = 0;
23
24 virtual bool isValidAnemone(const Anemone&RenderAnemone,
26 const AnemoneCreator<>&AC) const = 0;
27
28 virtual std::string vertex_shader(VRenderContext&Context) const = 0;
29 virtual std::string geometry_shader(VRenderContext&Context) const = 0;
30 virtual std::string fragment_shader(VRenderContext&Context) const = 0;
31
32};
33
34template<>
36{
37public:
38
39static bool setValueFromText(RefPtr<FieldVisibility>&, const string&s);
40static string Text(const RefPtr<FieldVisibility>&);
41
42};
43
44template <>
46{
48 {
49 return Source;
50 }
51};
52
53
54#if 0
56{
58
59 bool initializeAnemone(Anemone&RenderAnemone,
61 AnemoneCreator<>&AC) const override;
62
63 std::string vertex_shader(VRenderContext&Context) const override;
64 std::string geometry_shader(VRenderContext&Context) const override;
65 std::string fragment_shader(VRenderContext&Context) const override;
66};
67#endif
68
69} // namespace
70
71#endif // __FISH_EYE_RETINA_FIELDVISIBILITY_HPP
constexpr _OI copy(_II __first, _II __last, _OI __result)
basic_string< char > string
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
note: cannot derive from FloatingSkeletonRenderer as long as independent base class TriangleRenderer ...
A GLSL shader injector that provides a function.
Definition FieldVisibilityInjector.hpp:17