7 #ifndef __usd_SurfaceAccessibleUsd_h__ 8 #define __usd_SurfaceAccessibleUsd_h__ 37 a_instance.cast<UsdStageRefPtr>();
40 {
return (m_usdStage!=0); }
46 Creation a_create,Writable a_writable);
49 Attribute a_attribute,
50 Creation a_create,Writable a_writable);
52 using SurfaceAccessibleBase::discard;
54 virtual BWORD discard(SurfaceAccessibleI::Element a_element,
59 virtual BWORD load(
String a_filename,
64 virtual BWORD save(
String a_filename,
67 using SurfaceAccessibleBase::attributeSpecs;
69 virtual void attributeSpecs(
73 SurfaceAccessibleI::Element
78 virtual I32 count(
String a_node,
79 SurfaceAccessibleI::Element
85 SurfaceI::Restrictions a_restrictions);
88 void setUsdStage(UsdStageRefPtr a_usdStage)
89 { m_usdStage=a_usdStage; }
91 UsdStageRefPtr usdStage(
void) {
return m_usdStage; }
93 void isolateNode(
String a_nodeName)
94 { m_isolateNode=a_nodeName; }
96 {
return m_isolateNode; }
106 UsdPrim usdPrim(
void)
const {
return m_usdPrim; }
107 void setUsdPrim(UsdPrim a_usdPrim)
108 { m_usdPrim=a_usdPrim; }
110 String usdType(
void)
const {
return m_usdType; }
111 void setUsdType(
String a_usdType)
112 { m_usdType=a_usdType; }
114 String usdPath(
void)
const {
return m_usdPath; }
115 void setUsdPath(
String a_usdPath)
116 { m_usdPath=a_usdPath; }
118 String usdParent(
void)
const {
return m_usdParent; }
119 void setUsdParent(
String a_usdParent)
120 { m_usdParent=a_usdParent; }
124 { m_extentMin=a_extentMin; }
128 { m_extentMax=a_extentMax; }
131 {
return m_pointSpecs; }
133 {
return m_vertexSpecs; }
135 {
return m_primitiveSpecs; }
137 {
return m_detailSpecs; }
139 I32 pointCount(
void)
const 140 {
return m_pointCount; }
141 I32 vertexCount(
void)
const 142 {
return m_vertexCount; }
143 I32 primitiveCount(
void)
const 144 {
return m_primitiveCount; }
146 void setPointCount(I32 a_pointCount)
147 { m_pointCount=a_pointCount; }
148 void setVertexCount(I32 a_vertexCount)
149 { m_vertexCount=a_vertexCount; }
150 void setPrimitiveCount(I32 a_primitiveCount)
151 { m_primitiveCount=a_primitiveCount; }
153 I32 count(Element a_element)
const;
171 I32 m_primitiveCount;
175 {
return m_nodeArray; }
179 virtual void reset(
void);
181 BWORD interpret(
void);
185 UsdStageRefPtr m_usdStage;
192 std::map<String, sp<PrimNode> > m_nodeMap;
Common Functionality for Accessible Surface.
Definition: SurfaceAccessibleBase.h:20
virtual sp< SurfaceI > surface(void)
Return current underlying SurfaceI.
Definition: SurfaceAccessibleBase.h:143
Heap-based support for classes participating in fe::ptr <>
Definition: Counted.h:35
Base class providing protection counting for cp<>
Definition: Protectable.h:28
Smart pointer used with types represented by BaseType.
Definition: Instance.h:28
kernel
Definition: namespace.dox:3
virtual void bind(Instance a_instance)
associate with model data
Definition: SurfaceAccessibleUsd.h:34
USD Surface Binding.
Definition: SurfaceAccessibleUsd.h:19
virtual void bind(Instance a_instance)
associate with model data
Definition: SurfaceAccessibleBase.h:31
Automatically reference-counted string container.
Definition: String.h:128
int count(void) const
Return the count of references.
Definition: Counted.h:156
Intrusive Smart Pointer.
Definition: src/core/ptr.h:53
virtual BWORD isBound(void)
Return true if surface is available.
Definition: SurfaceAccessibleUsd.h:39
virtual BWORD save(String a_filename)
save model data to file
Definition: SurfaceAccessibleBase.h:48
Per-class participation non-RTTI fallback dynamic casting mechanism.
Definition: Castable.h:192
virtual BWORD load(String a_filename)
load model data from file
Definition: SurfaceAccessibleBase.h:45
virtual sp< SurfaceAccessorI > accessor(String a_node, Element a_element, String a_name, Creation a_create, Writable a_writable)
Return access to an attribute.
Definition: SurfaceAccessibleBase.h:87