Fish - FiberLib for VISH 0.3
Fish - The Fiber Bundle API for the Vish Visualization Shell
Fiber::Curve::ProperTime Struct Reference

Compute the proper time of a curve, which is a line with Velocity given. More...

#include <CurveOperators.hpp>

Inheritance diagram for Fiber::Curve::ProperTime:
Fiber::Curve::CurveQuantity< double > Fiber::Curve::Velocity

Public Member Functions

 ProperTime (const CurveOperatorData &CD, const MemBase::Creator_t &C=MemCore::NullPtr())
void apply (const CreativeIterator< Eagle::PhysicalSpace::point > &Vertices, const std::vector< LineSet::LineIndex_t > &Line)
Public Member Functions inherited from Fiber::Curve::CurveQuantity< double >
 CurveQuantity (const CurveOperatorData &CD, const MemBase::Creator_t &C=MemCore::NullPtr())
RefPtr< ResultArray_t > result () const
Public Member Functions inherited from Fiber::Curve::Velocity
 Velocity (const CurveOperatorData &CD)

Additional Inherited Members

Public Types inherited from Fiber::Curve::CurveQuantity< double >
typedef CurveQuantity CurveQuantity_t
typedef MemArray< 1, double > ResultArray_t
typedef CurveOperatorData Constructor_t
Public Types inherited from Fiber::Curve::Velocity
typedef CurveOperatorData Constructor_t
Public Attributes inherited from Fiber::Curve::CurveQuantity< double >
RefPtr< ResultArray_t > Data
Public Attributes inherited from Fiber::Curve::Velocity
RefPtr< MemArray< 1, Eagle::PhysicalSpace::tvector > > VelocityData

Detailed Description

Compute the proper time of a curve, which is a line with Velocity given.

Use in conjunction with an OnDemandCreator. Example:

(*MyLineSet.CartesianVertices)[ "ProperTime" ]
= new Field( new OnDemandCreator<ProperTime>(MyLineSet) );
A Field is a collection of CreativeArrayBase reference pointers which are accessed via FragmentID obj...
Definition Field.hpp:245
A Creator object that allows to create data on demand, when they are used and accessed.
Definition OnDemandCreator.hpp:65

Constructor & Destructor Documentation

◆ ProperTime()

Fiber::Curve::ProperTime::ProperTime ( const CurveOperatorData & CD,
const MemBase::Creator_t & C = MemCore::NullPtr() )
inline
Todo
Implement cache management