Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
Fiber::FragmentSkeleton Struct Reference

Fragment Skeleton: Each fragment of a field is assigned some value in the form of a field defined on the fragment skeleton. More...

#include <FragmentSkeleton.hpp>

Inheritance diagram for Fiber::FragmentSkeleton:
Fiber::FragmentCoordinates< Eagle::PhysicalSpace::point > Fiber::FragmentCoordinates< Coordinates > Fiber::CartesianFragments

Classes

struct  exception
struct  NoVertices

Public Types

typedef MemArray< 1, std::string > FragmentNamesMemArray_t
typedef MultiArray< 1, std::string > FragmentNamesArray_t

Public Member Functions

 FragmentSkeleton (const RefPtr< Grid > &g)
Skeleton & makeFragments ()
RefPtr< Field > makeFragmentNames () const
std::string getFragmentName (index_t i) const

Static Public Member Functions

static const char * MinFieldName ()
static const char * MaxFieldName ()
static SkeletonID ID (int VertexDims)
static SkeletonID ID (const Grid &G)
 Return the skeleton ID which is used to store fragment information.
static RefPtr< Skeleton > getFragments (const Grid &G)
static Skeleton & makeFragments (Grid &G)
static RefPtr< Representation > getFragmentsAsVertices (const Grid &G)
static Representation & makeFragmentsAsVertices (Grid &G)
static RefPtr< Field > makeFragmentNames (Grid &G)
static Representation & makeFragmentCoordinates (Grid &G, const RefPtr< Chart > &C)
static RefPtr< Field > makeFragmentCoordinatesCenter (Grid &G, const RefPtr< Chart > &C)
static RefPtr< Field > makeFragmentCoordinatesMin (Grid &G, const RefPtr< Chart > &C)
static RefPtr< Field > makeFragmentCoordinatesMax (Grid &G, const RefPtr< Chart > &C)

Public Attributes

RefPtr< Grid > TheGrid

Detailed Description

Fragment Skeleton: Each fragment of a field is assigned some value in the form of a field defined on the fragment skeleton.

Member Function Documentation

◆ ID()

SkeletonID Fiber::FragmentSkeleton::ID ( const Grid & G)
inlinestatic

Return the skeleton ID which is used to store fragment information.

A fragment is a complex of vertices (therefore index depth 2) and of the same dimensionality of the vertices.

References Fiber::SkeletonMap::findVertices().