FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
ColorizedFloatSliceRenderer.hpp
1#ifndef __FISH_ANEMONEFISH_COLORIZED_FLOAT_SLICE_RENDERER_HPP
2#define __FISH_ANEMONEFISH_COLORIZED_FLOAT_SLICE_RENDERER_HPP
3
4#include "FieldSlice.hpp"
5#include <ocean/Anemonia/Colorizer.hpp>
6#include <ocean/Anemonia/Programmable.hpp>
7
8namespace Wizt
9{
10
16{
17public:
19
20protected:
21 in<Enum> Mode;
22
24
27
30
31public:
32
35
37
42 string getShaderAttributeName( const TypedSlot<Fiber::Field>&) const override;
43
44
48 void setTextureMode(VRenderContext&Context,
51
55 bool updateColormap(VRenderContext&Context,
56 Anemone&RenderAnemone,
58 ) const;
59
64 bool updateFieldSliceAnemone(VRenderContext&Context,
68 const RefPtr<Fiber::FragmentID>&Fid) const override;
69
77 bool addRenderFragment(VRenderContext&Context,
82 const LevelData::FieldList_t&theOutputFields) const override;
83
84
85
92 std::string vertex_shader(VRenderContext&Context) const override;
93
100 std::string fragment_shader(VRenderContext&Context) const override;
101};
102
103} // namespace Wizt
104
105
106#endif // __FISH_ANEMONEFISH_COLORIZED_FLOAT_SLICE_RENDERER_HPP
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
Base class for a common properties of render objects rendering a 2D slice of a 3D scalar field.
Definition ColorizedFloatSliceRenderer.hpp:16
std::string ColormapTextureName
The name of the color map texture in the shader.
Definition ColorizedFloatSliceRenderer.hpp:26
std::string DataTextureName
The name of the data texture in the shader.
Definition ColorizedFloatSliceRenderer.hpp:29
note: cannot derive from FloatingSkeletonRenderer as long as independent base class TriangleRenderer ...
RenderCategory
The 2D field data extracted from the 3D data, including object-local data transformations.
Definition anemonefish/FieldSlice.hpp:44
Definition anemonefish/FieldSlice.hpp:23