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::stringFragmentNamesMemArray_t
typedef MultiArray< 1, std::stringFragmentNamesArray_t

Public Member Functions

 FragmentSkeleton (const RefPtr< Grid > &g)
SkeletonmakeFragments ()
RefPtr< FieldmakeFragmentNames () 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< SkeletongetFragments (const Grid &G)
static SkeletonmakeFragments (Grid &G)
static RefPtr< RepresentationgetFragmentsAsVertices (const Grid &G)
static RepresentationmakeFragmentsAsVertices (Grid &G)
static RefPtr< FieldmakeFragmentNames (Grid &G)
static RepresentationmakeFragmentCoordinates (Grid &G, const RefPtr< Chart > &C)
static RefPtr< FieldmakeFragmentCoordinatesCenter (Grid &G, const RefPtr< Chart > &C)
static RefPtr< FieldmakeFragmentCoordinatesMin (Grid &G, const RefPtr< Chart > &C)
static RefPtr< FieldmakeFragmentCoordinatesMax (Grid &G, const RefPtr< Chart > &C)

Public Attributes

RefPtr< GridTheGrid

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().