HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_Copy2.h File Reference
#include <GEO/GEO_PackedTypes.h>
#include <GA/GA_AttributeInstanceMatrix.h>
#include <GA/GA_OffsetList.h>
#include <GA/GA_PolyCounts.h>
#include <GA/GA_Types.h>
#include <UT/UT_Array.h>
#include <UT/UT_ArrayStringMap.h>
#include <UT/UT_SmallArray.h>
#include <UT/UT_UniquePtr.h>
#include <UT/UT_VectorTypes.h>
#include <SYS/SYS_StaticAssert.h>
#include <SYS/SYS_Types.h>
#include <utility>
+ Include dependency graph for GU_Copy2.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HDK_Sample::GU_PointTransformCache
 
struct  HDK_Sample::GU_CopyToPointsCache
 
struct  HDK_Sample::GU_CopyToPointsCache::TargetAttribInfo
 
struct  HDK_Sample::GU_CopyToPointsCache::PieceData
 
struct  UT::DefaultClearer< T >
 
struct  UT::DefaultClearer< HDK_Sample::GU_CopyToPointsCache::TargetAttribInfo >
 
struct  UT::DefaultClearer< T >
 
struct  UT::DefaultClearer< GA_OffsetList >
 

Namespaces

 HDK_Sample
 This namespace is used to hold all HDK example source code.
 
 HDK_Sample::GU_Copy
 
 HDK_Sample::GU_Copy::NeededTransforms
 
 UT
 

Macros

#define __HDK_GU_Copy2_h__
 

Enumerations

enum  {
  HDK_Sample::GU_Copy::NeededTransforms::translate3f, HDK_Sample::GU_Copy::NeededTransforms::matrix3f, HDK_Sample::GU_Copy::NeededTransforms::inverse3f, HDK_Sample::GU_Copy::NeededTransforms::inverse3d,
  HDK_Sample::GU_Copy::NeededTransforms::quaternionf, HDK_Sample::GU_Copy::NeededTransforms::quaterniond, HDK_Sample::GU_Copy::NeededTransforms::num_needed_transforms
}
 

Functions

void HDK_Sample::GU_Copy::GUremoveUnnecessaryAttribs (GU_Detail *output_geo, const GU_Detail *source, const GU_Detail *target, GU_CopyToPointsCache *cache, const GU_CopyToPointsCache::TargetAttribInfoMap *target_attrib_info, const GU_CopyToPointsCache::TargetAttribInfoMap *target_group_info)
 
void HDK_Sample::GU_Copy::GUsetupPointTransforms (GU_PointTransformCache *cache, const GA_OffsetListRef &target_point_list, const GU_Detail *target, const bool transform_using_more_than_P, const bool allow_implicit_N, bool &transforms_changed)
 
void HDK_Sample::GU_Copy::GUaddAttributesFromSourceOrTarget (GU_Detail *output_geo, const GU_Detail *source, exint *num_source_attribs, bool has_transform_matrices, bool *needed_transforms, const GU_Detail *target, GU_CopyToPointsCache::TargetAttribInfoMap *target_attrib_info, GU_CopyToPointsCache::TargetAttribInfoMap *target_group_info, exint *num_target_attribs)
 
void HDK_Sample::GU_Copy::GUcomputeTransformTypeCaches (GU_PointTransformCache *cache, exint num_target_points, bool transforms_changed, const bool needed_transforms[NeededTransforms::num_needed_transforms])
 
void HDK_Sample::GU_Copy::GUcreateGeometryFromSource (GU_Detail *output_geo, const GU_Detail *const source, const GA_OffsetList &source_point_list_cache, const GA_OffsetList &source_vertex_list_cache, const GA_OffsetList &source_prim_list_cache, const exint ncopies)
 NOTE: This does not clear output_geo. More...
 
void HDK_Sample::GU_Copy::GUcreatePointOrPrimList (GA_OffsetList &offset_list, const GU_Detail *const detail, const GA_ElementGroup *const group, const GA_AttributeOwner owner)
 
