13 #ifndef __GU_LocalFrame_h__
14 #define __GU_LocalFrame_h__
32 namespace GU_LocalFrame
156 #endif // __GU_LocalFrame_h__
GU_API void computePointLocalOrigins(OriginType origin_type, const GEO_Detail &gdp, const GA_PointGroup *point_group, const GA_OffsetArray &class_points, const UT_ExintArray &class_start_indices, UT_Array< Frame > &class_frames)
Compute the local origins for a list of point groupings.
UT_Vector3R myUpVector
Only used when myFrameType == LOCALFRAME_NMLANDVEC.
GU_API void computePointLocalFrames(const ComputeParms &parms, const GEO_Detail &gdp, const GA_PointGroup *point_group, const GA_OffsetArray &class_points, const UT_ExintArray &class_start_indices, UT_Array< Frame > &class_frames)
Compute the local frames for a list of point groupings.
GU_API void computeBreakpointLocalOrigins(OriginType origin_type, const GEO_Detail &gdp, const GA_BreakpointGroup *bkpt_group, const UT_Array< GA_Breakpoint > &class_bkpts, const UT_ExintArray &class_start_indices, UT_Array< Frame > &class_frames)
Compute the local origins for a list of breakpoint groupings.
A class representing a local frame.
Generic symmetric 3x3 matrix.
GU_API void computeEdgeLocalOrigins(OriginType origin_type, const GEO_Detail &gdp, const GA_EdgeGroup &edge_group, const UT_Array< GA_Edge > &class_edges, const UT_ExintArray &class_start_indices, UT_Array< Frame > &class_frames)
Compute the local origins for a list of edge groupings.
GU_API void computeBreakpointLocalFrames(const ComputeParms &parms, const GEO_Detail &gdp, const GA_BreakpointGroup *bkpt_group, const UT_Array< GA_Breakpoint > &class_bkpts, const UT_ExintArray &class_start_indices, UT_Array< Frame > &class_frames)
Compute the local frames for a list of breakpoint groupings.
UT_Function< bool(const GU_Detail &gdp, const GA_Range &prim_range, UT_SymMatrix3R &covariance, UT_Vector3R ¢roid, UT_Vector3R &avg_normal, UT_Vector3Array *point_positions, GA_OffsetArray *prim_refs)> PrimCovarianceFunc
A range of elements in an index-map.
GU_API void computePrimLocalOrigins(OriginType origin_type, const GEO_Detail &gdp, const GA_PrimitiveGroup *prim_group, const GA_OffsetArray &class_prims, const UT_ExintArray &class_start_indices, UT_Array< Frame > &class_frames)
Compute the local origins for a list of primitive groupings.
OriginType
Different types of local origins that can be computed for components.
std::function< T > UT_Function
PrimCovarianceFunc myPrimCovarianceFunc
GU_API void computePrimLocalFrames(const ComputeParms &parms, const GEO_Detail &gdp, const GA_PrimitiveGroup *prim_group, const GA_OffsetArray &class_prims, const UT_ExintArray &class_start_indices, UT_Array< Frame > &class_frames)
Compute the local frames for a list of primitive groupings.
FrameType
Different types of local frames that can be computed for components.
GU_API void computeEdgeLocalFrames(const ComputeParms &parms, const GEO_Detail &gdp, const GA_EdgeGroup &edge_group, const UT_Array< GA_Edge > &class_edges, const UT_ExintArray &class_start_indices, UT_Array< Frame > &class_frames)
Compute the local frames for a list of edge groupings.