HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HDK_Sample::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
 
bool myUseCurveNormalAsTargetUp
 
bool myTargetUpVectorAtStart
 
bool myUseEndTargetUpVector = false
 
bool myContinuousClosedCurves = true
 
bool myNormalizeScales
 
myUniformScale = T(1)
 
UT_RampmyScaleRamp = nullptr
 
bool myStretchAroundTurns
 
myMaxStretchScale
 

Detailed Description

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

Definition at line 128 of file GU_CurveFrame.h.

Member Data Documentation

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

Definition at line 137 of file GU_CurveFrame.h.

template<typename T>
bool HDK_Sample::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 176 of file GU_CurveFrame.h.

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

Definition at line 149 of file GU_CurveFrame.h.

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

Definition at line 151 of file GU_CurveFrame.h.

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

Definition at line 131 of file GU_CurveFrame.h.

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

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

Definition at line 140 of file GU_CurveFrame.h.

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

Definition at line 138 of file GU_CurveFrame.h.

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

Definition at line 182 of file GU_CurveFrame.h.

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

Definition at line 178 of file GU_CurveFrame.h.

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

Definition at line 136 of file GU_CurveFrame.h.

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

Component of myRotAttribs being read. (default 0)

Definition at line 142 of file GU_CurveFrame.h.

template<typename T>
GA_ROHandleT<T> HDK_Sample::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 146 of file GU_CurveFrame.h.

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

Definition at line 180 of file GU_CurveFrame.h.

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

Definition at line 181 of file GU_CurveFrame.h.

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

Definition at line 130 of file GU_CurveFrame.h.

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

Definition at line 148 of file GU_CurveFrame.h.

template<typename T>
bool HDK_Sample::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 155 of file GU_CurveFrame.h.

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

Definition at line 150 of file GU_CurveFrame.h.

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

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

Definition at line 134 of file GU_CurveFrame.h.

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

Definition at line 179 of file GU_CurveFrame.h.

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

Definition at line 152 of file GU_CurveFrame.h.

template<typename T>
bool HDK_Sample::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 158 of file GU_CurveFrame.h.


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