PiRSquared17 / alembic

Automatically exported from code.google.com/p/alembic
Other
0 stars 0 forks source link

refactor AbcGeom schema classes with a base type GeomBaseSchema #206

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
as part of adding getUserProperties () and performance improvment and code 
cleanup we should refactor the abcgeom schema classes.
Duplciated code
getArbGeomParams ()
getUserProperties ()
selfBounds
childBoudns

lots of duplicated, and also inconcissten methods revmoed (yeah)).

Adds a new GeomType IGeomBase. This geom class is handy if your read code only 
needs to walk the object hierarchy and get bounding volumes (which turns out to 
be common / handy). Currenlty to get selfBoudns you have to create actual 
IPolyMesh and ISubd object to access their selfBounds property. The creation of 
the geom schema types has a non-zero cost because init () does a moderate 
amount of work creating the various property instances. The IGeomBase is only 
going to create selfBounds and childBounds properties.

Code is 95% complete.

Original issue reported on code.google.com by ble...@gmail.com on 28 Jul 2011 at 11:36

GoogleCodeExporter commented 9 years ago
changeset submitted here:
(last four versions)
http://code.google.com/r/bleair-helper/source/list

Original comment by ble...@gmail.com on 29 Jul 2011 at 6:16

GoogleCodeExporter commented 9 years ago

Original comment by ble...@gmail.com on 29 Jul 2011 at 8:00

GoogleCodeExporter commented 9 years ago

Original comment by ble...@gmail.com on 29 Jul 2011 at 8:48

GoogleCodeExporter commented 9 years ago

Original comment by ble...@gmail.com on 24 Aug 2011 at 11:19