CurvePicker Class Reference

CurvePicker Class Reference

#include <curve.h>

Class Description

Definition at line 217 of file curve.h.

Classes

struct  CurveHit
 

Public Types

enum  CurveTestPoints {
  CTP_NONE = 0, CTP_START, CTP_END, CTP_START_END,
  CTP_ALL
}
 

Static Public Member Functions

static void hitTestCurves (float fMouseX, float fMouseY, float distanceTolerance, QVector< CurveHit > &hitCurves, CurveTestPoints ctp=CTP_START_END, bool bTestLockedCurves=false, bool bTestClosedCurves=true)
 
static int hitTestCurvePoints (float fMouseX, float fMouseY, float distanceTolerance, MudboxCurve *pCurve, CurveHit &curveHit, CurveTestPoints ctp=CTP_START_END)
 
static float projectPointToCurve (float fMouseX, float fMouseY, MudboxCurve *pCurve, int iPointIndex, Vector &vProjection)
 
static bool snapMouse (float fMouseX, float fMouseY, float fSnappingDistance, MudboxCurve *pCurve, float &fNewMouseX, float &fNewMouseY)
 

Member Enumeration Documentation

Enumerator
CTP_NONE 
CTP_START 
CTP_END 
CTP_START_END 
CTP_ALL 

Definition at line 233 of file curve.h.

Member Function Documentation

static void hitTestCurves ( float  fMouseX,
float  fMouseY,
float  distanceTolerance,
QVector< CurveHit > &  hitCurves,
CurveTestPoints  ctp = CTP_START_END,
bool  bTestLockedCurves = false,
bool  bTestClosedCurves = true 
)
static
static int hitTestCurvePoints ( float  fMouseX,
float  fMouseY,
float  distanceTolerance,
MudboxCurve pCurve,
CurveHit curveHit,
CurveTestPoints  ctp = CTP_START_END 
)
static
static float projectPointToCurve ( float  fMouseX,
float  fMouseY,
MudboxCurve pCurve,
int  iPointIndex,
Vector vProjection 
)
static
static bool snapMouse ( float  fMouseX,
float  fMouseY,
float  fSnappingDistance,
MudboxCurve pCurve,
float &  fNewMouseX,
float &  fNewMouseY 
)
static

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