Alembic Version 1.1

INuPatch.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_INuPatch_h
38#define Alembic_AbcGeom_INuPatch_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/IGeomBase.h>
45
46 namespace Alembic {
47 namespace AbcGeom {
48 namespace ALEMBIC_VERSION_NS {
49
50//-*****************************************************************************
51 class ALEMBIC_EXPORT INuPatchSchema : public IGeomBaseSchema<NuPatchSchemaInfo>
52{
53 public:
54 class Sample
55 {
56 public:
57 typedef Sample this_type;
58
59 // Users don't ever create this data directly.
60 Sample() { reset(); }
61
62 Abc::P3fArraySamplePtr getPositions() const { return m_positions; }
63 Abc::V3fArraySamplePtr getVelocities() const { return m_velocities; }
64 int32_t getNumU() const { return m_numU; }
65 int32_t getNumV() const { return m_numV; }
66 int32_t getUOrder() const { return m_uOrder; }
67 int32_t getVOrder() const { return m_vOrder; }
68 Abc::FloatArraySamplePtr getUKnot() const { return m_uKnot; }
69 Abc::FloatArraySamplePtr getVKnot() const { return m_vKnot; }
70
71 // if this is NULL then the weight value of the position for each
72 // point is 1
73 Abc::FloatArraySamplePtr getPositionWeights() const { return m_positionWeights; }
74
75 // trim curve
76 int32_t getTrimNumLoops() const { return m_trimNumLoops; }
77 Abc::Int32ArraySamplePtr getTrimNumVertices() const { return m_trimNumVertices; }
78 Abc::Int32ArraySamplePtr getTrimNumCurves() const { return m_trimNumCurves; }
79 Abc::Int32ArraySamplePtr getTrimOrders() const { return m_trimOrder; }
80 Abc::FloatArraySamplePtr getTrimKnots() const { return m_trimKnot; }
81 Abc::FloatArraySamplePtr getTrimMins() const { return m_trimMin; }
82 Abc::FloatArraySamplePtr getTrimMaxes() const { return m_trimMax; }
83 Abc::FloatArraySamplePtr getTrimU() const { return m_trimU; }
84 Abc::FloatArraySamplePtr getTrimV() const { return m_trimV; }
85 Abc::FloatArraySamplePtr getTrimW() const { return m_trimW; }
86
87 bool hasTrimCurve() const { return m_trimNumLoops != 0; }
88
89 bool valid() const
90 {
91 return m_positions && m_numU && m_numV && m_uOrder && m_vOrder &&
92 m_uKnot && m_vKnot;
93 }
94
95 Abc::Box3d getSelfBounds() const { return m_selfBounds; }
96
97 void reset()
98 {
99 m_positions.reset();
100 m_velocities.reset();
101 m_numU = 0;
102 m_numV = 0;
103 m_uOrder = 0;
104 m_vOrder = 0;
105 m_uKnot.reset();
106 m_vKnot.reset();
107 m_positionWeights.reset();
108
109 m_selfBounds.makeEmpty();
110
111 // trim curve
112 m_trimNumLoops = 0;
113 m_trimNumCurves.reset();
114 m_trimNumVertices.reset();
115 m_trimOrder.reset();
116 m_trimKnot.reset();
117 m_trimMin.reset();
118 m_trimMax.reset();
119 m_trimU.reset();
120 m_trimV.reset();
121 m_trimW.reset();
122 }
123
124 ALEMBIC_OPERATOR_BOOL( valid() );
125
126 protected:
127
128 friend class INuPatchSchema;
129
130 Abc::P3fArraySamplePtr m_positions;
131 Abc::V3fArraySamplePtr m_velocities;
132 int32_t m_numU;
133 int32_t m_numV;
134 int32_t m_uOrder;
135 int32_t m_vOrder;
136 Abc::FloatArraySamplePtr m_uKnot;
137 Abc::FloatArraySamplePtr m_vKnot;
138 Abc::FloatArraySamplePtr m_positionWeights;
139
140 // trim curve
141 int32_t m_trimNumLoops;
142 Abc::Int32ArraySamplePtr m_trimNumCurves;
143 Abc::Int32ArraySamplePtr m_trimNumVertices;
144 Abc::Int32ArraySamplePtr m_trimOrder;
145 Abc::FloatArraySamplePtr m_trimKnot;
146 Abc::FloatArraySamplePtr m_trimMin;
147 Abc::FloatArraySamplePtr m_trimMax;
148 Abc::FloatArraySamplePtr m_trimU;
149 Abc::FloatArraySamplePtr m_trimV;
150 Abc::FloatArraySamplePtr m_trimW;
151 bool m_hasTrimCurve;
152
153 // bounds
154 Abc::Box3d m_selfBounds;
155
156 };
157
158 //-*************************************************************************
159 // NuPatch Schema
160 //-*************************************************************************
161 public:
164 typedef INuPatchSchema this_type;
165 typedef Sample sample_type;
166
167 //-*************************************************************************
168 // CONSTRUCTION, DESTRUCTION, ASSIGNMENT
169 //-*************************************************************************
170
172 INuPatchSchema()
173 {
174 m_hasTrimCurve = false;
175 }
176
178 INuPatchSchema(const INuPatchSchema& iCopy)
179 : IGeomBaseSchema<NuPatchSchemaInfo>()
180 {
181 *this = iCopy;
182 }
183
190 INuPatchSchema( const ICompoundProperty &iParent,
191 const std::string &iName,
192 const Abc::Argument &iArg0 = Abc::Argument(),
193 const Abc::Argument &iArg1 = Abc::Argument() )
194 : IGeomBaseSchema<NuPatchSchemaInfo>( iParent, iName, iArg0, iArg1 )
195 {
196 init( iArg0, iArg1 );
197 }
198
203 explicit INuPatchSchema( const ICompoundProperty &iProp,
204 const Abc::Argument &iArg0 = Abc::Argument(),
205 const Abc::Argument &iArg1 = Abc::Argument() )
206
207 : IGeomBaseSchema<NuPatchSchemaInfo>( iProp, iArg0, iArg1 )
208 {
209 init( iArg0, iArg1 );
210 }
211
216 size_t getNumSamples() const
217 { return m_positionsProperty.getNumSamples(); }
218
221 MeshTopologyVariance getTopologyVariance() const;
222
225 bool isConstant() const { return getTopologyVariance() == kConstantTopology; }
226
228 AbcA::TimeSamplingPtr getTimeSampling() const
229 {
230 return m_positionsProperty.getTimeSampling();
231 }
232
233 void get( sample_type &oSample,
234 const Abc::ISampleSelector &iSS = Abc::ISampleSelector() ) const;
235
236 Sample getValue( const Abc::ISampleSelector &iSS = Abc::ISampleSelector() ) const
237 {
238 Sample smp;
239 get( smp, iSS );
240 return smp;
241 }
242
243 Abc::IP3fArrayProperty getPositionsProperty() const { return m_positionsProperty; }
244 Abc::IFloatArrayProperty getUKnotsProperty() const { return m_uKnotProperty; }
245 Abc::IFloatArrayProperty getVKnotsProperty() const { return m_vKnotProperty; }
246
247 Abc::IV3fArrayProperty getVelocitiesProperty() const
248 {
249 return m_velocitiesProperty;
250 }
251
252 // if this property is invalid then the weight for every point is 1
253 Abc::IFloatArrayProperty getPositionWeightsProperty() const
254 {
255 return m_positionWeightsProperty;
256 }
257
258 IN3fGeomParam getNormalsParam() const
259 {
260 return m_normalsParam;
261 }
262
263 IV2fGeomParam getUVsParam() const
264 {
265 return m_uvsParam;
266 }
267
268
269 bool hasTrimCurve() const { return m_hasTrimCurve; }
270 bool trimCurveTopologyIsHomogenous() const;
271 bool trimCurveTopologyIsConstant() const;
272
273
274 //-*************************************************************************
275 // ABC BASE MECHANISMS
276 // These functions are used by Abc to deal with errors, rewrapping,
277 // and so on.
278 //-*************************************************************************
279
282 void reset()
283 {
284 m_positionsProperty.reset();
285 m_velocitiesProperty.reset();
286 m_numUProperty.reset();
287 m_numVProperty.reset();
288 m_uOrderProperty.reset();
289 m_vOrderProperty.reset();
290 m_uKnotProperty.reset();
291 m_vKnotProperty.reset();
292 m_positionWeightsProperty.reset();
293
294 m_normalsParam.reset();
295 m_uvsParam.reset();
296
297 // reset trim curve attributes
298 m_trimNumLoopsProperty.reset();
299 m_trimNumCurvesProperty.reset();
300 m_trimNumVerticesProperty.reset();
301 m_trimOrderProperty.reset();
302 m_trimKnotProperty.reset();
303 m_trimMinProperty.reset();
304 m_trimMaxProperty.reset();
305 m_trimUProperty.reset();
306 m_trimVProperty.reset();
307 m_trimWProperty.reset();
308
309 IGeomBaseSchema<NuPatchSchemaInfo>::reset();
310 }
311
314 bool valid() const
315 {
316 return ( IGeomBaseSchema<NuPatchSchemaInfo>::valid() &&
317 m_positionsProperty.valid() &&
318 m_numUProperty.valid() &&
319 m_numVProperty.valid() &&
320 m_uOrderProperty.valid() &&
321 m_vOrderProperty.valid() &&
322 m_uKnotProperty.valid() &&
323 m_vKnotProperty.valid() );
324 }
325
328 ALEMBIC_OVERRIDE_OPERATOR_BOOL( INuPatchSchema::valid() );
329
330 protected:
331 bool hasTrimProps() const;
332
333 protected:
334 void init( const Abc::Argument &iArg0,
335 const Abc::Argument &iArg1 );
336
337 // required properties
338 Abc::IP3fArrayProperty m_positionsProperty;
339 Abc::IInt32Property m_numUProperty;
340 Abc::IInt32Property m_numVProperty;
341 Abc::IInt32Property m_uOrderProperty;
342 Abc::IInt32Property m_vOrderProperty;
343 Abc::IFloatArrayProperty m_uKnotProperty;
344 Abc::IFloatArrayProperty m_vKnotProperty;
345
346 // optional
347 Abc::IV3fArrayProperty m_velocitiesProperty;
348 Abc::IFloatArrayProperty m_positionWeightsProperty;
349 IN3fGeomParam m_normalsParam;
350 IV2fGeomParam m_uvsParam;
351
352 // optional trim curve properties
353 Abc::IInt32Property m_trimNumLoopsProperty;
354 Abc::IInt32ArrayProperty m_trimNumVerticesProperty;
355 Abc::IInt32ArrayProperty m_trimNumCurvesProperty;
356 Abc::IInt32ArrayProperty m_trimOrderProperty;
357 Abc::IFloatArrayProperty m_trimKnotProperty;
358 Abc::IFloatArrayProperty m_trimMinProperty;
359 Abc::IFloatArrayProperty m_trimMaxProperty;
360 Abc::IFloatArrayProperty m_trimUProperty;
361 Abc::IFloatArrayProperty m_trimVProperty;
362 Abc::IFloatArrayProperty m_trimWProperty;
363
364 bool m_hasTrimCurve;
365};
366
367//-*****************************************************************************
368 typedef Abc::ISchemaObject<INuPatchSchema> INuPatch;
369
370 typedef Util::shared_ptr< INuPatch > INuPatchPtr;
371
372} // End namespace ALEMBIC_VERSION_NS
373
374 using namespace ALEMBIC_VERSION_NS;
375
376} // End namespace AbcGeom
377} // End namespace Alembic
378
379#endif
Foundation.h
SchemaInfoDeclarations.h
Export.h
ALEMBIC_EXPORT
#define ALEMBIC_EXPORT
Definition: Export.h:51
IGeomBase.h
IGeomParam.h
ALEMBIC_VERSION_NS
#define ALEMBIC_VERSION_NS
Definition: Foundation.h:105
Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBaseSchema
Definition: IGeomBase.h:61
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::INuPatchSchema::Sample
Definition: INuPatch.h:55
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getSelfBounds
Abc::Box3d getSelfBounds() const
Definition: INuPatch.h:95
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getPositions
Abc::P3fArraySamplePtr getPositions() const
Definition: INuPatch.h:62
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_vKnot
Abc::FloatArraySamplePtr m_vKnot
Definition: INuPatch.h:137
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getVKnot
Abc::FloatArraySamplePtr getVKnot() const
Definition: INuPatch.h:69
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimW
Abc::FloatArraySamplePtr m_trimW
Definition: INuPatch.h:150
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimNumLoops
int32_t getTrimNumLoops() const
Definition: INuPatch.h:76
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimKnots
Abc::FloatArraySamplePtr getTrimKnots() const
Definition: INuPatch.h:80
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimMax
Abc::FloatArraySamplePtr m_trimMax
Definition: INuPatch.h:147
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_numV
int32_t m_numV
Definition: INuPatch.h:133
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getPositionWeights
Abc::FloatArraySamplePtr getPositionWeights() const
Definition: INuPatch.h:73
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_hasTrimCurve
bool m_hasTrimCurve
Definition: INuPatch.h:151
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getNumV
int32_t getNumV() const
Definition: INuPatch.h:65
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getVelocities
Abc::V3fArraySamplePtr getVelocities() const
Definition: INuPatch.h:63
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimMaxes
Abc::FloatArraySamplePtr getTrimMaxes() const
Definition: INuPatch.h:82
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimOrder
Abc::Int32ArraySamplePtr m_trimOrder
Definition: INuPatch.h:144
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimV
Abc::FloatArraySamplePtr getTrimV() const
Definition: INuPatch.h:84
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::ALEMBIC_OPERATOR_BOOL
ALEMBIC_OPERATOR_BOOL(valid())
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::reset
void reset()
Definition: INuPatch.h:97
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_vOrder
int32_t m_vOrder
Definition: INuPatch.h:135
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getNumU
int32_t getNumU() const
Definition: INuPatch.h:64
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getVOrder
int32_t getVOrder() const
Definition: INuPatch.h:67
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimKnot
Abc::FloatArraySamplePtr m_trimKnot
Definition: INuPatch.h:145
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_positionWeights
Abc::FloatArraySamplePtr m_positionWeights
Definition: INuPatch.h:138
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimNumCurves
Abc::Int32ArraySamplePtr getTrimNumCurves() const
Definition: INuPatch.h:78
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimMins
Abc::FloatArraySamplePtr getTrimMins() const
Definition: INuPatch.h:81
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_selfBounds
Abc::Box3d m_selfBounds
Definition: INuPatch.h:154
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_numU
int32_t m_numU
Definition: INuPatch.h:132
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::valid
bool valid() const
Definition: INuPatch.h:89
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimNumVertices
Abc::Int32ArraySamplePtr getTrimNumVertices() const
Definition: INuPatch.h:77
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimNumLoops
int32_t m_trimNumLoops
Definition: INuPatch.h:141
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimNumVertices
Abc::Int32ArraySamplePtr m_trimNumVertices
Definition: INuPatch.h:143
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_positions
Abc::P3fArraySamplePtr m_positions
Definition: INuPatch.h:130
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimOrders
Abc::Int32ArraySamplePtr getTrimOrders() const
Definition: INuPatch.h:79
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimW
Abc::FloatArraySamplePtr getTrimW() const
Definition: INuPatch.h:85
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_uOrder
int32_t m_uOrder
Definition: INuPatch.h:134
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getTrimU
Abc::FloatArraySamplePtr getTrimU() const
Definition: INuPatch.h:83
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::hasTrimCurve
bool hasTrimCurve() const
Definition: INuPatch.h:87
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::Sample
Sample()
Definition: INuPatch.h:60
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimNumCurves
Abc::Int32ArraySamplePtr m_trimNumCurves
Definition: INuPatch.h:142
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_velocities
Abc::V3fArraySamplePtr m_velocities
Definition: INuPatch.h:131
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimMin
Abc::FloatArraySamplePtr m_trimMin
Definition: INuPatch.h:146
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getUKnot
Abc::FloatArraySamplePtr getUKnot() const
Definition: INuPatch.h:68
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimU
Abc::FloatArraySamplePtr m_trimU
Definition: INuPatch.h:148
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::getUOrder
int32_t getUOrder() const
Definition: INuPatch.h:66
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_trimV
Abc::FloatArraySamplePtr m_trimV
Definition: INuPatch.h:149
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::this_type
Sample this_type
Definition: INuPatch.h:57
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::Sample::m_uKnot
Abc::FloatArraySamplePtr m_uKnot
Definition: INuPatch.h:136
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema
Definition: INuPatch.h:52
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimVProperty
Abc::IFloatArrayProperty m_trimVProperty
Definition: INuPatch.h:361
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_velocitiesProperty
Abc::IV3fArrayProperty m_velocitiesProperty
Definition: INuPatch.h:347
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_vOrderProperty
Abc::IInt32Property m_vOrderProperty
Definition: INuPatch.h:342
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_vKnotProperty
Abc::IFloatArrayProperty m_vKnotProperty
Definition: INuPatch.h:344
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimOrderProperty
Abc::IInt32ArrayProperty m_trimOrderProperty
Definition: INuPatch.h:356
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimKnotProperty
Abc::IFloatArrayProperty m_trimKnotProperty
Definition: INuPatch.h:357
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimUProperty
Abc::IFloatArrayProperty m_trimUProperty
Definition: INuPatch.h:360
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getVelocitiesProperty
Abc::IV3fArrayProperty getVelocitiesProperty() const
Definition: INuPatch.h:247
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_uOrderProperty
Abc::IInt32Property m_uOrderProperty
Definition: INuPatch.h:341
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimNumLoopsProperty
Abc::IInt32Property m_trimNumLoopsProperty
Definition: INuPatch.h:353
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_uvsParam
IV2fGeomParam m_uvsParam
Definition: INuPatch.h:350
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getUVsParam
IV2fGeomParam getUVsParam() const
Definition: INuPatch.h:263
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getUKnotsProperty
Abc::IFloatArrayProperty getUKnotsProperty() const
Definition: INuPatch.h:244
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::hasTrimProps
bool hasTrimProps() const
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::trimCurveTopologyIsConstant
bool trimCurveTopologyIsConstant() const
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getTimeSampling
AbcA::TimeSamplingPtr getTimeSampling() const
Time information.
Definition: INuPatch.h:228
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimNumVerticesProperty
Abc::IInt32ArrayProperty m_trimNumVerticesProperty
Definition: INuPatch.h:354
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::ALEMBIC_OVERRIDE_OPERATOR_BOOL
ALEMBIC_OVERRIDE_OPERATOR_BOOL(INuPatchSchema::valid())
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getVKnotsProperty
Abc::IFloatArrayProperty getVKnotsProperty() const
Definition: INuPatch.h:245
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::INuPatchSchema
INuPatchSchema(const ICompoundProperty &iProp, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
Definition: INuPatch.h:203
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimWProperty
Abc::IFloatArrayProperty m_trimWProperty
Definition: INuPatch.h:362
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::isConstant
bool isConstant() const
Definition: INuPatch.h:225
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::get
void get(sample_type &oSample, const Abc::ISampleSelector &iSS=Abc::ISampleSelector()) const
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::valid
bool valid() const
Definition: INuPatch.h:314
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::INuPatchSchema
INuPatchSchema(const INuPatchSchema &iCopy)
copy constructor
Definition: INuPatch.h:178
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::hasTrimCurve
bool hasTrimCurve() const
Definition: INuPatch.h:269
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::trimCurveTopologyIsHomogenous
bool trimCurveTopologyIsHomogenous() const
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_numVProperty
Abc::IInt32Property m_numVProperty
Definition: INuPatch.h:340
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::INuPatchSchema
INuPatchSchema()
The default constructor.
Definition: INuPatch.h:172
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_positionsProperty
Abc::IP3fArrayProperty m_positionsProperty
Definition: INuPatch.h:338
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::reset
void reset()
Definition: INuPatch.h:282
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimMaxProperty
Abc::IFloatArrayProperty m_trimMaxProperty
Definition: INuPatch.h:359
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::sample_type
Sample sample_type
Definition: INuPatch.h:165
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_numUProperty
Abc::IInt32Property m_numUProperty
Definition: INuPatch.h:339
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getValue
Sample getValue(const Abc::ISampleSelector &iSS=Abc::ISampleSelector()) const
Definition: INuPatch.h:236
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::INuPatchSchema
INuPatchSchema(const ICompoundProperty &iParent, const std::string &iName, const Abc::Argument &iArg0=Abc::Argument(), const Abc::Argument &iArg1=Abc::Argument())
Definition: INuPatch.h:190
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getNumSamples
size_t getNumSamples() const
Definition: INuPatch.h:216
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimMinProperty
Abc::IFloatArrayProperty m_trimMinProperty
Definition: INuPatch.h:358
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_trimNumCurvesProperty
Abc::IInt32ArrayProperty m_trimNumCurvesProperty
Definition: INuPatch.h:355
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getPositionsProperty
Abc::IP3fArrayProperty getPositionsProperty() const
Definition: INuPatch.h:243
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_hasTrimCurve
bool m_hasTrimCurve
Definition: INuPatch.h:364
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getPositionWeightsProperty
Abc::IFloatArrayProperty getPositionWeightsProperty() const
Definition: INuPatch.h:253
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_uKnotProperty
Abc::IFloatArrayProperty m_uKnotProperty
Definition: INuPatch.h:343
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getTopologyVariance
MeshTopologyVariance getTopologyVariance() const
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::getNormalsParam
IN3fGeomParam getNormalsParam() const
Definition: INuPatch.h:258
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::this_type
INuPatchSchema this_type
Definition: INuPatch.h:164
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_positionWeightsProperty
Abc::IFloatArrayProperty m_positionWeightsProperty
Definition: INuPatch.h:348
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::m_normalsParam
IN3fGeomParam m_normalsParam
Definition: INuPatch.h:349
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchSchema::init
void init(const Abc::Argument &iArg0, const Abc::Argument &iArg1)
Alembic::AbcGeom::ALEMBIC_VERSION_NS::ITypedGeomParam< N3fTPTraits >
Alembic::Abc::ALEMBIC_VERSION_NS::Argument
Definition: Argument.h:120
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::Abc::ALEMBIC_VERSION_NS::ITypedArrayProperty< P3fTPTraits >
Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< Int32TPTraits >
Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::TimeSamplingPtr
Alembic::Util::shared_ptr< TimeSampling > TimeSamplingPtr
Definition: TimeSampling.h:137
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::INuPatch
Abc::ISchemaObject< INuPatchSchema > INuPatch
Definition: INuPatch.h:368
Alembic::AbcGeom::ALEMBIC_VERSION_NS::INuPatchPtr
Util::shared_ptr< INuPatch > INuPatchPtr
Definition: INuPatch.h:370
Alembic::Abc::ALEMBIC_VERSION_NS::FloatArraySamplePtr
Alembic::Util::shared_ptr< FloatArraySample > FloatArraySamplePtr
Definition: TypedArraySample.h:228
Alembic::Abc::ALEMBIC_VERSION_NS::Int32ArraySamplePtr
Alembic::Util::shared_ptr< Int32ArraySample > Int32ArraySamplePtr
Definition: TypedArraySample.h:224
Alembic::Abc::ALEMBIC_VERSION_NS::V3fArraySamplePtr
Alembic::Util::shared_ptr< V3fArraySample > V3fArraySamplePtr
Definition: TypedArraySample.h:240
Alembic::Abc::ALEMBIC_VERSION_NS::P3fArraySamplePtr
Alembic::Util::shared_ptr< P3fArraySample > P3fArraySamplePtr
Definition: TypedArraySample.h:250
Alembic
Alembic namespace ...
Definition: ArchiveInfo.h:46