Static Public Member Functions | Public Attributes | Protected Member Functions

VgEngine::VgFloatSplineFunctorDescriptor Class Reference

This class describes a functor that approximates a sequence of floats with a spline. More...

Inheritance diagram for VgEngine::VgFloatSplineFunctorDescriptor:
Inheritance graph
[legend]
Collaboration diagram for VgEngine::VgFloatSplineFunctorDescriptor:
Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static VgRefPtr
< VgFloatSplineFunctorDescriptor
create ()
 This static method returns a new heap-allocated descriptor.

Public Attributes

std::vector< std::pair< float,
float > > 
mFloatNodes
 The vector of float nodes (val and time) of the spline.

Protected Member Functions

 VgFloatSplineFunctorDescriptor ()
 Class constructor.
virtual ~VgFloatSplineFunctorDescriptor ()
 Class destructor.

Detailed Description

This class describes a functor that approximates a sequence of floats with a spline.

Version:
2.0.7729

Constructor & Destructor Documentation

VgEngine::VgFloatSplineFunctorDescriptor::VgFloatSplineFunctorDescriptor (  ) [protected]

Class constructor.

This can't be called publicly, instances must be obtained through the VgFloatInterpolationFunctorDescriptor::create method.

virtual VgEngine::VgFloatSplineFunctorDescriptor::~VgFloatSplineFunctorDescriptor (  ) [protected, virtual]

Class destructor.


Member Function Documentation

static VgRefPtr< VgFloatSplineFunctorDescriptor > VgEngine::VgFloatSplineFunctorDescriptor::create (  ) [static]

This static method returns a new heap-allocated descriptor.

It is the only method that should be used to instantiate new descriptors. It is a way to make sure no one will delete it, except the last VgRefPtr pointing to it.


Member Data Documentation

std::vector< std::pair< float, float > > VgEngine::VgFloatSplineFunctorDescriptor::mFloatNodes

The vector of float nodes (val and time) of the spline.

First element is the value, second is the time. Times must be in ascending order.


The documentation for this class was generated from the following file:
VisioDevKit 2.0, Visioglobe® 2013