HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_CurveFrame::CurveFrameParms< T > Struct Template Reference

#include <GU_CurveFrame.h>

Public Attributes

TangentType myTangentType
 
bool myExtrapolateEndTangents
 
bool myTransformByInstanceAttribs
 Use incoming N, up, rot, orient, pscale, scale, pivot, trans, transform. More...
 
UT_XformOrder::xyzOrder myRotationOrder
 
UT_Vector3T< T > myAngles = UT_Vector3T<T>(0,0,0)
 
UT_Vector3T< T > myIncAngles = UT_Vector3T<T>(0,0,0)
 
RotationPer myIncAnglePer [3]
 NOTE: myIncAnglePer[2] will also be used for ensuring closed curve continuity. More...
 
int myRotAttribComponent = 0
 Component of myRotAttribs being read. (default 0) More...
 
GA_ROHandleT< T > myRotAttribs [3]
 
UT_Vector3T< T > myTargetUpVector
 
UT_Vector3T< T > myEndTargetUpVector
 
GA_ROHandleT< UT_Vector3T< T > > myTargetUpVectorAttrib
 
GA_ROHandleT< UT_Vector3T< T > > myEndTargetUpVectorAttrib
 
const GEO_DetailmyBankingCurveGeo = nullptr
 
bool myUseCurveNormalAsTargetUp
 
bool myTargetUpVectorAtStart
 
bool myUseEndTargetUpVector = false
 
bool myUseBankingCurve = false
 Banking curve overrides instance up attribute. More...
 
bool myContinuousClosedCurves = true
 
bool myNormalizeScales
 
myUniformScale = T(1)
 
UT_RampmyScaleRamp = nullptr
 
bool myStretchAroundTurns
 
myMaxStretchScale
 
bool myAdjustUpByCurvature = false
 
myUniformCurvatureScale = T(1)
 
GA_ROHandleT< T > myCurvatureScaleAttrib
 
GA_ROHandleV3D myCurvatureAttrib
 

Detailed Description

template<typename T>
struct GU_CurveFrame::CurveFrameParms< T >

Definition at line 109 of file GU_CurveFrame.h.

Member Data Documentation

template<typename T>
bool GU_CurveFrame::CurveFrameParms< T >::myAdjustUpByCurvature = false

Definition at line 169 of file GU_CurveFrame.h.

template<typename T>
UT_Vector3T<T> GU_CurveFrame::CurveFrameParms< T >::myAngles = UT_Vector3T<T>(0,0,0)

Definition at line 118 of file GU_CurveFrame.h.

template<typename T>
const GEO_Detail* GU_CurveFrame::CurveFrameParms< T >::myBankingCurveGeo = nullptr

Definition at line 133 of file GU_CurveFrame.h.

template<typename T>
bool GU_CurveFrame::CurveFrameParms< T >::myContinuousClosedCurves = true

When true, transformations for closed curves (and for "unrolled" curves that share a first and last point) will have an incremental roll added to ensure that any net roll introduced by non-planarity of the curve will be spread out, instead of being all cancelled in the very last edge. When false, this roll will be uncorrected, so there can be a large roll around the last edge.

This is important to turn off if, for example, myRotRampAttrib already accounts for this extra roll.

If this is enabled and myIncAngles[2] is non-zero, the total roll around the curve, including the inherent roll, will be rounded to be a multiple of a full turn to ensure continuity. If myIncAnglePer[2] is ATTRIB, the full range of the attribute along the curve is assumed to be 0-1, so if this is not the true range, that roll may need to be applied separately.

Definition at line 160 of file GU_CurveFrame.h.

template<typename T>
GA_ROHandleV3D GU_CurveFrame::CurveFrameParms< T >::myCurvatureAttrib

Definition at line 172 of file GU_CurveFrame.h.

template<typename T>
GA_ROHandleT<T> GU_CurveFrame::CurveFrameParms< T >::myCurvatureScaleAttrib

Definition at line 171 of file GU_CurveFrame.h.

template<typename T>
UT_Vector3T<T> GU_CurveFrame::CurveFrameParms< T >::myEndTargetUpVector

Definition at line 130 of file GU_CurveFrame.h.

template<typename T>
GA_ROHandleT<UT_Vector3T<T> > GU_CurveFrame::CurveFrameParms< T >::myEndTargetUpVectorAttrib

