|
FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
|
Public Types | |
| typedef MemArrayBase< VertexDims > | CoordsArray_t |
Public Types inherited from Fiber::RegularlyFragmentedGrid< VertexDims > | |
| typedef MemArray< VertexDims, RefPtr< FragmentID > > | FragmentArray_t |
Public Types inherited from MemCore::StrongPtr< class Object, class ObjectBase > | |
| typedef WeakPtr< Object, ObjectBase >::ObjectBase_t | ObjectBase_t |
Public Types inherited from MemCore::WeakPtr< class Object, class ObjectBase > | |
| typedef Object | object_t |
| typedef ObjectBase | ObjectBase_t |
| typedef RefPtrTypeTrait< Object, ObjectBase >::ReferencePointerType | pointer_t |
| typedef RefPtrTypeTrait< Object, ObjectBase >::ReferenceValueType | refvalue_t |
Public Types inherited from MemCore::DynPtr< class Object, class ObjectBase > | |
| typedef Object | object_t |
Public Member Functions | |
| RefPtr< CreativeArrayBase > | getCoordCreator (const MultiIndex< VertexDims > &I) const |
| RefPtr< MemBase > | getCoordData (const MultiIndex< VertexDims > &I) const |
| RefPtr< CoordsArray_t > | getCoords (const MultiIndex< VertexDims > &I) const |
| RefPtr< RegularlyFragmentedField< VertexDims > > | newVertexField (const char *Fieldname) |
| Create a new regularly fragmented field on the vertices under the given name, overwriting an existing field. | |
| RefPtr< RegularlyFragmentedField< VertexDims > > | getVertexField (const char *Fieldname) |
| Find a new regularly fragmented field on the vertices under the given name, creating a new one if not found. | |
| MultiIndex< VertexDims > | NumberOfFragments () const |
| Get the number of fragments here as multi-dimensional index. | |
| bool | isValid () const |
| RegularlyFragmentedGridWithCartesianVertices (const RefPtr< Grid > &theGrid) | |
| bool | assign (const RefPtr< Grid > &theGrid) |
Public Member Functions inherited from Fiber::RegularlyFragmentedGrid< VertexDims > | |
| MultiIndex< VertexDims > | NumberOfFragments () const |
| Get the number of fragments here as multi-dimensional index. | |
| RefPtr< FragmentID > | getFragmentID (const MultiIndex< VertexDims > &FragmentIndex) const |
| Get the fragment ID for the given fragment index. | |
| RegularlyFragmentedGrid (const RefPtr< Grid > &G=nullptr) | |
| bool | assign (const RefPtr< Grid > &theGrid) |
Public Member Functions inherited from Fiber::RegularlyFragmentedGridBase | |
| bool | assign (const RefPtr< Grid > &theGrid) |
Public Member Functions inherited from Fiber::TypedGrid | |
| bool | assign (const RefPtr< Grid > &theGrid) |
| bool | invalidate () |
| Invalidate the stored Grid pointer and return false. | |
Public Member Functions inherited from MemCore::StrongPtr< class Object, class ObjectBase > | |
| StrongPtr & | assignStrong (const DynPtr_t &other) |
| StrongPtr & | assignStrong (const ReferenceBase< ObjectBase_t > *Obj) |
| StrongPtr & | assignStrong (const std::nullptr_t &) |
| auto | operator() (Arguments...parameters) const -> decltype((*this->getPtrValue())(parameters...)) |
| refvalue_t & | operator* () const |
| pointer_t | operator-> () const |
| StrongPtr & | operator= (const DynPtr_t &other) |
| StrongPtr & | operator= (const ReferenceBase< ObjectBase_t > *Obj) |
| StrongPtr & | operator= (const std::initializer_list< StrongPtr > &other) |
| StrongPtr & | operator= (const std::nullptr_t &) |
| StrongPtr & | operator= (const StrongPtr &other) |
| auto | operator[] (const IndexType &I) const -> decltype((*this->getPtrValue())[I]) |
| StrongPtr (const ReferenceBase< ObjectBase_t > *Obj) | |
| StrongPtr (const ReferenceBase< ObjectBase_t > *Obj, const NotNullPtr &) | |
| StrongPtr (const std::nullptr_t &) | |
| StrongPtr (const StrongPtr< ChildObject, ObjectBase > &Other) | |
| StrongPtr (const StrongPtr< Object, ObjectBase > &Other) | |
| StrongPtr (const WeakPtr< ChildObject, ObjectBase_t > &Other) | |
Public Member Functions inherited from MemCore::WeakPtr< class Object, class ObjectBase > | |
| pointer_t | getPtrValue () const |
| pointer_t | operator-> () const |
| refvalue_t & | operator* () const |
| size_t | operator~ () const |
| WeakPtr (const std::nullptr_t &) | |
| WeakPtr (const ReferenceBase< ObjectBase > *Obj) | |
| WeakPtr (const ReferenceBase< ObjectBase > *Obj, const NotNullPtr &) | |
| WeakPtr (const WeakPtr< AnyObject, ObjectBase > &Other) | |
| WeakPtr (const WeakPtr &Other) | |
| WeakPtr & | assignWeak (const WeakPtr &other) |
| WeakPtr & | operator= (const WeakPtr &other) |
Public Member Functions inherited from MemCore::DynPtr< class Object, class ObjectBase > | |
| const DynPtr & | getDynPtr () const noexcept |
| const type_info & | getType () const noexcept |
| bool | isAssignable (const DynPtr< ObjectBase, ObjectBase > &Other) const noexcept |
| operator void * () const noexcept | |
| bool | operator! () const noexcept |
| void | speak (const char *s, const char *prefix="") const noexcept |
| void | Speak (const char *s, const char *prefix="") const |
Public Member Functions inherited from Fiber::GridWithCartesianVertices | |
| GridWithCartesianVertices (const RefPtr< Grid > &theGrid=nullptr) | |
| bool | assign (const RefPtr< Grid > &theGrid) |
| bool | isValid () const |
Public Attributes | |
| RefPtr< Representation > | FragmentVerticesInCartesianCoordinates |
| Collection of fields that are defined per fragment vertex in cartesian coordinates. | |
| RefPtr< Representation > | PerFragmentDataInCartesianCoordinates |
| Collection of fields that are defined per fragment in cartesian coordinates. | |
| RefPtr< RegularlyFragmentedField< VertexDims > > | Positions |
| Field for the vertex coordinates. | |
Public Attributes inherited from Fiber::RegularlyFragmentedGrid< VertexDims > | |
| RefPtr< Skeleton > | FragmentSkeleton |
| RefPtr< Representation > | FragmentsAsVertices |
| Fields per fragment providing coordinate-independent information. | |
| RefPtr< FragmentArray_t > | FragmentArray |
Public Attributes inherited from Fiber::RegularlyFragmentedGridBase | |
| RefPtr< Skeleton > | FragmentVerticesSkeleton |
| The Skeleton containing the vertices of fragments, i.e. | |
Public Attributes inherited from Fiber::GridWithCartesianVertices | |
| RefPtr< Skeleton > | Vertices |
| RefPtr< Representation > | CartesianVertices |
| Collection of all fields given on vertices relative to cartesian coordinates. | |
| RefPtr< Field > | CartesianPositions |
Additional Inherited Members | |
Static Public Attributes inherited from Fiber::RegularlyFragmentedGrid< VertexDims > | |
| static constexpr int | Dims = VertexDims |
Protected Member Functions inherited from MemCore::WeakPtr< class Object, class ObjectBase > | |
| WeakPtr (Object *that, const SelfInitialize &) | |
Protected Member Functions inherited from MemCore::DynPtr< class Object, class ObjectBase > | |
| DynPtr (const DynPtr< AnyObject, ObjectBase > &Other) noexcept | |
| DynPtr (const std::nullptr_t &) noexcept | |
|
inlinestatic |
Create a regularly fragmented grid with cartesian vertices.
Returns a null ptr if the given grid already has cartesian positions that are incompatible with the specified number of fragments.
References Fiber::Grid::findCartesianChart(), Fiber::Grid::getCartesianPositions(), Fiber::RegularlyFragmentedField< DIMS >::newField(), Fiber::RegularlyFragmentedGridWithCartesianVertices< VertexDims >::NumberOfFragments(), and Fiber::RegularlyFragmentedGridWithCartesianVertices< VertexDims >::Positions.
|
inline |
Get the number of fragments here as multi-dimensional index.
Requires valid Position field.
References Fiber::RegularlyFragmentedGridWithCartesianVertices< VertexDims >::Positions.
Referenced by Fiber::RegularlyFragmentedGridWithCartesianVertices< VertexDims >::create().