FiberVISH
0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
pond
anemonefish
FloatingAnemone.hpp
1
#ifndef __ANEMONEFISH_FLOATING_ANEMONE_HPP
2
#define __ANEMONEFISH_FLOATING_ANEMONE_HPP
3
4
#include <ocean/Anemonia/FloatOrigin.hpp>
5
6
#include "GridAnemone.hpp"
7
//#include "FloatingOriginShaderFunctions.hpp"
8
9
namespace
Wizt
10
{
11
12
17
struct
anemonefish_API
FloatingOriginAnemone
:
public
FloatOrigin
18
{
19
~FloatingOriginAnemone
();
20
33
RefPtr<GridAnemone::AnemoneExplorer>
34
getAnemoneExplorer(
const
WeakPtr<GridAnemone>
&
theGridAnemone
,
VRenderContext
&
Context
)
const
;
35
36
static
RefPtr<RenderBasin::VertexAttribute>
37
createPossiblyShiftedVertices(
const
RefPtr
<
TypedChunk<Eagle::PhysicalSpace::point>
>&
Coordinates
,
38
const
GridAnemone::AnemoneCreationContext
&
ARC
,
39
const
RefPtr<GridAnemone::AnemoneExplorer>
&
AE
);
40
41
bool
hasChangedAbsoluteTranslationVector(
const
RefPtr<GridAnemone::AnemoneExplorer>
&
AE
)
const
;
42
};
43
44
56
struct
anemonefish_API
FloatingAnemone
:
public
FloatingOriginAnemone
57
{
76
// string TranslationVectorUniformName = "TranslationVector";
77
86
// string CenterShiftVectorUniformName = "CenterShift";
87
88
// [[deprecated("This is actually the vertex offset by which vertices are shifted")]]
89
// const char*getFloatingOrigin() const;
90
91
// string RelativeObserverUniformName = "RelativeObserver";
92
93
~FloatingAnemone
();
94
95
#if 0
96
static
string
WorldToScreen(
const
string
&
TranslationVectorName
);
97
111
string
WorldToScreen
()
const override
;
112
#endif
113
152
// string FloatOriginShaderCode() const override;
153
154
using
FloatingOriginAnemone::getAnemoneExplorer
;
155
156
157
string
getShaderPrefix(
const
GridAnemone::AnemoneCreationContext
&
ARC
,
158
const
GridAnemone::AnemoneExplorer
&
AE
)
const
;
159
171
bool
initializeTranslation(
Anemone
&RenderAnemone,
172
const
GridAnemone::AnemoneCreationContext
&
ARC
,
173
const
RefPtr<GridAnemone::AnemoneExplorer>
&
AE
)
const
;
174
175
bool
updateTranslation(
Anemone
&RenderAnemone,
176
const
GridAnemone::AnemoneCreationContext
&
ARC
,
177
const
RefPtr<GridAnemone::AnemoneExplorer>
&
AE
)
const
;
178
187
static
RefPtr<RenderBasin::VertexAttribute>
188
createPossiblyShiftedVertices(
const
RefPtr
<
TypedChunk<Eagle::PhysicalSpace::point>
>&
Coordinates
,
189
const
BoundingBox
&BBox,
190
const
GridAnemone::AnemoneCreationContext
&
ARC
,
191
const
RefPtr<GridAnemone::AnemoneExplorer>
&
AE
);
192
204
static
RefPtr<RenderBasin::VertexAttribute>
205
createPossiblyShiftedVertices(
const
RefPtr<Fiber::MemBase>
&
Coordinates
,
206
const
BoundingBox
&BBox,
207
const
GridAnemone::AnemoneCreationContext
&
ARC
,
208
const
RefPtr<GridAnemone::AnemoneExplorer>
&
AE
,
209
const
MemCore::Attributes
&
Attribs
,
210
bool
AllowProceduralCoordinates
);
211
221
static
std::pair<RefPtr<RenderBasin::VertexAttribute>
,
bool
>
222
createPossiblyShiftedVertices(
Fiber::CreativeArrayBase
&myPrimaryDataFragment,
223
const
GridAnemone::AnemoneCreationContext
&
ARC
,
224
const
RefPtr<GridAnemone::AnemoneExplorer>
&
AE
,
225
bool
AllowProceduralCoordinates
,
226
const
Fiber::CreativeArrayBase::result&
AsyncCallback
);
227
228
};
229
230
}
// namespace
231
232
#endif
// __ANEMONEFISH_FLOATING_ANEMONE_HPP
std::pair
Eagle::BoundingBox
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
MemCore::Attributes
MemCore::StrongPtr
Wizt::Anemone
Wizt::VRenderContext
Wizt
note: cannot derive from FloatingSkeletonRenderer as long as independent base class TriangleRenderer ...
Wizt::FloatOrigin
Wizt::FloatingAnemone
Definition
FloatingAnemone.hpp:57
Wizt::FloatingAnemone::WorldToScreen
string WorldToScreen() const override
Wizt::FloatingOriginAnemone
Definition
FloatingAnemone.hpp:18
Wizt::FloatingOriginAnemone::getAnemoneExplorer
RefPtr< GridAnemone::AnemoneExplorer > getAnemoneExplorer(const WeakPtr< GridAnemone > &theGridAnemone, VRenderContext &Context) const
Definition
FloatingAnemone.cpp:364
Wizt::GridAnemoneCreationContext
The context of creating a RenderAnemone.
Definition
AnemoneCreationContext.hpp:58
Wizt::GridAnemone::AnemoneExplorer
The Anemone Explorer is an object that lives throughout rendering of a set of Anemones.
Definition
GridAnemone.hpp:204
Generated on Sun Mar 1 2026 10:23:11 for FiberVISH by
1.9.8