Alembic Version 1.1

Loading...
Searching...
No Matches
ISubD.h
Go to the documentation of this file.
1//-*****************************************************************************
2//
3// Copyright (c) 2009-2012,
4// Sony Pictures Imageworks, Inc. and
5// Industrial Light & Magic, a division of Lucasfilm Entertainment Company Ltd.
6//
7// All rights reserved.
8//
9// Redistribution and use in source and binary forms, with or without
10// modification, are permitted provided that the following conditions are
11// met:
12// * Redistributions of source code must retain the above copyright
13// notice, this list of conditions and the following disclaimer.
14// * Redistributions in binary form must reproduce the above
15// copyright notice, this list of conditions and the following disclaimer
16// in the documentation and/or other materials provided with the
17// distribution.
18// * Neither the name of Sony Pictures Imageworks, nor
19// Industrial Light & Magic nor the names of their contributors may be used
20// to endorse or promote products derived from this software without specific
21// prior written permission.
22//
23// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
30// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
31// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34//
35//-*****************************************************************************
36
37#ifndef Alembic_AbcGeom_ISubD_h
38#define Alembic_AbcGeom_ISubD_h
39
40#include <Alembic/Util/Export.h>
41#include <Alembic/AbcGeom/Foundation.h>
42#include <Alembic/AbcGeom/SchemaInfoDeclarations.h>
43#include <Alembic/AbcGeom/IGeomParam.h>
44#include <Alembic/AbcGeom/IFaceSet.h>
45#include <Alembic/AbcGeom/IGeomBase.h>
46
47 namespace Alembic {
48 namespace AbcGeom {
49 namespace ALEMBIC_VERSION_NS {
50
51//-*****************************************************************************
52 class ALEMBIC_EXPORT ISubDSchema : public IGeomBaseSchema<SubDSchemaInfo>
53{
54 public:
55 //-*************************************************************************
56 // SUBD SCHEMA SAMPLE TYPE
57 //-*************************************************************************
58 class Sample
59 {
60 public:
61 typedef Sample this_type;
62
64 Sample() { reset(); }
65
66 // main stuff
67 Abc::P3fArraySamplePtr getPositions() const { return m_positions; }
68 Abc::Int32ArraySamplePtr getFaceIndices() const { return m_faceIndices; }
69 Abc::Int32ArraySamplePtr getFaceCounts() const { return m_faceCounts; }
70
71 // misc subd stuff
72 int32_t getFaceVaryingInterpolateBoundary() const
73 { return m_faceVaryingInterpolateBoundary; }
74
75 int32_t getFaceVaryingPropagateCorners() const
76 { return m_faceVaryingPropagateCorners; }
77
78 int32_t getInterpolateBoundary() const
79 { return m_interpolateBoundary; }
80
81 // creases
82 Abc::Int32ArraySamplePtr getCreaseIndices() const
83 { return m_creaseIndices; }
84
85 Abc::Int32ArraySamplePtr getCreaseLengths() const
86 { return m_creaseLengths; }
87
88 Abc::FloatArraySamplePtr getCreaseSharpnesses() const
89 { return m_creaseSharpnesses; }
90
91 // corners
92 Abc::Int32ArraySamplePtr getCornerIndices() const
93 { return m_cornerIndices; }
94
95 Abc::FloatArraySamplePtr getCornerSharpnesses() const
96 { return m_cornerSharpnesses; }
97
98 // Holes
99 Abc::Int32ArraySamplePtr getHoles() const { return m_holes; }
100
101 // subdivision scheme
102 std::string getSubdivisionScheme() const
103 { return m_subdScheme; }
104
105 Abc::V3fArraySamplePtr getVelocities() const { return m_velocities; }
106
107 // bounds
108 Abc::Box3d getSelfBounds() const { return m_selfBounds; }
109
110 bool valid() const
111 {
112 return m_positions && m_faceIndices && m_faceCounts;
113 }
114
115 void reset()
116 {
117 m_positions.reset();
118 m_velocities.reset();
119 m_faceIndices.reset();
120 m_faceCounts.reset();
121
122 m_faceVaryingInterpolateBoundary = 0;
123 m_faceVaryingPropagateCorners = 0;
124 m_interpolateBoundary = 0;
125
126 m_creaseIndices.reset();
127 m_creaseLengths.reset();
128 m_creaseSharpnesses.reset();
129
130 m_cornerIndices.reset();
131 m_cornerSharpnesses.reset();
132
133 m_holes.reset();
134
135 m_subdScheme = "catmull-clark";
136
137 m_selfBounds.makeEmpty();
138 }
139
140 ALEMBIC_OPERATOR_BOOL( valid() );
141
142 protected:
143 friend class ISubDSchema;
144
145 Abc::P3fArraySamplePtr m_positions;
146 Abc::V3fArraySamplePtr m_velocities;
147 Abc::Int32ArraySamplePtr m_faceIndices;
148 Abc::Int32ArraySamplePtr m_faceCounts;
149
150 int32_t m_faceVaryingInterpolateBoundary;
151 int32_t m_faceVaryingPropagateCorners;
152 int32_t m_interpolateBoundary;
153
154 // Creases
155 Abc::Int32ArraySamplePtr m_creaseIndices;
156 Abc::Int32ArraySamplePtr m_creaseLengths;
157 Abc::FloatArraySamplePtr m_creaseSharpnesses;
158
159 // Corners
160 Abc::Int32ArraySamplePtr m_cornerIndices;
161 Abc::FloatArraySamplePtr m_cornerSharpnesses;
162
163 // Holes
164 Abc::Int32ArraySamplePtr m_holes;
165
166 // subdivision scheme
167 std::string m_subdScheme;
168
169 // bounds
170 Abc::Box3d m_selfBounds;
171
172 }; // end ISubDSchema::Sample
173
174 //-*************************************************************************
175 // SUBD SCHEMA
176 //-*************************************************************************
177 public:
180 typedef ISubDSchema this_type;
181
182 //-*************************************************************************
183 // CONSTRUCTION, DESTRUCTION, ASSIGNMENT
184 //-*************************************************************************
185
188 ISubDSchema()
189 {
190 m_faceSetsLoaded = false;
191 }
192
199 ISubDSchema( const ICompoundProperty &iParent,
200 const std::string &iName,
201
202 const Abc::Argument &iArg0 = Abc::Argument(),
203 const Abc::Argument &iArg1 = Abc::Argument() )
204 : IGeomBaseSchema<SubDSchemaInfo>( iParent, iName, iArg0, iArg1 )
205 {
206 init( iArg0, iArg1 );
207 }
208
213 ISubDSchema( const ICompoundProperty &iProp,
214 const Abc::Argument &iArg0 = Abc::Argument(),
215 const Abc::Argument &iArg1 = Abc::Argument() )
216 : IGeomBaseSchema<SubDSchemaInfo>( iProp, iArg0, iArg1 )
217 {
218 init( iArg0, iArg1 );
219 }
220
222
223 //-*************************************************************************
224 // SCHEMA STUFF
225 //-*************************************************************************
226
227
228 MeshTopologyVariance getTopologyVariance() const;
229
231 bool isConstant() const { return getTopologyVariance() == kConstantTopology; }
232
233 //-*************************************************************************
234 // SAMPLE STUFF
235 //-*************************************************************************
236
239 size_t getNumSamples() const;
240
242 AbcA::TimeSamplingPtr getTimeSampling() const
243 {
244 if ( m_positionsProperty.valid() )
245 {
246 return m_positionsProperty.getTimeSampling();
247 }
248 else
249 {
250 return getObject().getArchive().getTimeSampling( 0 );
251 }
252 }
253
254 void get( Sample &iSamp,
255 const Abc::ISampleSelector &iSS = Abc::ISampleSelector() ) const;
256
257 Sample getValue( const Abc::ISampleSelector &iSS = Abc::ISampleSelector() ) const
258 {
259 Sample smp;
260 get( smp, iSS );
261 return smp;
262 }
263
264 Abc::IInt32ArrayProperty getFaceCountsProperty() const
265 { return m_faceCountsProperty; }
266 Abc::IInt32ArrayProperty getFaceIndicesProperty() const
267 { return m_faceIndicesProperty; }
268 Abc::IP3fArrayProperty getPositionsProperty() const
269 { return m_positionsProperty; }
270
271 Abc::IInt32Property getFaceVaryingInterpolateBoundaryProperty() const
272 { return m_faceVaryingInterpolateBoundaryProperty; }
273
274 Abc::IInt32Property getFaceVaryingPropagateCornersProperty() const
275 { return m_faceVaryingPropagateCornersProperty; }
276
277 Abc::IInt32Property getInterpolateBoundaryProperty() const
278 { return m_interpolateBoundaryProperty; }
279
280 Abc::IInt32ArrayProperty getCreaseIndicesProperty() const
281 { return m_creaseIndicesProperty; }
282 Abc::IInt32ArrayProperty getCreaseLengthsProperty() const
283 { return m_creaseLengthsProperty; }
284 Abc::IFloatArrayProperty getCreaseSharpnessesProperty() const
285 { return m_creaseSharpnessesProperty; }
286
287 Abc::IInt32ArrayProperty getCornerIndicesProperty() const
288 { return m_cornerIndicesProperty; }
289 Abc::IFloatArrayProperty getCornerSharpnessesProperty() const
290 { return m_cornerSharpnessesProperty; }
291
292 Abc::IInt32ArrayProperty getHolesProperty() const { return m_holesProperty; }
293
294 Abc::IStringProperty getSubdivisionSchemeProperty() const
295 { return m_subdSchemeProperty; }
296
297 Abc::IV3fArrayProperty getVelocitiesProperty() const
298 { return m_velocitiesProperty; }
299
300 IV2fGeomParam getUVsParam() const
301 {
302 return m_uvsParam;
303 }
304
305 //-*************************************************************************
306 // ABC BASE MECHANISMS
307 // These functions are used by Abc to deal with errors, rewrapping,
308 // and so on.
309 //-*************************************************************************
310
313 void reset()
314 {
315 m_positionsProperty.reset();
316 m_velocitiesProperty.reset();
317 m_faceIndicesProperty.reset();
318 m_faceCountsProperty.reset();
319
320 m_faceVaryingInterpolateBoundaryProperty.reset();
321 m_faceVaryingPropagateCornersProperty.reset();
322 m_interpolateBoundaryProperty.reset();
323
324 m_creaseIndicesProperty.reset();
325 m_creaseLengthsProperty.reset();
326 m_creaseSharpnessesProperty.reset();
327
328 m_cornerIndicesProperty.reset();
329 m_cornerSharpnessesProperty.reset();
330
331 m_holesProperty.reset();
332
333 m_subdSchemeProperty.reset();
334
335 m_uvsParam.reset();
336
337 IGeomBaseSchema<SubDSchemaInfo>::reset();
338 }
339
342 bool valid() const
343 {
344 return ( IGeomBaseSchema<SubDSchemaInfo>::valid() &&
345 m_positionsProperty.valid() &&
346 m_faceIndicesProperty.valid() &&
347 m_faceCountsProperty.valid() );
348 }
349
350 // FaceSet related
352 void getFaceSetNames( std::vector <std::string> &oFaceSetNames );
353 IFaceSet getFaceSet( const std::string &iFaceSetName );
354 bool hasFaceSet( const std::string &iFaceSetName );
355
358 ALEMBIC_OVERRIDE_OPERATOR_BOOL( ISubDSchema::valid() );
359
360 // Copy constructors
361 ISubDSchema(const ISubDSchema& iCopy)
362 : IGeomBaseSchema<SubDSchemaInfo>()
363 {
364 *this = iCopy;
365 }
366 const ISubDSchema & operator=(const ISubDSchema & rhs);
367
368 protected:
369 void init( const Abc::Argument &iArg0, const Abc::Argument &iArg1 );
370
371 Abc::IP3fArrayProperty m_positionsProperty;
372 Abc::IInt32ArrayProperty m_faceIndicesProperty;
373 Abc::IInt32ArrayProperty m_faceCountsProperty;
374
375 // misc
376 Abc::IInt32Property m_faceVaryingInterpolateBoundaryProperty;
377 Abc::IInt32Property m_faceVaryingPropagateCornersProperty;
378 Abc::IInt32Property m_interpolateBoundaryProperty;
379
380 // Creases
381 Abc::IInt32ArrayProperty m_creaseIndicesProperty;
382 Abc::IInt32ArrayProperty m_creaseLengthsProperty;
383 Abc::IFloatArrayProperty m_creaseSharpnessesProperty;
384
385 // Corners
386 Abc::IInt32ArrayProperty m_cornerIndicesProperty;
387 Abc::IFloatArrayProperty m_cornerSharpnessesProperty;
388
389 // Holes
390 Abc::IInt32ArrayProperty m_holesProperty;
391
392 // subdivision scheme
393 Abc::IStringProperty m_subdSchemeProperty;
394
395 // UVs
396 IV2fGeomParam m_uvsParam;
397
398 IV3fArrayProperty m_velocitiesProperty;
399
400 // FaceSets, this starts as empty until client
401 // code attempts to access facesets.
402 bool m_faceSetsLoaded;
403 std::map <std::string, IFaceSet> m_faceSets;
404 Alembic::Util::mutex m_faceSetsMutex;
405 void loadFaceSetNames();
406
407};
408
409//-*****************************************************************************
410// SCHEMA OBJECT
411//-*****************************************************************************
412 typedef Abc::ISchemaObject<ISubDSchema> ISubD;
413
414 typedef Util::shared_ptr< ISubD > ISubDPtr;
415
416} // End namespace ALEMBIC_VERSION_NS
417
418 using namespace ALEMBIC_VERSION_NS;
419
420} // End namespace AbcGeom
421} // End namespace Alembic
422
423#endif
Foundation.h
SchemaInfoDeclarations.h
Export.h
ALEMBIC_EXPORT
#define ALEMBIC_EXPORT
Definition Export.h:51
IFaceSet.h
IGeomBase.h
IGeomParam.h
Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema::reset
virtual void reset()
Definition IGeomBase.h:147
Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema::valid
virtual bool valid() const
Definition IGeomBase.h:156
Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema< SubDSchemaInfo >::IGeomBaseSchema
IGeomBaseSchema()
Definition IGeomBase.h:76
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample
Definition ISubD.h:59
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getVelocities
Abc::V3fArraySamplePtr getVelocities() const
Definition ISubD.h:105
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_faceCounts
Abc::Int32ArraySamplePtr m_faceCounts
Definition ISubD.h:148
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_faceVaryingInterpolateBoundary
int32_t m_faceVaryingInterpolateBoundary
Definition ISubD.h:150
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getCreaseSharpnesses
Abc::FloatArraySamplePtr getCreaseSharpnesses() const
Definition ISubD.h:88
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::valid
bool valid() const
Definition ISubD.h:110
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_selfBounds
Abc::Box3d m_selfBounds
Definition ISubD.h:170
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_velocities
Abc::V3fArraySamplePtr m_velocities
Definition ISubD.h:146
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getFaceVaryingPropagateCorners
int32_t getFaceVaryingPropagateCorners() const
Definition ISubD.h:75
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getCornerSharpnesses
Abc::FloatArraySamplePtr getCornerSharpnesses() const
Definition ISubD.h:95
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getSelfBounds
Abc::Box3d getSelfBounds() const
Definition ISubD.h:108
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::this_type
Sample this_type
Definition ISubD.h:61
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::reset
void reset()
Definition ISubD.h:115
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_creaseIndices
Abc::Int32ArraySamplePtr m_creaseIndices
Definition ISubD.h:155
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_creaseLengths
Abc::Int32ArraySamplePtr m_creaseLengths
Definition ISubD.h:156
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_holes
Abc::Int32ArraySamplePtr m_holes
Definition ISubD.h:164
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getFaceCounts
Abc::Int32ArraySamplePtr getFaceCounts() const
Definition ISubD.h:69
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_cornerIndices
Abc::Int32ArraySamplePtr m_cornerIndices
Definition ISubD.h:160
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getCornerIndices
Abc::Int32ArraySamplePtr getCornerIndices() const
Definition ISubD.h:92
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_cornerSharpnesses
Abc::FloatArraySamplePtr m_cornerSharpnesses
Definition ISubD.h:161
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getCreaseIndices
Abc::Int32ArraySamplePtr getCreaseIndices() const
Definition ISubD.h:82
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getFaceVaryingInterpolateBoundary
int32_t getFaceVaryingInterpolateBoundary() const
Definition ISubD.h:72
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_faceIndices
Abc::Int32ArraySamplePtr m_faceIndices
Definition ISubD.h:147
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_faceVaryingPropagateCorners
int32_t m_faceVaryingPropagateCorners
Definition ISubD.h:151
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getPositions
Abc::P3fArraySamplePtr getPositions() const
Definition ISubD.h:67
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::Sample
Sample()
Users never create this data directly.
Definition ISubD.h:64
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::ALEMBIC_OPERATOR_BOOL
ALEMBIC_OPERATOR_BOOL(valid())
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getHoles
Abc::Int32ArraySamplePtr getHoles() const
Definition ISubD.h:99
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getFaceIndices
Abc::Int32ArraySamplePtr getFaceIndices() const
Definition ISubD.h:68
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getSubdivisionScheme
std::string getSubdivisionScheme() const
Definition ISubD.h:102
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_creaseSharpnesses
Abc::FloatArraySamplePtr m_creaseSharpnesses
Definition ISubD.h:157
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::ISubDSchema
friend class ISubDSchema
Definition ISubD.h:143
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getCreaseLengths
Abc::Int32ArraySamplePtr getCreaseLengths() const
Definition ISubD.h:85
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::getInterpolateBoundary
int32_t getInterpolateBoundary() const
Definition ISubD.h:78
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_interpolateBoundary
int32_t m_interpolateBoundary
Definition ISubD.h:152
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_positions
Abc::P3fArraySamplePtr m_positions
Definition ISubD.h:145
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::Sample::m_subdScheme
std::string m_subdScheme
Definition ISubD.h:167
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getCreaseSharpnessesProperty
Abc::IFloatArrayProperty getCreaseSharpnessesProperty() const
Definition ISubD.h:284
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getValue
Sample getValue(const Abc::ISampleSelector &iSS=Abc::ISampleSelector()) const
Definition ISubD.h:257
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getFaceVaryingInterpolateBoundaryProperty
Abc::IInt32Property getFaceVaryingInterpolateBoundaryProperty() const
Definition ISubD.h:271
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::isConstant
bool isConstant() const
if isConstant() is true, the mesh contains no time-varying values
Definition ISubD.h:231
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getCreaseIndicesProperty
Abc::IInt32ArrayProperty getCreaseIndicesProperty() const
Definition ISubD.h:280
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getCreaseLengthsProperty
Abc::IInt32ArrayProperty getCreaseLengthsProperty() const
Definition ISubD.h:282
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getInterpolateBoundaryProperty
Abc::IInt32Property getInterpolateBoundaryProperty() const
Definition ISubD.h:277
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_creaseIndicesProperty
Abc::IInt32ArrayProperty m_creaseIndicesProperty
Definition ISubD.h:381
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_holesProperty
Abc::IInt32ArrayProperty m_holesProperty
Definition ISubD.h:390
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_cornerSharpnessesProperty
Abc::IFloatArrayProperty m_cornerSharpnessesProperty
Definition ISubD.h:387
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getFaceCountsProperty
Abc::IInt32ArrayProperty getFaceCountsProperty() const
Definition ISubD.h:264
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_positionsProperty
Abc::IP3fArrayProperty m_positionsProperty
Definition ISubD.h:371
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getCornerSharpnessesProperty
Abc::IFloatArrayProperty getCornerSharpnessesProperty() const
Definition ISubD.h:289
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getHolesProperty
Abc::IInt32ArrayProperty getHolesProperty() const
Definition ISubD.h:292
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_interpolateBoundaryProperty
Abc::IInt32Property m_interpolateBoundaryProperty
Definition ISubD.h:378
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_faceVaryingPropagateCornersProperty
Abc::IInt32Property m_faceVaryingPropagateCornersProperty
Definition ISubD.h:377
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getFaceSetNames
void getFaceSetNames(std::vector< std::string > &oFaceSetNames)
Appends the names of any FaceSets for this SubD.
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getUVsParam
IV2fGeomParam getUVsParam() const
Definition ISubD.h:300
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::hasFaceSet
bool hasFaceSet(const std::string &iFaceSetName)
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::ISubDSchema
ISubDSchema(const ICompoundProperty &iProp, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
Definition ISubD.h:213
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getFaceSet
IFaceSet getFaceSet(const std::string &iFaceSetName)
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getNumSamples
size_t getNumSamples() const
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::ISubDSchema
ISubDSchema(const ISubDSchema &iCopy)
Definition ISubD.h:361
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::reset
void reset()
Definition ISubD.h:313
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getPositionsProperty
Abc::IP3fArrayProperty getPositionsProperty() const
Definition ISubD.h:268
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::init
void init(const Abc::Argument &iArg0, const Abc::Argument &iArg1)
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_uvsParam
IV2fGeomParam m_uvsParam
Definition ISubD.h:396
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::ISubDSchema
ISubDSchema()
Definition ISubD.h:188
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_subdSchemeProperty
Abc::IStringProperty m_subdSchemeProperty
Definition ISubD.h:393
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_cornerIndicesProperty
Abc::IInt32ArrayProperty m_cornerIndicesProperty
Definition ISubD.h:386
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getFaceVaryingPropagateCornersProperty
Abc::IInt32Property getFaceVaryingPropagateCornersProperty() const
Definition ISubD.h:274
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getTimeSampling
AbcA::TimeSamplingPtr getTimeSampling() const
Return the time sampling.
Definition ISubD.h:242
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_faceVaryingInterpolateBoundaryProperty
Abc::IInt32Property m_faceVaryingInterpolateBoundaryProperty
Definition ISubD.h:376
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_creaseLengthsProperty
Abc::IInt32ArrayProperty m_creaseLengthsProperty
Definition ISubD.h:382
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getFaceIndicesProperty
Abc::IInt32ArrayProperty getFaceIndicesProperty() const
Definition ISubD.h:266
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_faceCountsProperty
Abc::IInt32ArrayProperty m_faceCountsProperty
Definition ISubD.h:373
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::ISubDSchema
ISubDSchema(const ICompoundProperty &iParent, const std::string &iName, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
Definition ISubD.h:199
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::ALEMBIC_OVERRIDE_OPERATOR_BOOL
ALEMBIC_OVERRIDE_OPERATOR_BOOL(ISubDSchema::valid())
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_faceSets
std::map< std::string, IFaceSet > m_faceSets
Definition ISubD.h:403
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_faceSetsMutex
Alembic::Util::mutex m_faceSetsMutex
Definition ISubD.h:404
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::valid
bool valid() const
Definition ISubD.h:342
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::this_type
ISubDSchema this_type
Definition ISubD.h:180
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::operator=
const ISubDSchema & operator=(const ISubDSchema &rhs)
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::loadFaceSetNames
void loadFaceSetNames()
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_faceSetsLoaded
bool m_faceSetsLoaded
Definition ISubD.h:402
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_creaseSharpnessesProperty
Abc::IFloatArrayProperty m_creaseSharpnessesProperty
Definition ISubD.h:383
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_velocitiesProperty
IV3fArrayProperty m_velocitiesProperty
Definition ISubD.h:398
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getTopologyVariance
MeshTopologyVariance getTopologyVariance() const
Default assignment operator used.
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getVelocitiesProperty
Abc::IV3fArrayProperty getVelocitiesProperty() const
Definition ISubD.h:297
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::get
void get(Sample &iSamp, const Abc::ISampleSelector &iSS=Abc::ISampleSelector()) const
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::m_faceIndicesProperty
Abc::IInt32ArrayProperty m_faceIndicesProperty
Definition ISubD.h:372
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getSubdivisionSchemeProperty
Abc::IStringProperty getSubdivisionSchemeProperty() const
Definition ISubD.h:294
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDSchema::getCornerIndicesProperty
Abc::IInt32ArrayProperty getCornerIndicesProperty() const
Definition ISubD.h:287
Alembic::Abc::ALEMBIC_VERSION_NS::Argument
Definition Argument.h:120
Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::CompoundPropertyReaderPtr >::getObject
IObject getObject() const
Definition IBaseProperty.h:207
Alembic::Abc::ALEMBIC_VERSION_NS::ICompoundProperty
Definition ICompoundProperty.h:53
Alembic::Abc::ALEMBIC_VERSION_NS::ISampleSelector
Definition ISampleSelector.h:49
Alembic::Abc::ALEMBIC_VERSION_NS::ISchemaObject
Definition ISchemaObject.h:56
Alembic::Util::ALEMBIC_VERSION_NS::mutex
Definition Foundation.h:250
Alembic::AbcGeom::ALEMBIC_VERSION_NS
Definition ArchiveBounds.h:45
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubDPtr
Util::shared_ptr< ISubD > ISubDPtr
Definition ISubD.h:414
Alembic::AbcGeom::ALEMBIC_VERSION_NS::MeshTopologyVariance
MeshTopologyVariance
Definition Foundation.h:59
Alembic::AbcGeom::ALEMBIC_VERSION_NS::kConstantTopology
@ kConstantTopology
Definition Foundation.h:60
Alembic::AbcGeom::ALEMBIC_VERSION_NS::IFaceSet
Abc::ISchemaObject< IFaceSetSchema > IFaceSet
Definition IFaceSet.h:239
Alembic::AbcGeom::ALEMBIC_VERSION_NS::IV2fGeomParam
ITypedGeomParam< V2fTPTraits > IV2fGeomParam
Definition IGeomParam.h:520
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ISubD
Abc::ISchemaObject< ISubDSchema > ISubD
Definition ISubD.h:412
Alembic::AbcGeom
Definition ArchiveBounds.h:44
Alembic::Abc::ALEMBIC_VERSION_NS::FloatArraySamplePtr
Alembic::Util::shared_ptr< FloatArraySample > FloatArraySamplePtr
Definition TypedArraySample.h:228
Alembic::Abc::ALEMBIC_VERSION_NS::IP3fArrayProperty
ITypedArrayProperty< P3fTPTraits > IP3fArrayProperty
Definition ITypedArrayProperty.h:247
Alembic::Abc::ALEMBIC_VERSION_NS::IInt32ArrayProperty
ITypedArrayProperty< Int32TPTraits > IInt32ArrayProperty
Definition ITypedArrayProperty.h:221
Alembic::Abc::ALEMBIC_VERSION_NS::IFloatArrayProperty
ITypedArrayProperty< Float32TPTraits > IFloatArrayProperty
Definition ITypedArrayProperty.h:225
Alembic::Abc::ALEMBIC_VERSION_NS::Int32ArraySamplePtr
Alembic::Util::shared_ptr< Int32ArraySample > Int32ArraySamplePtr
Definition TypedArraySample.h:224
Alembic::Abc::ALEMBIC_VERSION_NS::IStringProperty
ITypedScalarProperty< StringTPTraits > IStringProperty
Definition ITypedScalarProperty.h:226
Alembic::Abc::ALEMBIC_VERSION_NS::IInt32Property
ITypedScalarProperty< Int32TPTraits > IInt32Property
Definition ITypedScalarProperty.h:220
Alembic::Abc::ALEMBIC_VERSION_NS::V3fArraySamplePtr
Alembic::Util::shared_ptr< V3fArraySample > V3fArraySamplePtr
Definition TypedArraySample.h:240
Alembic::Abc::ALEMBIC_VERSION_NS::IV3fArrayProperty
ITypedArrayProperty< V3fTPTraits > IV3fArrayProperty
Definition ITypedArrayProperty.h:237
Alembic::Abc::ALEMBIC_VERSION_NS::P3fArraySamplePtr
Alembic::Util::shared_ptr< P3fArraySample > P3fArraySamplePtr
Definition TypedArraySample.h:250
Alembic
Alembic namespace ...
Definition ArchiveInfo.h:46