FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Types | Public Member Functions | Public Attributes | List of all members
Fiber::GridLoader Class Reference

Public Types

using SkeletonFragmentIDCollections_t = std::map< Fiber::SkeletonID, MemCore::RefPtr< Fiber::FragmentIDCollection > >
 

Public Member Functions

 GridLoader (Fiber::Grid &g, const MemCore::RefPtr< MemCore::LoaderProgress > &lp, const MemCore::WeakPtr< Fiber::StorageTransformations::IOPerformance > &theLoadPerformance, const std::string &info)
 
bool gotRepresentation (const MemCore::WeakPtr< Fiber::Representation > &R) const
 
MemCore::WeakPtr< Fiber::SkeletonfindAvailableSkeleton (const std::string &NameInFile) const
 
void createSkeleton (const Fiber::SkeletonID &, const std::string &SkeletonNameInFile)
 Create a new Skeleton on the current Grid and remember it as available under the given name as it was specified in the file.
 
void loadGrid (F5Path *grid)
 
herr_t LoadSkeletonTopology (F5Path *skeleton, const char *skeletonname, int index_depth, int skel_dims)
 Check if this skeleton has higher order skeletons describing its topology, for instance determine whether this skeleton is regularly fragmented.
 
herr_t LoadSkeletonCoordinateRepresentations (F5Path *skeleton, const char *skeletonname, int index_depth, int skel_dims)
 
herr_t LoadSkeletonRelativeRepresentations (F5Path *skeleton, const char *skeletonname, int index_depth, int skel_dims)
 
herr_t LoadSkeletonOtherRepresentations (F5Path *skeleton, const char *skeletonname, int index_depth, int skel_dims)
 

Public Attributes

Fiber::GridMyGrid
 
MemCore::RefPtr< MemCore::LoaderProgressLP
 
MemCore::WeakPtr< Fiber::StorageTransformations::IOPerformanceLoadPerformance
 
std::string path_info
 
std::unordered_set< std::string > IgnoreAttributesOnLoad
 
SkeletonFragmentIDCollections_t SkeletonFragmentIDCollections
 
MemCore::RefPtr< H5GroupAccessGroupAccess
 

Member Function Documentation

◆ LoadSkeletonTopology()

herr_t GridLoader::LoadSkeletonTopology ( F5Path skeleton,
const char skeletonname,
int  index_depth,
int  skel_dims 
)

Check if this skeleton has higher order skeletons describing its topology, for instance determine whether this skeleton is regularly fragmented.

If so, this will affect the layout of all fields in the given skeleton to be regularly fragmented.

The Skeleton that holds the topology of the fragments

TODO: Make Grid pass to read and identify representations in order to avoid HDF5 access here.

References apply(), and Fiber::FragmentTopology::findHighestDimensionalSkeleton().