Classes | Public Member Functions | Public Attributes

Fiber::Slice Class Reference

Information per time slice, mainly a set of Grid objects that are accessed via GridID objects. More...

#include <Slice.hpp>

List of all members.

Classes

Public Member Functions

Public Attributes


Detailed Description

Information per time slice, mainly a set of Grid objects that are accessed via GridID objects.

A slice in the fiber bundle data model hierarchy.

Examples:

trimesh.cpp.


Member Function Documentation

int Slice::iterate ( GridIterator GI,
const RefPtr< MemCore::StringList > &  TheseGridsOnly = NullPtr() 
)

Iterate over all or a subset of grids on this slice.

Note:
Even when iterating just over a subset of grids, inter-grid information will still be visible, such as a relative representation of one Grid in another Grid (known as interpolation weights).

References accessSlice(), and Fiber::GridIterator::apply().

Grid & Slice::newGrid ( const string &  gridname,
const string &  ParentGridName 
)

Create a new Grid object as a child relationship to an existing one, overwriting an existing one.

Note:
The grid relationship will be global, independently of the specific Grid object created at this certain time slice.

References accessSlice(), findGridID(), and makeGridID().

Grid & Slice::operator[] ( const string &  gridname  ) 

Retrieve a grid from a textual description, creating one, if desired.

A GridID is reused or created.

Note:
Use the newGrid() functor to create a new grid, thereby replacing an old one existing under the same name.

References accessSlice(), and makeGridID().


Member Data Documentation

An optionally associated loader object.

If it is non-zero, it will be called upon each slice access.