FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Types | Public Member Functions | List of all members
Wizt::TypedField< FieldTypes > Struct Template Reference

Construct a Fish object that can operate on various types of a field. More...

#include <FishField.hpp>

Inheritance diagram for Wizt::TypedField< FieldTypes >:
Wizt::Fish< Fiber::Field >

Public Types

using InputTypes = META::LIST< FieldTypes... >
 
- Public Types inherited from Wizt::Fish< Fiber::Field >
enum  { NumberOfInputFields = 1 }
 

Public Member Functions

 TypedField (const string &field, int ExpertLevel=0)
 
- Public Member Functions inherited from Wizt::Fish< Fiber::Field >
 Fish (const string &field, int ExpertLevel=0)
 Constructor, specify slot name for this field.
 
template<class ... T>
bool acceptType ()
 Tell this field to accept certain types.
 
void setFieldExpertLevel (int EL)
 Set the expert level of this slot.
 
 ~Fish ()
 Destructor, cleaning up.
 
void registerFieldAsOutput ()
 Make field visible as output.
 
string Fieldname (const RefPtr< ValuePool > &VP) const
 Get the name of the selected field.
 
string getFieldname (const RefPtr< ValuePool > &VP) const
 Get the name of the selected field.
 
RefPtr< Fiber::FieldgetField (const RefPtr< ValuePool > &VP) const
 Get a vertex field from the root level from the current selection.
 
RefPtr< Fiber::FieldgetField (const RefPtr< ValuePool > &VP, const string &theFieldName) const
 Get another field from the same Grid.
 
RefPtr< Fiber::FieldgetFieldRepresentation (const RefPtr< Fiber::Representation > &LevelRep, const RefPtr< ValuePool > &VP, const RefPtr< Fiber::Skeleton > &DestVertices, Fiber::Grid &SourceGrid, Fiber::Slice &DestGridSlice, const string &HelperDestGridName, bool StoreResult=true)
 Get Field from a possibly different Grid.
 
RefPtr< Fiber::FieldgetCoordinates (const RefPtr< ValuePool > &VP) const
 Get the coordinates on this Grid.
 
FieldSelector getFieldSelector (const RefPtr< ValuePool > &VP) const
 
double getTime (const RefPtr< ValuePool > &VP, const RefPtr< Fiber::Bundle > &SpaceTime) const override
 Get the time from the current field selector.
 
TypedSlot< VTimegetTimeSlot () const
 Return the associated time slot from the source object.
 
RefPtr< VManagedObjectgetSource () const
 Get the source object of this field slot, can be used to check if the field is connected to a source at all.
 
bool IterateLevels (LevelIterator &LI, const RefPtr< ValuePool > &Context, const Fiber::BundlePtr &SpaceTime=Fiber::BundlePtr(NullPtr())) const
 Get a field from an arbitrary representation from the current selection.
 

Additional Inherited Members

- Protected Attributes inherited from Wizt::Fish< Fiber::Field >
TypedSlot< Fiber::FieldMyField
 

Detailed Description

template<class ... FieldTypes>
struct Wizt::TypedField< FieldTypes >

Construct a Fish object that can operate on various types of a field.