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

Compute the step size of a curve. More...

#include <CurveOperators.hpp>

Public Types

typedef MemArray< 1, double > ResultArray_t
typedef CurveOperatorData Constructor_t

Public Member Functions

 StepSize (const CurveOperatorData &CurveData, const MemBase::Creator_t &C=MemCore::NullPtr())
RefPtr< ResultArray_t > result () const
void apply (const CreativeIterator< Eagle::PhysicalSpace::point > &Vertices, const std::vector< LineSet::LineIndex_t > &Line)

Public Attributes

RefPtr< MemArray< 1, double > > Data

Detailed Description

Compute the step size of a curve.

Use in conjunction with an OnDemandCreator. Example:

(*MyLineSet.CartesianVertices)[ "StepSize" ]
= new Field( new OnDemandCreator<StepSize>(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

◆ StepSize()

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

References Fiber::LineSet::getCoords().