Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
Fiber::CurveDerivative< Type, Metric, ValueOperator > Struct Template Reference

An operator for OnDemandCreators to be used on LineSet's. More...

#include <CurveDerivative.hpp>

Inheritance diagram for Fiber::CurveDerivative< Type, Metric, ValueOperator >:
Fiber::EuclideanMetric Fiber::IdentityOperator

Public Types

typedef Metric::point point
typedef MemArray< 1, Type > ResultArray_t
typedef DerivativeOperatorData Constructor_t
typedef std::string Parameters
Public Types inherited from Fiber::EuclideanMetric
typedef Eagle::PhysicalSpace::point point
typedef Eagle::PhysicalSpace::vector tvector

Public Member Functions

RefPtr< ResultArray_t > result () const
 CurveDerivative (const Constructor_t &C, const MemBase::Creator_t &Crec)
void apply (const CreativeIterator< Eagle::PhysicalSpace::point > &Vertices, const LineSet::LineIndices_t &Line)

Public Attributes

RefPtr< MemArray< 1, Type > > Quantity
RefPtr< MemArray< 1, Type > > DerivedQuantity

Additional Inherited Members

Static Public Member Functions inherited from Fiber::EuclideanMetric
static double norm2 (index_t i0, index_t i1, const point &P0, const point &P1, const tvector &V)
static double norm (index_t i0, index_t i1, const point &P0, const point &P1, const tvector &V)
static double distance (index_t i0, index_t i1, const point &P0, const point &P1)
Static Public Member Functions inherited from Fiber::IdentityOperator
template<class ValueType, class PointType>
static const ValueType & compute (const ValueType &Value, index_t, const PointType &)

Detailed Description

template<class Type, class Metric = EuclideanMetric, class ValueOperator = IdentityOperator>
struct Fiber::CurveDerivative< Type, Metric, ValueOperator >

An operator for OnDemandCreators to be used on LineSet's.

It computes the derivative

\‍[ d/ds \‍]

of some quantity along a curve.

LineSet MyLineSet;
...
CurveDerivative<Eagle::tvector3>::Constructor_t(MyLineSet, "DerivableFieldName" )
... )
A set of lines stored on a Grid.
Definition LineSet.hpp:55
A Creator object that allows to create data on demand, when they are used and accessed.
Definition OnDemandCreator.hpp:65