FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
Classes | Public Member Functions | Public Attributes | List of all members
Fiber::TangentialVectorsAndCurveParameter Struct Reference

Tangential vectors along a set of lines and the lengths of the lines. More...

#include <TangentialVectors.hpp>

Classes

struct  Exception
 
struct  NoEdgePositions
 
struct  NoEdges
 
struct  NoEdgesAsVertices
 
struct  NoVertexField
 
struct  NoVertexFieldCreator
 
struct  NoVertexFieldData
 
struct  NoVertices
 

Public Member Functions

void compute (const MemArray< 1, Eagle::point3 > &Vertices, const MemArray< 1, std::vector< index_t > > &EdgesArray, const MemBase::Creator_t &Crec=NullPtr())
 
 TangentialVectorsAndCurveParameter (const MemArray< 1, Eagle::point3 > &Vertices, const MemArray< 1, std::vector< index_t > > &EdgesArray)
 Compute tangential vectors along a set of lines and the lengths of the lines.
 
 TangentialVectorsAndCurveParameter (Grid &G, const string &TangentFieldName=TangentialVectorFieldName, const string &LengthFieldName=CurveParameterFieldName)
 Compute tangential vectors in a grid object, which is expected to have a set of lines defined.
 

Public Attributes

RefPtr< MemArray< 1, Eagle::tvector3 > > TangentialVectors
 
double max_len
 
RefPtr< MemArray< 1, double > > CurveParameter
 

Detailed Description

Tangential vectors along a set of lines and the lengths of the lines.

Constructor & Destructor Documentation

◆ TangentialVectorsAndCurveParameter()

Fiber::TangentialVectorsAndCurveParameter::TangentialVectorsAndCurveParameter ( Grid G,
const string &  TangentFieldName = TangentialVectorFieldName,
const string &  LengthFieldName = CurveParameterFieldName 
)

Compute tangential vectors in a grid object, which is expected to have a set of lines defined.

Todo:
Make use of timestamps of the involved fields