1#ifndef __FISH_BONE_GRIDACTOR_HPP
2#define __FISH_BONE_GRIDACTOR_HPP
4#include <ocean/plankton/VPipeline.hpp>
6#include <bundle/GridSelector.hpp>
7#include <bundle/BundleProperty.hpp>
93template <
class Gr
idInspector,
class CreativeObject =
void>
110 template <
unsigned ID>
124#ifdef VERBOSE_GRIDACTOR
125 printf(
"----> GridActor::accept() %s looking at %s\n",
155#ifdef VERBOSE_GRIDACTOR
156 printf(
"GRIDACTOR: NO BUNDLE YET in [%s] -> [%s] - allowing all output objects. "
157 "If that is not desirable, object should output an empty bundle.\n",
158 vobj->Name().c_str(),
GPar->Name().c_str()
161 return Base_t::accept(
vobj)*0.5 &
"There is no Bundle yet on the given Grid, this output "
162 "might be possible, but not necessarily suitable.";
169 if (GS.
hasProperty(GridInspector::InspectionProperty() ) )
171#ifdef VERBOSE_GRIDACTOR
172 puts(
"OUTPUT BUNDLE HAS REQUESTED PROPERTY - output object permitted");
176 "The suggested output is suitable to the properties of the given Grid.";
185template <
class CreativeObject>
196 template <
unsigned ID>
221template <
class Gr
idFunctionObject>
230 template <
unsigned ID>
237template <
class Gr
idFunctionObject,
class OutputObject>
246 template <
unsigned ID>
254template <
class Gr
idFunctionObject,
class OutputObject>
263 template <
unsigned ID>
269template <
class Gr
idFunctionObject>
278 template <
unsigned ID>
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
Context information to select a grid from within a bundle.
Definition GridSelector.hpp:26
const Fiber::BundlePtr & BundleSource() const
Provide the original bundle of from where the Grid was selected.
Definition GridSelector.hpp:109
bool hasProperty(const BundleProperty &theProperty) const
Check this GridSelector for a certain property.
Definition GridSelector.hpp:251
A Grid is a set of Skeleton objects, each of them accessed via some unique SkeletonID object.
Definition Grid.hpp:60
const T & getValue(index_t i) const
Get the value, readonly.
Definition vector/Iterator.hpp:718
VAcceptInfoList_t accept(const RefPtr< VObject > &vobj) const override
MEMCORE_API std::string Typename(const std::type_info &t)
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
note: cannot derive from FloatingSkeletonRenderer as long as independent base class TriangleRenderer ...
std::list< RefPtr< VAcceptInfo > > VAcceptInfoList_t
Creator for objects operating on certain kinds of Grid objects, providing an interface for the functi...
Definition GridActor.hpp:95
GridActor(const VCreatorProperty< ID > &CreatorProperties, int quality, const RefPtr< VCreationPreferences > &VP=nullptr, const char *const CreatorReleaseIdentifier=VISH_INPUT_CREATOR_RELEASE_IDENTIFIER)
Construct grid actor from creation properties.
Definition GridActor.hpp:111
GridActor(const std::string &name, int quality, const RefPtr< VCreationPreferences > &VP=nullptr, const char *const CreatorReleaseIdentifier=VISH_INPUT_CREATOR_RELEASE_IDENTIFIER)
Construct grid actor from name and quality description.
Definition GridActor.hpp:101
VAcceptInfoList_t accept(const RefPtr< VObject > &vobj) const override
Acceptance function: check whether a grid exists with a Skeleton of type (1,1) (dimensionality one,...
Definition GridActor.hpp:122