1#ifndef __FIBER_BASEOP_BUNDLEFUNCTIONS_HPP
2#define __FIBER_BASEOP_BUNDLEFUNCTIONS_HPP
4#include "gridopDllApi.h"
6#include <grid/Grid.hpp>
8#include <grid/CartesianChart.hpp>
9#include <bundle/Slice.hpp>
23 return grid->CartesianPositions();
52 if(!
rep){
puts(
"GetFragments() no representation found");
return NullPtr();}
55 return (*
rep)(
"Positions");
67 if(!
skel){
puts(
"GetFragmentsBBs() no skeleton found");
return NullPtr();}
71 if(!
rep){
puts(
"GetFragmentsBBs() no representation found");
return NullPtr();}
74 return (*
rep)(
"Positions");
88 if(!
unigrid){
puts(
"GetUniGridMappers() no grid named 'UniMappers' found!");
return NullPtr(); }
90 if(!
uniskel){
puts(
"GetUniGridMappers() no skel(dim 3,index depth 1) in unigrid found!");
return NullPtr(); }
92 if(!
fragskel){
puts(
"GetUniGridMappers() no skel(dim 3,index depth 2) in source_grid found!");
return NullPtr(); }
94 if(!
rep){
puts(
"GetUniGridMappers() no representation for unimappers found!");
return NullPtr(); }
96 return (*
rep)(
"Positions");
Chart object for cartesian coordinates.
Definition CartesianChart.hpp:15
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
Identifier for Skeletons within a Grid.
Definition SkeletonID.hpp:24
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
MemCore::RefPtr< Field > GetUniGridMappers(MemCore::RefPtr< Slice > slice, MemCore::RefPtr< Grid > source_grid)
Extract the fragmented field storing the UniGridMappers.
Definition BundleBaseSpaceFunctions.hpp:82
MemCore::RefPtr< Field > GetFragmentsBBs(MemCore::RefPtr< Grid > grid)
Extract the field containing the Bounding Boxes of the fragments of a given grid.
Definition BundleBaseSpaceFunctions.hpp:61
MemCore::RefPtr< Field > GetFragments(MemCore::RefPtr< Grid > grid)
Extract the field containing the names of all fields from given grid.
Definition BundleBaseSpaceFunctions.hpp:40
MemCore::RefPtr< Field > GetCartesianPositions(MemCore::RefPtr< Grid > grid)
Extract a Field with skeleton(0,0) and Cartesian3D coordinates named "Position" from the base space f...
Definition BundleBaseSpaceFunctions.hpp:18