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

#include <RU_RotoSpline.h>

Public Member Functions

 RU_RotoSpline (RU_RotoType curvetype, RU_RotoFill type, float detail=0.5f, float aspect=1.0f)
 
 ~RU_RotoSpline ()
 
exint entries () const
 
RU_RotoPointgetPoint (int i)
 
RU_RotoPointgetPointByIndex (float index)
 
void addPoint (RU_RotoPoint *point)
 
RU_RotoFill getFillType () const
 
GU_Detailbuild (GU_Detail *rawcurve=0)
 
GU_DetailbuildFeather (float basewidth=0.5F, GU_Detail *rawcurve=0)
 
void buildRawCurve (GU_Detail &, bool feather=false)
 

Static Public Member Functions

static void buildFreehand (const UT_Vector2Array &ipoints, UT_Vector2Array &points, UT_Vector2Array &slopes1, UT_Vector2Array &slopes2, float tolerance, bool isbezier, bool close)
 

Detailed Description

Definition at line 35 of file RU_RotoSpline.h.

Constructor & Destructor Documentation

RU_RotoSpline::RU_RotoSpline ( RU_RotoType  curvetype,
RU_RotoFill  type,
float  detail = 0.5f,
float  aspect = 1.0f 
)
RU_RotoSpline::~RU_RotoSpline ( )

Member Function Documentation

void RU_RotoSpline::addPoint ( RU_RotoPoint point)
GU_Detail* RU_RotoSpline::build ( GU_Detail rawcurve = 0)
GU_Detail* RU_RotoSpline::buildFeather ( float  basewidth = 0.5F,
GU_Detail rawcurve = 0 
)
static void RU_RotoSpline::buildFreehand ( const UT_Vector2Array ipoints,
UT_Vector2Array points,
UT_Vector2Array slopes1,
UT_Vector2Array slopes2,
float  tolerance,
bool  isbezier,
bool  close 
)
static
void RU_RotoSpline::buildRawCurve ( GU_Detail ,
bool  feather = false 
)
exint RU_RotoSpline::entries ( ) const
inline

Definition at line 42 of file RU_RotoSpline.h.

RU_RotoFill RU_RotoSpline::getFillType ( ) const
inline

Definition at line 47 of file RU_RotoSpline.h.

RU_RotoPoint* RU_RotoSpline::getPoint ( int  i)
inline

Definition at line 43 of file RU_RotoSpline.h.

RU_RotoPoint* RU_RotoSpline::getPointByIndex ( float  index)

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