FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Public Member Functions | List of all members
Fiber::LineSetWithEdges Class Reference
Inheritance diagram for Fiber::LineSetWithEdges:
Fiber::LineSet Fiber::Edges

Public Member Functions

 LineSetWithEdges (const WeakPtr< Grid > &G=NullPtr())
 
- Public Member Functions inherited from Fiber::LineSet
 LineSet (const WeakPtr< Grid > &G=NullPtr())
 Retrieve a LineSet from a Grid object.
 
 LineSet (const RefPtr< Grid > &G, const RefPtr< CoordsArray_t > &Coords, const RefPtr< LinesetArray_t > &Lineset, const RefPtr< TangentialVector_t > &Tangents=NullPtr())
 Create a new LineSet within a Grid object.
 
 LineSet (Grid &G, const RefPtr< CoordsArray_t > &Coords, const RefPtr< LinesetArray_t > &Lineset, const RefPtr< TangentialVector_t > &Tangents=NullPtr())
 
bool operator= (const WeakPtr< Grid > &G)
 Assign from Grid pointer, will overwrite all members.
 
LineSetoperator= (const LineSet &LS)
 Assigning from existing LineSet - faster than assigning from Grid pointer since it is just copying pointers.
 
 ~LineSet ()
 Destructor, cleans up references.
 
 operator bool () const
 Return true if line indices are defined, thus this is a set of lines.
 
bool operator! () const
 Inverse operator of the line indices check.
 
RefPtr< CoordsArray_tgetCoords (const RefPtr< FragmentID > &f=NullPtr()) const
 Return coordinate array.
 
RefPtr< MemCore::ChunkBasegetCoordsAsMemChunk () const
 Return Mem ChunkBase of Coordinates Added by Bidur.
 
RefPtr< MemCore::ChunkBasegetTangentsAsMemChunk () const
 Return Mem ChunkBase of Tangential Vectors Added by Bidur.
 
RefPtr< LinesetArray_tgetLineset (const RefPtr< FragmentID > &f=NullPtr()) const
 Return edges information.
 
template<int N, class T >
RefPtr< Fiber::MemBaseextractDataFromField (const std::string &fieldname, RefPtr< FragmentID > fragID=NullPtr())
 Return data arrays stored on the line.
 
index_t NumberOfLines (const RefPtr< FragmentID > &f) const
 Return the number of lines stored here.
 
index_t NumberOfLines () const
 
void iterateCompatibleFragmentation (const CoordinateFragmentIterator &)
 
void iterateCompatibleFragmentation (const CoordinateFragmentIteratorWithVertexID &)
 
void iterateCompatibleFragmentation (const LineVertexIterator &)
 
RefPtr< TangentialVector_tgetTangentialVectors (const RefPtr< FragmentID > &f=NullPtr(), const string &FieldName=TangentialVectorFieldName)
 Compute tangential vectors in a grid object, which has a set of lines defined.
 
RefPtr< TangentialVector_tgetNormalVectors (const string &FieldName=NormalVectorFieldName)
 Get the normal vectors, the projected acceleration vectors, for this line set.
 
RefPtr< FieldIDComputeTVectorDerivative (const RefPtr< Grid > &theGrid, const string &F, const string &dF="")
 
RefPtr< FieldIDComputeScalarDerivative (const RefPtr< Grid > &theGrid, const string &F, const string &dF="")
 
RefPtr< FieldIDComputeUnitTVectorDerivative (const RefPtr< Grid > &theGrid, const string &F, const string &dF="")
 
bool setupStandardFields (const RefPtr< Grid > &theGrid)
 Setup some standard fields suitable for lines on this Grid.
 
RefPtr< FieldgetFieldOnLines (const string &field_name) const
 
LineSet orient (bool CounterClockWise)
 
- Public Member Functions inherited from Fiber::Edges
 Edges (const RefPtr< Grid > &G)
 Retrieve a Edge information from a Grid object.
 
 ~Edges ()
 Destructor, cleans up references.
 

Additional Inherited Members

- Public Types inherited from Fiber::LineSet
typedef TypedArray< Eagle::PhysicalSpace::pointCoordsArray_t
 
typedef MemArray< 1, Eagle::PhysicalSpace::pointCoordsMemArray_t
 
typedef uint32_t LineIndex_t
 The index type used for line set indices.
 
typedef std::vector< LineSet::LineIndex_tLineIndices_t
 A vector of line indices.
 
typedef MemArray< 1, LineIndices_tLinesetArray_t
 An array of line indices.
 
typedef MemArray< 1, Eagle::tvector3 > TangentialVector_t
 
using CoordinateFragmentIterator = std::function< bool(const RefPtr< CoordsArray_t > &, const RefPtr< LinesetArray_t > &, const RefPtr< FragmentID > &LineFragmentID)>
 
using CoordinateFragmentIteratorWithVertexID = std::function< bool(const RefPtr< CoordsArray_t > &, const RefPtr< FragmentID > &VertexFragmentID, const RefPtr< LinesetArray_t > &, const RefPtr< FragmentID > &LineFragmentID)>
 
using LineVertexIterator = std::function< bool(const CreativeIterator< Eagle::PhysicalSpace::point > &Vertices, const RefPtr< FragmentID > &VertexFragmentID, const LineIndices_t &Line, const RefPtr< FragmentID > &LineFragmentID)>
 
- Public Types inherited from Fiber::Edges
typedef EdgeCell32 EdgeCell_t
 
