HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GU_Copy2.h File Reference
#include "GU_API.h"
#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:

Go to the source code of this file.

Classes

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

Namespaces

 UT
 
 GU_Copy
 
 GU_Copy::NeededTransforms
 

Macros

#define __GU_Copy2_h__
 

Enumerations

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

Functions

GU_API void 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)
 
GU_API void 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)
 
GU_API void GU_Copy::GUaddAttributesFromSourceOrTarget (GU_Detail *output_geo, const GU_Detail *source, exint *num_source_attribs=nullptr, bool has_transform_matrices=false, bool *needed_transforms=nullptr, const GU_Detail *target=nullptr, GU_CopyToPointsCache::TargetAttribInfoMap *target_attrib_info=nullptr, GU_CopyToPointsCache::TargetAttribInfoMap *target_group_info=nullptr, exint *num_target_attribs=nullptr)
 
GU_API void GU_Copy::GUcomputeTransformTypeCaches (GU_PointTransformCache *cache, exint num_target_points, bool transforms_changed, const bool needed_transforms[NeededTransforms::num_needed_transforms])
 
GU_API void 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...
 
GU_API void GU_Copy::GUcreatePointOrPrimList (GA_OffsetList &offset_list, const GU_Detail *const detail, const GA_ElementGroup *const group, const GA_AttributeOwner owner)
 
GU_API void 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)
 
GU_API void GU_Copy::GUcreateEmptyPackedGeometryPrims (GU_Detail *const output_geo, const exint num_packed_prims)
 
GU_API void 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=nullptr, const GU_CopyToPointsCache::TargetAttribInfoMap *const target_attrib_info=nullptr, const GU_CopyToPointsCache::TargetAttribInfoMap *const target_group_info=nullptr, const exint *const target_to_piecei=nullptr, const UT_Array< exint > *const owner_piece_offset_starts=nullptr, const GU_CopyToPointsCache::PieceData *const piece_data=nullptr)
 
GU_API void 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=nullptr, const UT_Array< exint > *const owner_piece_offset_starts=nullptr, const GU_CopyToPointsCache::PieceData *const piece_data=nullptr)
 
GU_API void 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)
 
GU_API void 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)
 
GU_API void 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=nullptr, const GA_OffsetListRef *target_point_list=nullptr, GU_CopyToPointsCache::TargetAttribInfoMap *target_attrib_info=nullptr, GU_CopyToPointsCache::TargetAttribInfoMap *target_group_info=nullptr)
 

Macro Definition Documentation

#define __GU_Copy2_h__

Definition at line 14 of file GU_Copy2.h.