Definition at line 132 of file GU_CurveFrame.h.

template<typename T>
bool GU_CurveFrame::CurveFrameParms< T >::myExtrapolateEndTangents

Definition at line 112 of file GU_CurveFrame.h.

template<typename T>
RotationPer GU_CurveFrame::CurveFrameParms< T >::myIncAnglePer[3]

NOTE: myIncAnglePer[2] will also be used for ensuring closed curve continuity.

Definition at line 121 of file GU_CurveFrame.h.

template<typename T>
UT_Vector3T<T> GU_CurveFrame::CurveFrameParms< T >::myIncAngles = UT_Vector3T<T>(0,0,0)

Definition at line 119 of file GU_CurveFrame.h.

template<typename T>
T GU_CurveFrame::CurveFrameParms< T >::myMaxStretchScale

Definition at line 166 of file GU_CurveFrame.h.

template<typename T>
bool GU_CurveFrame::CurveFrameParms< T >::myNormalizeScales

Definition at line 162 of file GU_CurveFrame.h.

template<typename T>
UT_XformOrder::xyzOrder GU_CurveFrame::CurveFrameParms< T >::myRotationOrder

Definition at line 117 of file GU_CurveFrame.h.

template<typename T>
int GU_CurveFrame::CurveFrameParms< T >::myRotAttribComponent = 0

Component of myRotAttribs being read. (default 0)

Definition at line 123 of file GU_CurveFrame.h.

template<typename T>
GA_ROHandleT<T> GU_CurveFrame::CurveFrameParms< T >::myRotAttribs[3]

"pitch" (X), "yaw" (Y), and "roll" (Z) attributes to add to rotation angles, to be multiplied by myIncAngles if myIncAnglePer is ATTRIB, and they can be vertex, point, primitive, or detail attributes.

Definition at line 127 of file GU_CurveFrame.h.

template<typename T>
UT_Ramp* GU_CurveFrame::CurveFrameParms< T >::myScaleRamp = nullptr

Definition at line 164 of file GU_CurveFrame.h.

template<typename T>
bool GU_CurveFrame::CurveFrameParms< T >::myStretchAroundTurns

Definition at line 165 of file GU_CurveFrame.h.

template<typename T>
TangentType GU_CurveFrame::CurveFrameParms< T >::myTangentType

Definition at line 111 of file GU_CurveFrame.h.

template<typename T>
UT_Vector3T<T> GU_CurveFrame::CurveFrameParms< T >::myTargetUpVector

Definition at line 129 of file GU_CurveFrame.h.

template<typename T>
bool GU_CurveFrame::CurveFrameParms< T >::myTargetUpVectorAtStart

When true, the target up vector will be used as the starting up vector. When false, it will be used as the average up vector.

Definition at line 137 of file GU_CurveFrame.h.

template<typename T>
GA_ROHandleT<UT_Vector3T<T> > GU_CurveFrame::CurveFrameParms< T >::myTargetUpVectorAttrib

Definition at line 131 of file GU_CurveFrame.h.

template<typename T>
bool GU_CurveFrame::CurveFrameParms< T >::myTransformByInstanceAttribs

Use incoming N, up, rot, orient, pscale, scale, pivot, trans, transform.

Definition at line 115 of file GU_CurveFrame.h.

template<typename T>
T GU_CurveFrame::CurveFrameParms< T >::myUniformCurvatureScale = T(1)

Definition at line 170 of file GU_CurveFrame.h.

template<typename T>
T GU_CurveFrame::CurveFrameParms< T >::myUniformScale = T(1)

Definition at line 163 of file GU_CurveFrame.h.

template<typename T>
bool GU_CurveFrame::CurveFrameParms< T >::myUseBankingCurve = false

Banking curve overrides instance up attribute.

Definition at line 142 of file GU_CurveFrame.h.

template<typename T>
bool GU_CurveFrame::CurveFrameParms< T >::myUseCurveNormalAsTargetUp

Definition at line 134 of file GU_CurveFrame.h.

template<typename T>
bool GU_CurveFrame::CurveFrameParms< T >::myUseEndTargetUpVector = false

NOTE: This should only be true if myTargetUpVectorAtStart is true. It also only applies to open curves.

Definition at line 140 of file GU_CurveFrame.h.


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