typedef TriangleCell32 TriangleCell_t
 
typedef TypedArray< Eagle::PhysicalSpace::pointCoordsArray_t
 
typedef MemArray< 1, Eagle::PhysicalSpace::pointCoordsMemArray_t
 
typedef MultiArray< 1, Eagle::PhysicalSpace::pointCoordsMultiArray_m_t
 
typedef MemArray< 1, EdgeCell_tEdgesArray_t
 
typedef MemArray< 1, TriangleCell_tTriArray_t
 
typedef MemArray< 1, std::vector< index_t > > IndexSetArray_t
 
typedef MemArray< 1, Eagle::tvector3 > TangentialVector_t
 
typedef std::vector< index_tEdgesPerVertex_t
 Edges per vertex: variable length!
 
typedef MemArray< 1, EdgesPerVertex_tEdgesPerVertexMemArray_t
 
- Static Public Member Functions inherited from Fiber::LineSet
static SkeletonID PerLineSkeletonID ()
 A Skeleton ID for sets of edges, thereby defining lines.
 
static SkeletonID ID ()
 
static SkeletonID IDFragmented ()
 
static void ComputeCurveTangents (MultiArray< 1, Eagle::tvector3 > &Tangents, const CreativeIterator< Eagle::PhysicalSpace::point > &Vertices, const LineIndices_t &Line)
 
static RefPtr< TangentialVector_tComputeTangentialVectors (const CoordsArray_t &Vertices, const LinesetArray_t &LinesetArray)
 Compute tangential vectors along a set of lines.
 
static RefPtr< TangentialVector_tComputeArcLength (const CoordsArray_t &Vertices, const LinesetArray_t &LinesetArray)
 
static uint32_t getNumberOfDistinctIndices (const LineSet::LinesetArray_t &lines)
 
static std::string unfragment (const Grid &GridIn, Grid &GridOut)
 
- Static Public Member Functions inherited from Fiber::Edges
static SkeletonID EdgeSkeletonID ()
 Return the skeleton ID that refers to the Edges property of a cw-complex.
 
static SkeletonID ID ()
 Return a skeleton ID that is characteristic for Grid objects that carry Edge information.
 
static RefPtr< SkeletongetEdgeSkeleton (const RefPtr< Grid > &G, bool CreateIfNotFound)
 Return the Skeleton that holds all the information that is given on Edges of a Grid object.
 
static RefPtr< RepresentationgetVerticesPerEdge (const RefPtr< Grid > &G, bool CreateIfNotFound)
 Find the information how edges are represented as Vertices, which is two vertices are given per Edge ID.
 
static RefPtr< FieldgetVerticesPerEdgeField (const RefPtr< Grid > &G)
 Return the Positions field of the edges given as vertices.
 
static RefPtr< EdgesArray_tgetVerticesPerEdgeArray (const RefPtr< Grid > &G)
 Return the data array that holds the edges as vertices.
 
static bool addVerticesPerEdgeField (const RefPtr< Grid > &G, const RefPtr< Field > &theField)
 Add a new Field describing the Edge information to a certain Grid object.
 
static bool addVerticesPerEdgeArray (const RefPtr< Grid > &G, const RefPtr< EdgesArray_t > &Data)
 Add a new array of edges to the Edge information of a certain Grid object.
 
static bool addVerticesPerEdgeArray (const RefPtr< Grid > &G, const RefPtr< MemCore::TypedChunk< EdgeCell_t > > &EdgeData)
 
static RefPtr< RepresentationgetEdgesPerVertex (const RefPtr< Grid > &G, bool CreateIfNotFound)
 Find the information how vertices are related to edges, which can be varying, the element type of the Positions field is thus dependent on the type of mesh.
 
static RefPtr< FieldgetEdgesPerVertexField (const RefPtr< Grid > &G, bool CreateIfNotFound)
 
static RefPtr< EdgesArray_tgetEdgesPerVertexArray (const RefPtr< Grid > &G)
 
static bool addEdgesPerVertex (const RefPtr< Grid > &G, const RefPtr< Field > &theField)
 
static RefPtr< EdgesPerVertexMemArray_tcreateEdgesPerVertex (const RefPtr< Grid > &G, bool storeThem)
 Get all edges of each vertex;.
 
- Public Attributes inherited from Fiber::LineSet
RefPtr< SkeletonVertices
 
RefPtr< SkeletonLineset
 
RefPtr< RepresentationCartesianVertices
 
RefPtr< RepresentationLinesAsVertices
 
RefPtr< FieldCoords
 
RefPtr< FieldTangentialVectors
 
RefPtr< FieldLineIndices
 
PredefinedFieldNames FieldNames
 
- Public Attributes inherited from Fiber::Edges
RefPtr< SkeletonEdgeSkeleton
 
RefPtr< RepresentationVerticesPerEdge
 
RefPtr< FieldVerticesPerEdgeField
 
RefPtr< EdgesArray_tVerticesPerEdgeArray
 
- Static Public Attributes inherited from Fiber::LineSet
static const char TangentialVectorFieldName [] = "Tangents"
 A default name for the field that holds the tangential vectors of a grid describing lines.
 
static const char NormalVectorFieldName [] = "NormalVectors"
 A default name for the field that holds the normal vectors of a grid describing lines.
 
static const char ArcLengthFieldName [] = "ArcLength"
 A default name for the field that holds the respective values of a curve parameter.