Index: lib/Alembic/AbcGeom/IPolyMesh.h |
=================================================================== |
--- a/lib/Alembic/AbcGeom/IPolyMesh.h |
+++ b/lib/Alembic/AbcGeom/IPolyMesh.h |
@@ -55,7 +55,7 @@ |
typedef Sample this_type; |
// Users don't ever create this data directly. |
- Sample() {} |
+ Sample() { reset(); } |
Abc::V3fArraySamplePtr getPositions() const { return m_positions; } |
Abc::Int32ArraySamplePtr getFaceIndices() const { return m_indices; } |
@@ -114,12 +114,12 @@ |
//! can be used to override the ErrorHandlerPolicy and to specify |
//! schema interpretation matching. |
template <class CPROP_PTR> |
- IPolyMeshSchema( CPROP_PTR iParentObject, |
+ IPolyMeshSchema( CPROP_PTR iParent, |
const std::string &iName, |
const Abc::Argument &iArg0 = Abc::Argument(), |
const Abc::Argument &iArg1 = Abc::Argument() ) |
- : Abc::ISchema<PolyMeshSchemaInfo>( iParentObject, iName, |
+ : Abc::ISchema<PolyMeshSchemaInfo>( iParent, iName, |
iArg0, iArg1 ) |
{ |
init( iArg0, iArg1 ); |
@@ -128,10 +128,10 @@ |
//! This constructor is the same as above, but with default |
//! schema name used. |
template <class CPROP_PTR> |
- explicit IPolyMeshSchema( CPROP_PTR iParentObject, |
+ explicit IPolyMeshSchema( CPROP_PTR iParent, |
const Abc::Argument &iArg0 = Abc::Argument(), |
const Abc::Argument &iArg1 = Abc::Argument() ) |
- : Abc::ISchema<PolyMeshSchemaInfo>( iParentObject, |
+ : Abc::ISchema<PolyMeshSchemaInfo>( iParent, |
iArg0, iArg1 ) |
{ |
init( iArg0, iArg1 ); |
@@ -224,10 +224,12 @@ |
// underneath it |
ICompoundProperty getArbGeomParams() { return m_arbGeomParams; } |
- Abc::IV3fArrayProperty getPositions() |
- { |
- return m_positions; |
- } |
+ Abc::IInt32ArrayProperty getFaceCounts() { return m_counts; } |
+ Abc::IInt32ArrayProperty getFaceIndices() { return m_indices; } |
+ Abc::IV3fArrayProperty getPositions() { return m_positions; } |
+ |
+ Abc::IBox3dProperty getSelfBounds() { return m_selfBounds; } |
+ Abc::IBox3dProperty getChildBounds() { return m_childBounds; } |
//-************************************************************************* |
// ABC BASE MECHANISMS |