FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
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< 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)
 
SkeletonmakeFragments ()
 
RefPtr< FieldmakeFragmentNames () const
 
std::string getFragmentName (index_t i) const
 

Static Public Member Functions

static const charMinFieldName ()
 
static const charMaxFieldName ()
 
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()

static 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.