void HDK_Sample::GU_Copy::GUcreateVertexListAndGeometryFromSource (GU_Detail *output_geo, const GU_Detail *const source, const exint source_point_count, const exint source_vertex_count, const exint source_prim_count, const GA_OffsetList &source_point_list_cache, GA_OffsetList &source_vertex_list_cache, const GA_OffsetList &source_prim_list_cache, const GA_PointGroup *const source_pointgroup, const GA_PrimitiveGroup *const source_primgroup, const exint ncopies)
 
void HDK_Sample::GU_Copy::GUcreateEmptyPackedGeometryPrims (GU_Detail *const output_geo, const exint num_packed_prims)
 
void HDK_Sample::GU_Copy::GUcopyAttributesFromSource (GU_Detail *const output_geo, const GA_SplittableRange *const output_splittable_ranges, const GU_Detail *const source, const exint num_target_points, GU_CopyToPointsCache *const cache, const GA_OffsetList *const source_offset_lists, const exint *const num_source_attribs, const bool no_transforms, const bool had_transform_matrices, const bool has_transform_matrices, const bool topology_changed, const bool transforms_changed, const GU_Detail *const target, const GU_CopyToPointsCache::TargetAttribInfoMap *const target_attrib_info, const GU_CopyToPointsCache::TargetAttribInfoMap *const target_group_info, const exint *const target_to_piecei, const UT_Array< exint > *const owner_piece_offset_starts, const GU_CopyToPointsCache::PieceData *const piece_data)
 
void HDK_Sample::GU_Copy::GUcopyAttributesFromTarget (GU_Detail *const output_geo, const GA_SplittableRange *const output_splittable_ranges, const exint ncopies, GU_CopyToPointsCache *const cache, const exint source_point_count, const exint source_vertex_count, const exint source_prim_count, const exint *const num_target_attribs, const GA_OffsetListRef &target_point_list, const GU_Detail *const target, GU_CopyToPointsCache::TargetAttribInfoMap &target_attrib_info, GU_CopyToPointsCache::TargetAttribInfoMap &target_group_info, const bool topology_changed, const exint *const target_to_piecei, const UT_Array< exint > *const owner_piece_offset_starts, const GU_CopyToPointsCache::PieceData *const piece_data)
 
void HDK_Sample::GU_Copy::GUupdatePackedPrimTransforms (GU_Detail *output_geo, GU_CopyToPointsCache *cache, const bool had_transform_matrices, const exint num_packed_prims, const UT_Vector3 *const constant_pivot)
 
void HDK_Sample::GU_Copy::GUhandleTargetAttribsForPackedPrims (GU_Detail *output_geo, GU_CopyToPointsCache *cache, const bool topology_changed, const bool had_transform_matrices, const GU_Detail *const target, const GA_OffsetListRef &target_point_list, GU_CopyToPointsCache::TargetAttribInfoMap &target_attrib_info, GU_CopyToPointsCache::TargetAttribInfoMap &target_group_info, const UT_Vector3 *const constant_pivot)
 
void HDK_Sample::GU_Copy::GUcopyPackAllSame (GU_Detail *output_geo, const GEO_ViewportLOD lod, const GU_CopyToPointsCache::PackedPivot pivot_type, GU_CopyToPointsCache *cache, const GU_ConstDetailHandle source_handle, const GU_Detail *source, const GA_PointGroup *source_pointgroup, const GA_PrimitiveGroup *source_primgroup, bool source_topology_changed, bool had_transform_matrices, bool transforms_changed, const exint num_packed_prims, const GU_Detail *target, const GA_OffsetListRef *target_point_list, GU_CopyToPointsCache::TargetAttribInfoMap *target_attrib_info, GU_CopyToPointsCache::TargetAttribInfoMap *target_group_info)
 

Macro Definition Documentation

#define __HDK_GU_Copy2_h__

Definition at line 32 of file GU_Copy2.h.