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
arc.h
Go to the documentation of this file.
1
//
2
// Copyright 2016 Pixar
3
//
4
// Licensed under the terms set forth in the LICENSE.txt file available at
5
// https://openusd.org/license.
6
//
7
#ifndef PXR_USD_PCP_ARC_H
8
#define PXR_USD_PCP_ARC_H
9
10
#include "
pxr/pxr.h
"
11
#include "
pxr/usd/pcp/api.h
"
12
#include "
pxr/usd/pcp/mapExpression.h
"
13
#include "
pxr/usd/pcp/node.h
"
14
#include "
pxr/usd/pcp/types.h
"
15
#include "
pxr/usd/sdf/path.h
"
16
17
PXR_NAMESPACE_OPEN_SCOPE
18
19
class
PcpPrimIndex_Graph;
20
21
/// \class PcpArc
22
///
23
/// Represents an arc connecting two nodes in the prim index.
24
/// The arc is owned by a node (source) and points to its parent node (target)
25
/// in the index.
26
///
27
class
PcpArc
28
{
29
public
:
30
PcpArc
()
31
:
type
(
PcpArcTypeRoot
)
32
,
siblingNumAtOrigin
(0)
33
,
namespaceDepth
(0)
34
{ }
35
36
/// The type of this arc.
37
PcpArcType
type
;
38
39
/// The parent (or target) node of this arc.
40
/// If this arc's source node is a root node (i.e., type == PcpArcTypeRoot),
41
/// this will be an invalid node.
42
PcpNodeRef
parent
;
43
44
/// The origin node of this arc.
45
/// This is the node that caused this arc's source node to be brought into
46
/// the prim index. In most cases, this will be the same as the parent node.
47
/// For implied inherits, this is the node from which this inherit arc was
48
/// propagated. This affects strength ordering.
49
PcpNodeRef
origin
;
50
51
/// The value-mapping function used to map values from this arc's source
52
/// node to its parent node.
53
PcpMapExpression
mapToParent
;
54
55
// index among sibling arcs at origin; lower is stronger
56
int
siblingNumAtOrigin
;
57
58
// Absolute depth in namespace of node that introduced this node.
59
// Note that this does *not* count any variant selections.
60
int
namespaceDepth
;
61
};
62
63
PXR_NAMESPACE_CLOSE_SCOPE
64
65
#endif // PXR_USD_PCP_ARC_H
PcpArc
Definition:
arc.h:27
PcpMapExpression
Definition:
mapExpression.h:38
PcpArc::mapToParent
PcpMapExpression mapToParent
Definition:
arc.h:53
types.h
PcpNodeRef
Definition:
node.h:46
api.h
PcpArc::origin
PcpNodeRef origin
Definition:
arc.h:49
node.h
type
GLint GLint GLsizei GLint GLenum GLenum type
Definition:
glcorearb.h:108
PcpArc::type
PcpArcType type
The type of this arc.
Definition:
arc.h:37
PcpArc::siblingNumAtOrigin
int siblingNumAtOrigin
Definition:
arc.h:56
mapExpression.h
pxr.h
PcpArc::namespaceDepth
int namespaceDepth
Definition:
arc.h:60
PcpArc::PcpArc
PcpArc()
Definition:
arc.h:30
path.h
PXR_NAMESPACE_OPEN_SCOPE
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition:
path.h:1425
PcpArcTypeRoot
Definition:
types.h:30
PXR_NAMESPACE_CLOSE_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition:
pxr.h:74
PcpArc::parent
PcpNodeRef parent
Definition:
arc.h:42
PcpArcType
PcpArcType
Definition:
types.h:27
pxr
usd
pcp
arc.h
Generated on Wed Aug 27 2025 03:07:57 for HDK by
1.8.6