FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Aircrafts.hpp
1#ifndef __EYE_AIRCRAFT_HPP
2#define __EYE_AIRCRAFT_HPP
3
4#include <ocean/Anemonia/Programmable.hpp>
5#include <ocean/Anemonia/Seagrass.hpp>
6#include <ocean/shrimp/VTime.hpp>
7#include <elementary/meta/LIST.hpp>
8
9#include <fish/pond/anemonefish/GridAnemone.hpp>
10
11namespace Wizt
12{
13
15{
16 typedef META::LIST<Eagle::tvector3,
18
19// typedef META::LIST<Eagle::tvector3> FieldType;
20
21 const string VectorFieldAttributeName;
22
23 VObject::in<double>
24 LengthScale,
25 DistanceSizeExponent,
26
27 MaxVelocity,
28 StrengthOfSearchLightEffect,
29 StrengthOfDopplerShift;
30
31 VObject::in<VTime> AnimationTime;
32
34
36
37static constexpr bool hasShaderConditionals = false;
38
40 bool initializeAnemone(Anemone&RenderAnemone,
42 const AnemoneCreator<>&AC) const;
43
56
57
58 bool isValidAnemone(const Anemone&RenderAnemone,
60 const AnemoneCreator<>&AC) const
61 {
62 return true;
63 }
64
65
67// std::string vertex_shader(VRenderContext&Context) const override;
68
69 std::string geometry_shader(VRenderContext&Context) const override;
70
72// std::string fragment_shader(VRenderContext&Context) const override;
73
75 {
76 return VectorFieldAttributeName;
77 }
78};
79
80
81} // namespace Wizt
82
83#endif // __EYE_AIRCRAFT_HPP
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 ...
Definition Lytica.hpp:7
Definition Aircrafts.hpp:15
std::string geometry_shader(VRenderContext &Context) const override
Vertexshader GLGS code.
Definition Aircrafts.cpp:57
string getShaderAttributeName() const
Fragmentshader GLGS code that might stem from an text file.
Definition Aircrafts.hpp:74
RenderBasin::Program::Parameters setProgramParameters(const RenderBasin::Program::Parameters &P, Anemone &RenderAnemone, const GridAnemone::AnemoneCreationContext &ARC, const RefPtr< GridAnemone::AnemoneExplorer > &AE) const
Function called by VertexFieldShader<> template.
Definition Aircrafts.hpp:47
The context of creating a RenderAnemone.
Definition AnemoneCreationContext.hpp:58