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

#include <GU_LocalFrame.h>

Public Types

using PrimCovarianceFunc = UT_Function< bool(const GU_Detail &gdp, const GA_Range &prim_range, UT_SymMatrix3R &covariance, UT_Vector3R &centroid, UT_Vector3R &avg_normal, UT_Vector3Array *point_positions, GA_OffsetArray *prim_refs)>
 

Public Attributes

FrameType myFrameType
 
UT_Vector3R myUpVector
 Only used when myFrameType == LOCALFRAME_NMLANDVEC. More...
 
PrimCovarianceFunc myPrimCovarianceFunc
 

Detailed Description

A class wrapping some common parameters to the functions computing local frames.

Definition at line 48 of file GU_LocalFrame.h.

Member Typedef Documentation

using GU_LocalFrame::ComputeParms::PrimCovarianceFunc = UT_Function<bool(const GU_Detail &gdp, const GA_Range &prim_range, UT_SymMatrix3R &covariance, UT_Vector3R &centroid, UT_Vector3R &avg_normal, UT_Vector3Array *point_positions, GA_OffsetArray *prim_refs)>

Only used when myFrameType == LOCALFRAME_OBB and computing prim local frames. This is only necessary because we need access to code in the GT library we cannot access directly from GU. This should be set to GT_GUHelpers::computePrimCovariance().

Definition at line 67 of file GU_LocalFrame.h.

Member Data Documentation

FrameType GU_LocalFrame::ComputeParms::myFrameType

Definition at line 51 of file GU_LocalFrame.h.

PrimCovarianceFunc GU_LocalFrame::ComputeParms::myPrimCovarianceFunc

Definition at line 69 of file GU_LocalFrame.h.

UT_Vector3R GU_LocalFrame::ComputeParms::myUpVector

Only used when myFrameType == LOCALFRAME_NMLANDVEC.

Definition at line 54 of file GU_LocalFrame.h.


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