HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GU_OSDPatchMap.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: GU_OSDPatchMap.h ( GU Library, C++)
7
*
8
* COMMENTS: Shared coarse-face to ptex patch mapping math for GU and GT.
9
*/
10
11
#pragma once
12
13
#include "
GU_API.h
"
14
15
#include <
SYS/SYS_Types.h
>
16
#include <
UT/UT_Span.h
>
17
#include <
UT/UT_Vector2.h
>
18
19
namespace
GU_OSDPatchMap
20
{
21
22
GU_API
bool
intrinsicCoarseUV
(
23
exint
coarseVertexCount,
24
UT_Span<UT_Vector2>
coarseUV);
25
26
GU_API
bool
faceToPatch
(
27
int64
&patchId,
28
fpreal
&patchU,
29
fpreal
&patchV,
30
exint
coarseVertexCount,
31
exint
firstPatchId,
32
exint
patchCount,
33
fpreal
faceU,
34
fpreal
faceV,
35
bool
hasExplicitUV,
36
UT_Span<const UT_Vector2>
coarseUV);
37
38
}
// namespace GU_OSDPatchMap
TCB_SPAN_NAMESPACE_NAME::span
Definition:
UT_Span.h:175
exint
int64 exint
Definition:
SYS_Types.h:125
UT_Span.h
SYS_Types.h
int64
long long int64
Definition:
SYS_Types.h:116
GU_API
#define GU_API
Definition:
GU_API.h:14
UT_Vector2.h
fpreal
fpreal64 fpreal
Definition:
SYS_Types.h:283
GU_OSDPatchMap::faceToPatch
GU_API bool faceToPatch(int64 &patchId, fpreal &patchU, fpreal &patchV, exint coarseVertexCount, exint firstPatchId, exint patchCount, fpreal faceU, fpreal faceV, bool hasExplicitUV, UT_Span< const UT_Vector2 > coarseUV)
GU_OSDPatchMap::intrinsicCoarseUV
GU_API bool intrinsicCoarseUV(exint coarseVertexCount, UT_Span< UT_Vector2 > coarseUV)
GU_API.h
GU
GU_OSDPatchMap.h
Generated on Thu Aug 6 2026 02:13:01 for HDK by
1.8.6