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

Class representing a vertex selection. More...

#include <VertexSelection.hpp>

Inheritance diagram for Fiber::VertexSelection:
MemCore::ReferenceBase< VertexSelection >

Public Member Functions

 VertexSelection (const MemCore::RefPtr< Fiber::Grid > &grid, std::string name)
 
void iterate (VertexSelectionIterator &VSI)
 
MemCore::RefPtr< Fiber::MemArray< 1, VertexSelection_t > > getFinestSelection () const
 
MemCore::RefPtr< Fiber::MemArray< 1, VertexSelection_t > > getSelection (unsigned ref_level)
 
MemCore::RefPtr< Fiber::MemArray< 1, size_t > > getSelection (unsigned ref_level, unsigned FragNr)
 
std::string getName ()
 
bool empty ()
 
void add (VertexSelection &vs)
 
void merge (const VertexSelection &vs)
 
void speak ()
 
bool hasRefLevel (int ref)
 
unsigned getMaxRef ()
 
- Public Member Functions inherited from MemCore::ReferenceBase< VertexSelection >
auto getObjectCountID () const noexcept
 
bool isIdentical (const WeakPtr< Object, Object > &PossibleSelf) const noexcept
 
void mkAutoDestructive ()
 
refcount_t refcount () const noexcept
 
 ReferenceBase (Object *that) noexcept
 
const auto & self () const
 
refcount_t wrefcount () const noexcept
 

Static Public Member Functions

static SkeletonIDgetID (int refinement=-1)
 

Additional Inherited Members

- Public Types inherited from MemCore::ReferenceBase< VertexSelection >
typedef Object reference_domain_t
 
typedef WeakPtr< Object, Object > SelfPtr_t
 
- Protected Member Functions inherited from MemCore::ReferenceBase< VertexSelection >
virtual void extremeUnction ()
 
ReferenceBaseoperator= (const ReferenceBase &R)
 
void suicide ()
 

Detailed Description

Class representing a vertex selection.

Vertex selection is stored as fragments in a dim 0 (1 for ref) idxdepth 3 skeleton Simlarly named fragments may exist in different refinement levels and are part of the same named selection. In one refinement level is the (0,3) or (1,3) skeleton having one positions field. One fragment for each named selection. Selection index is a touple of 32bit integers. First specifying the fragment nr and second the vertex number.

Author
: marcel