Support Forum       G3D Web Page     
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
G3D::SplineExtrapolationMode Class Reference


Describes the behavior of G3D::Spline, etc. More...

Public Types

enum  Value {
  CYCLIC,
  LINEAR,
  CLAMP
}
 

Public Member Functions

 SplineExtrapolationMode (const G3D::String &x)
 
 SplineExtrapolationMode (char v)
 
 SplineExtrapolationMode (int v)
 
 SplineExtrapolationMode (const G3D::Any &a)
 
 SplineExtrapolationMode ()
 
 SplineExtrapolationMode (const Value v)
 
void deserialize (G3D::BinaryInput &b)
 
unsigned int hashCode () const
 
 operator int () const
 
bool operator!= (const SplineExtrapolationMode ::Value other) const
 
bool operator!= (const SplineExtrapolationMode other) const
 
SplineExtrapolationMode operator+ (const int x) const
 
SplineExtrapolationModeoperator++ ()
 
SplineExtrapolationModeoperator+= (const int x)
 
SplineExtrapolationMode operator- (const int x) const
 
SplineExtrapolationModeoperator-- ()
 
SplineExtrapolationModeoperator-= (const int x)
 
bool operator< (const SplineExtrapolationMode other) const
 
bool operator< (const Value other) const
 
bool operator<= (const Value other) const
 
bool operator<= (const SplineExtrapolationMode other) const
 
SplineExtrapolationModeoperator= (const G3D::Any &a)
 
bool operator== (const SplineExtrapolationMode ::Value other) const
 
bool operator== (const SplineExtrapolationMode other) const
 
bool operator> (const SplineExtrapolationMode other) const
 
bool operator> (const Value other) const
 
bool operator>= (const SplineExtrapolationMode other) const
 
bool operator>= (const Value other) const
 
void serialize (G3D::BinaryOutput &b) const
 
G3D::Any toAny () const
 
const char * toString () const
 

Static Public Member Functions

static const char * classname ()
 
static int count ()
 
static Value nthValue (int n)
 
static const char * toString (int i, Value &v)
 

Public Attributes

enum G3D::SplineExtrapolationMode::Value value
 

Detailed Description


Describes the behavior of G3D::Spline, etc.

when accessing a time outside of the control point range.

See also
SplineInterpolationMode, Spline, PhysicsFrameSpline

Member Enumeration Documentation

◆ Value

Enumerator
CYCLIC 
LINEAR 
CLAMP 

Constructor & Destructor Documentation

◆ SplineExtrapolationMode() [1/6]

G3D::SplineExtrapolationMode::SplineExtrapolationMode ( const G3D::String x)
inlineexplicit

◆ SplineExtrapolationMode() [2/6]

G3D::SplineExtrapolationMode::SplineExtrapolationMode ( const G3D::Any a)
inlineexplicit

◆ SplineExtrapolationMode() [3/6]

G3D::SplineExtrapolationMode::SplineExtrapolationMode ( char  v)
inlineexplicit

◆ SplineExtrapolationMode() [4/6]

G3D::SplineExtrapolationMode::SplineExtrapolationMode ( )
inline

◆ SplineExtrapolationMode() [5/6]

G3D::SplineExtrapolationMode::SplineExtrapolationMode ( const Value  v)
inline

◆ SplineExtrapolationMode() [6/6]

G3D::SplineExtrapolationMode::SplineExtrapolationMode ( int  v)
inlineexplicit

Member Function Documentation

◆ classname()

static const char* G3D::SplineExtrapolationMode::classname ( )
inlinestatic

◆ count()

static int G3D::SplineExtrapolationMode::count ( )
inlinestatic

◆ deserialize()

void G3D::SplineExtrapolationMode::deserialize ( G3D::BinaryInput b)
inline

◆ hashCode()

unsigned int G3D::SplineExtrapolationMode::hashCode ( ) const
inline

◆ nthValue()

static Value G3D::SplineExtrapolationMode::nthValue ( int  n)
inlinestatic

◆ operator int()

G3D::SplineExtrapolationMode::operator int ( ) const
inline

◆ operator!=() [1/2]

bool G3D::SplineExtrapolationMode::operator!= ( const SplineExtrapolationMode  other) const
inline

◆ operator!=() [2/2]

bool G3D::SplineExtrapolationMode::operator!= ( const SplineExtrapolationMode ::Value  other) const
inline

◆ operator+()

SplineExtrapolationMode G3D::SplineExtrapolationMode::operator+ ( const int  x) const
inline

◆ operator++()

SplineExtrapolationMode& G3D::SplineExtrapolationMode::operator++ ( )
inline

◆ operator+=()

SplineExtrapolationMode& G3D::SplineExtrapolationMode::operator+= ( const int  x)
inline

◆ operator-()

SplineExtrapolationMode G3D::SplineExtrapolationMode::operator- ( const int  x) const
inline

◆ operator--()

SplineExtrapolationMode& G3D::SplineExtrapolationMode::operator-- ( )
inline

◆ operator-=()

SplineExtrapolationMode& G3D::SplineExtrapolationMode::operator-= ( const int  x)
inline

◆ operator<() [1/2]

bool G3D::SplineExtrapolationMode::operator< ( const Value  other) const
inline

◆ operator<() [2/2]

bool G3D::SplineExtrapolationMode::operator< ( const SplineExtrapolationMode  other) const
inline

◆ operator<=() [1/2]

bool G3D::SplineExtrapolationMode::operator<= ( const SplineExtrapolationMode  other) const
inline

◆ operator<=() [2/2]

bool G3D::SplineExtrapolationMode::operator<= ( const Value  other) const
inline

◆ operator=()

SplineExtrapolationMode& G3D::SplineExtrapolationMode::operator= ( const G3D::Any a)
inline

◆ operator==() [1/2]

bool G3D::SplineExtrapolationMode::operator== ( const SplineExtrapolationMode ::Value  other) const
inline

◆ operator==() [2/2]

bool G3D::SplineExtrapolationMode::operator== ( const SplineExtrapolationMode  other) const
inline

◆ operator>() [1/2]

bool G3D::SplineExtrapolationMode::operator> ( const SplineExtrapolationMode  other) const
inline

◆ operator>() [2/2]

bool G3D::SplineExtrapolationMode::operator> ( const Value  other) const
inline

◆ operator>=() [1/2]

bool G3D::SplineExtrapolationMode::operator>= ( const SplineExtrapolationMode  other) const
inline

◆ operator>=() [2/2]

bool G3D::SplineExtrapolationMode::operator>= ( const Value  other) const
inline

◆ serialize()

void G3D::SplineExtrapolationMode::serialize ( G3D::BinaryOutput b) const
inline

◆ toAny()

G3D::Any G3D::SplineExtrapolationMode::toAny ( ) const
inline

◆ toString() [1/2]

const char* G3D::SplineExtrapolationMode::toString ( ) const
inline

◆ toString() [2/2]

static const char* G3D::SplineExtrapolationMode::toString ( int  i,
Value v 
)
inlinestatic

Member Data Documentation

◆ value

enum G3D::SplineExtrapolationMode::Value G3D::SplineExtrapolationMode::value

documentation generated on Wed Nov 24 2021 08:02:00 using doxygen 1.8.15