FiberVISH
0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
pond
eye
retina
PictureBase.hpp
1
#ifndef FISH_POND_EYE_RETINA_PICTURE_BASE_HPP
2
#define FISH_POND_EYE_RETINA_PICTURE_BASE_HPP
3
4
#include <anemonefish/ShadedFieldAnemone.hpp>
5
#include <ocean/Anemonia/ShaderConditionals.hpp>
6
7
#include "PictureInjector.hpp"
8
9
namespace
Wizt
10
{
11
12
struct
fisheye_API
PictureBase
:
public
FieldAnemone
13
,
public
FloatingAnemone
14
,
public
Programmable
15
,
public
ShaderConditionals
16
{
17
using
GridInspector
=
Fiber::GridInspector<isFragmentedUniformCartesianGrid>
;
18
using
InputTypes
=
LIST<rgb_t, rgba_t, rgb16_t, rgba16_t>
;
19
20
using
glsl = RenderBasin::glsl;
21
22
PictureBase
(
const
string
&name,
int
pRenderCategory
,
const
RefPtr<VCreationPreferences>
&
VP
);
23
~PictureBase
();
24
25
static
glsl getPixelDefinitions();
26
static
glsl getLaplaceDefinitions();
27
28
RefPtr<GridAnemone::AnemoneExplorer>
29
getAnemoneExplorer(
VRenderContext
&
Context
)
const override
;
30
31
virtual
bool
doDraw3D(
const
RefPtr<ValuePool>
&
Context
)
const
;
32
33
RefPtr<BoundingBall>
getBoundingBall(
const
RefPtr<ValuePool>
&
Context
)
const override
;
34
RefPtr<BoundingBall>
getTouchableBoundingBall(
const
RefPtr<ValuePool>
&
Context
)
const override
;
35
RefPtr<BoundingBox>
getModifiedBBox(
const
RefPtr<ValuePool>
&
Context
,
36
Fiber::CreativeArrayBase
&
CoordinateFragment
,
37
const
RefPtr<Fiber::FragmentID>
&
theFragmentID
,
38
const
RefPtr<Fiber::Skeleton>
&
DestVertexSkeleton
,
39
const
RefPtr<Fiber::Chart>
&
chart
,
40
bool
AllowAsynchLoading
)
const override
;
41
42
43
using
ImageDataResult_t
=
std::tuple<AnemoneRenderStatus, RefPtr<BoundingBox>
,
44
RefPtr<ChunkBase>
,
RefPtr<SizeInterface>
>;
45
46
ImageDataResult_t
47
retrieveImageData(
Anemone
&RenderAnemone,
48
const
AnemoneCreationContext
&
ARC
,
49
const
RefPtr<AnemoneExplorer>
&
AE
)
const
;
50
51
52
53
bool
isValidAnemone (
const
Anemone
&RenderAnemone,
const
AnemoneCreationContext
&
ARC
,
const
RefPtr<AnemoneExplorer>
&
AE
)
const override
;
54
55
56
57
bool
updateAnemone(
Anemone
&RenderAnemone,
const
AnemoneCreationContext
&
ARC
,
const
RefPtr<AnemoneExplorer>
&
AE
)
const
;
58
69
glsl vertex_shader(
VRenderContext
&
Context
)
const override
;
70
71
};
72
73
74
struct
fisheye_API
PictureInjectorBase
:
PictureBase
75
{
76
in<PictureInjector>
myPictureInjector;
77
78
PictureInjectorBase
(
const
string
&name,
int
pRenderCategory
,
const
RefPtr<VCreationPreferences>
&
VP
);
79
80
~PictureInjectorBase
();
81
};
82
83
84
}
// namespace Wizt
85
86
#endif
// FISH_POND_EYE_RETINA_PICTURE_BASE_HPP
std::tuple
Eagle::Context
Fiber::CreativeArrayBase
Base class for multidimensional arrays that employ deferred storage, i.e.
Definition
CreativeArrayBase.hpp:75
Fiber::CreativeIterator
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition
CreativeIterator.hpp:34
Wizt::Anemone
Wizt::FieldAnemone
Base class for objects that render information given on a Field.
Definition
FieldAnemone.hpp:39
Wizt::Programmable
Wizt::VRenderContext
Wizt
note: cannot derive from FloatingSkeletonRenderer as long as independent base class TriangleRenderer ...
Wizt::FloatingAnemone
Definition
FloatingAnemone.hpp:57
Wizt::GridAnemoneCreationContext
The context of creating a RenderAnemone.
Definition
AnemoneCreationContext.hpp:58
Wizt::PictureBase
Definition
PictureBase.hpp:16
Wizt::PictureInjectorBase
Definition
PictureBase.hpp:75
Wizt::ShaderConditionals
Generated on Sun Mar 1 2026 10:23:14 for FiberVISH by
1.9.8