-
- Downloads
fixes and cleanups to bounding box as well as autoslab interface and implementation
- changed gfx::GfxObj.GetBoundingBox to take boolean argument, allowing obj transform to be applied; in C++, the default is use_tf=False, in Python, the argument must be provided - deprecated Scene::Autoslab(bool,bool) and Scene::AutoslabMax() - added Scene::Autoslab() to replace above deprecated methods - added Scene::[SG]etAutoslabMode(int) to set behavior of autoslab (default is fast mode, as before, so no behavior change) - added Scene::GetBoundingBox(bool use_tf) - added GetBoundingBox() methods, auto_autoslab, autoslab_mode and bounding_box properties to gfx::Scene python export - modified gfx::GfxObj::ProcessLimits behavior to take obj transform into acount - moved some code duplication to mol::Transform::Apply(AlignedCuboid) - do_autoslab upon adding a new gfx obj is only applied when auto_autoslab is true - tweaked some in-source documentation - added str(self) defs to some geom exports
Showing
- modules/geom/pymod/export_composite3.cc 2 additions, 0 deletionsmodules/geom/pymod/export_composite3.cc
- modules/gfx/pymod/export_gfx_obj.cc 6 additions, 6 deletionsmodules/gfx/pymod/export_gfx_obj.cc
- modules/gfx/pymod/export_scene.cc 30 additions, 5 deletionsmodules/gfx/pymod/export_scene.cc
- modules/gfx/src/entity.cc 3 additions, 31 deletionsmodules/gfx/src/entity.cc
- modules/gfx/src/entity.hh 3 additions, 4 deletionsmodules/gfx/src/entity.hh
- modules/gfx/src/gfx_object.cc 4 additions, 18 deletionsmodules/gfx/src/gfx_object.cc
- modules/gfx/src/gfx_object.hh 21 additions, 9 deletionsmodules/gfx/src/gfx_object.hh
- modules/gfx/src/map_iso.cc 2 additions, 2 deletionsmodules/gfx/src/map_iso.cc
- modules/gfx/src/map_iso.hh 1 addition, 1 deletionmodules/gfx/src/map_iso.hh
- modules/gfx/src/scene.cc 65 additions, 37 deletionsmodules/gfx/src/scene.cc
- modules/gfx/src/scene.hh 49 additions, 12 deletionsmodules/gfx/src/scene.hh
- modules/gfx/src/surface.cc 16 additions, 13 deletionsmodules/gfx/src/surface.cc
- modules/gfx/src/surface.hh 1 addition, 1 deletionmodules/gfx/src/surface.hh
- modules/mol/base/src/transform.cc 17 additions, 0 deletionsmodules/mol/base/src/transform.cc
- modules/mol/base/src/transform.hh 3 additions, 0 deletionsmodules/mol/base/src/transform.hh
Loading
Please register or sign in to comment