HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TsTest_SplineData Class Reference

#include <tsTest_SplineData.h>

Classes

struct  Extrapolation
 
struct  InnerLoopParams
 
struct  Knot
 

Public Types

enum  InterpMethod { InterpHeld, InterpLinear, InterpCurve }
 
enum  ExtrapMethod { ExtrapHeld, ExtrapLinear, ExtrapSloped, ExtrapLoop }
 
enum  LoopMode {
  LoopNone, LoopContinue, LoopRepeat, LoopReset,
  LoopOscillate
}
 
enum  Feature {
  FeatureHeldSegments = 1 << 0, FeatureLinearSegments = 1 << 1, FeatureBezierSegments = 1 << 2, FeatureHermiteSegments = 1 << 3,
  FeatureAutoTangents = 1 << 4, FeatureDualValuedKnots = 1 << 5, FeatureInnerLoops = 1 << 6, FeatureExtrapolatingLoops = 1 << 7,
  FeatureExtrapolatingSlopes = 1 << 8
}
 
using Features = unsigned int
 
using KnotSet = std::set< Knot >
 

Public Member Functions

TS_API TsTest_SplineData ()
 
TS_API TsTest_SplineData (const TsTest_SplineData &other)
 
TS_API TsTest_SplineDataoperator= (const TsTest_SplineData &other)
 
TS_API bool operator== (const TsTest_SplineData &other) const
 
TS_API bool operator!= (const TsTest_SplineData &other) const
 
TS_API void SetIsHermite (bool hermite)
 
TS_API void AddKnot (const Knot &knot)
 
TS_API void SetKnots (const KnotSet &knots)
 
TS_API void SetPreExtrapolation (const Extrapolation &preExtrap)
 
TS_API void SetPostExtrapolation (const Extrapolation &postExtrap)
 
TS_API void SetInnerLoopParams (const InnerLoopParams &params)
 
TS_API bool GetIsHermite () const
 
TS_API const KnotSetGetKnots () const
 
TS_API const ExtrapolationGetPreExtrapolation () const
 
TS_API const ExtrapolationGetPostExtrapolation () const
 
TS_API const InnerLoopParamsGetInnerLoopParams () const
 
TS_API Features GetRequiredFeatures () const
 
TS_API std::string GetDebugDescription () const
 

Detailed Description

Definition at line 39 of file tsTest_SplineData.h.

Member Typedef Documentation

using TsTest_SplineData::Features = unsigned int

Definition at line 82 of file tsTest_SplineData.h.

using TsTest_SplineData::KnotSet = std::set<Knot>

Definition at line 112 of file tsTest_SplineData.h.

Member Enumeration Documentation

Enumerator
ExtrapHeld 
ExtrapLinear 
ExtrapSloped 
ExtrapLoop 

Definition at line 51 of file tsTest_SplineData.h.

Enumerator
FeatureHeldSegments 
FeatureLinearSegments 
FeatureBezierSegments 
FeatureHermiteSegments 
FeatureAutoTangents 
FeatureDualValuedKnots 
FeatureInnerLoops 
FeatureExtrapolatingLoops 
FeatureExtrapolatingSlopes 

Definition at line 70 of file tsTest_SplineData.h.

Enumerator
InterpHeld 
InterpLinear 
InterpCurve 

Definition at line 43 of file tsTest_SplineData.h.

Enumerator
LoopNone 
LoopContinue 
LoopRepeat 
LoopReset 
LoopOscillate 

Definition at line 60 of file tsTest_SplineData.h.

Constructor & Destructor Documentation

TS_API TsTest_SplineData::TsTest_SplineData ( )
TS_API TsTest_SplineData::TsTest_SplineData ( const TsTest_SplineData other)

Member Function Documentation

TS_API void TsTest_SplineData::AddKnot ( const Knot knot)
TS_API std::string TsTest_SplineData::GetDebugDescription ( ) const
TS_API const InnerLoopParams& TsTest_SplineData::GetInnerLoopParams ( ) const
TS_API bool TsTest_SplineData::GetIsHermite ( ) const
TS_API const KnotSet& TsTest_SplineData::GetKnots ( ) const
TS_API const Extrapolation& TsTest_SplineData::GetPostExtrapolation ( ) const
TS_API const Extrapolation& TsTest_SplineData::GetPreExtrapolation ( ) const
TS_API Features TsTest_SplineData::GetRequiredFeatures ( ) const
TS_API bool TsTest_SplineData::operator!= ( const TsTest_SplineData other) const
TS_API TsTest_SplineData& TsTest_SplineData::operator= ( const TsTest_SplineData other)
TS_API bool TsTest_SplineData::operator== ( const TsTest_SplineData other) const
TS_API void TsTest_SplineData::SetInnerLoopParams ( const InnerLoopParams params)
TS_API void TsTest_SplineData::SetIsHermite ( bool  hermite)
TS_API void TsTest_SplineData::SetKnots ( const KnotSet knots)
TS_API void TsTest_SplineData::SetPostExtrapolation ( const Extrapolation postExtrap)
TS_API void TsTest_SplineData::SetPreExtrapolation ( const Extrapolation preExtrap)

The documentation for this class was generated from the following file: