FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
VSkeletonRenderObject.hpp
1#ifndef __VSKELETONRENDEROBJECT_HPP
2#define __VSKELETONRENDEROBJECT_HPP
3
4#include <bone/FishGrid.hpp>
5#include <bone/FishSlice.hpp>
6#include <bone/FishSkeleton.hpp>
7#include <ocean/GLvish/VGLRenderObject.hpp>
8
9#include "fisheyeDllApi.h"
10
11namespace Wizt
12{
13
18 virtual public Fish<Fiber::Slice>,
19 virtual public Fish<Fiber::Skeleton>,
20 virtual public Fish<Fiber::Grid>
21{
22public:
23 out<Fiber::Grid> outVisibleGrid;
24
25 void exportVisibleGrid(const RefPtr<ValuePool>&Context) const;
26
30 VSkeletonRenderObject(const string&name, int p, const RefPtr<VCreationPreferences>&VP)
31 : VGLRenderObject(name, p, VP)
32 , outVisibleGrid(this, "VisibleGrid")
33 {}
34
37
38 using Fish<Fiber::Slice>::getTime;
39
40 double getTime(const RefPtr<ValuePool>&R) const
41 {
42 return getTime( R, getGridSelector(R).BundleSource() );
43 }
44
45
46// bool update(VRequest&R, double precision) override;
47
48#if 0
49 using Fish<Fiber::Grid>::getRefinementLevel;
50
55 pair<double, RefPtr<Fiber::Skeleton> > getRefinementLevel(const RefPtr<ValuePool>&VP,
56 int L, int IndexDepth = 0) const
57 {
58 return getRefinementLevel( GridSpacetimeSlot(), VP, L, IndexDepth);
59// return getRefinementLevel( MySpacetime, VP, L, IndexDepth);
60 }
61#endif
62
63 bool CreatedFilteredConnection(const RefPtr<VParameter>&SourceParam) override;
64
65 void InputCreation(const RefPtr<VParameter>&CurrentObjectsInput,
66 const RefPtr<VObject>&NewlyCreatedObject,
67 const RefPtr<VParameter>&TheNewObjectsOutputParameter) override;
68
69};
70
71} // namespace Wizt
72
73#endif // __VSKELETONRENDEROBJECT_HPP
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
A Grid is a set of Skeleton objects, each of them accessed via some unique SkeletonID object.
Definition Grid.hpp:60
Information per time slice, mainly a set of Grid objects that are accessed via GridID objects.
Definition Slice.hpp:36
Base class for objects rendering skeletons of a fiber bundle.
Definition VSkeletonRenderObject.hpp:21
VSkeletonRenderObject(const string &name, int p, const RefPtr< VCreationPreferences > &VP)
Default VISH constructor, to be created via some VCreator<> instance.
Definition VSkeletonRenderObject.hpp:30
note: cannot derive from FloatingSkeletonRenderer as long as independent base class TriangleRenderer ...