Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(918)

Unified Diff: lib/Alembic/AbcGeom/IPolyMesh.h

Issue 4662068: Alembic 1.0rc1, changes since 0.9.3
Patch Set: Created 12 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Alembic/AbcGeom/IPoints.cpp ('k') | lib/Alembic/AbcGeom/ISubD.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « lib/Alembic/AbcGeom/IPoints.cpp ('k') | lib/Alembic/AbcGeom/ISubD.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b