Geometry provider.
- Jan 07, 2020
-
-
David Thompson authored
-
David Thompson authored
When inheriting classes that provide `shared_from_this()`, you must specify the oldest ancestor (which directly inherits the `enable_shared_from_this<T>` class), not any intermediate ancestors. Many classes were inheriting smtk::resource::Resource but it is now smtk::resource::PersistentObject that holds the pool of shared pointers. This could lead to leaks when subclasses have their `shared_from_this()` method invoked.
-
David Thompson authored
We are working toward removing smtk::model::Tessellation in order to resolve performance problems inherent in its design. In its place is smtk::geometry::Geometry and subclasses that allow developers an efficient (usually zero-copy) technique for providing access to their geometry directly in the format that rendering and analysis backends will use. This first step simply adds smtk::geometry::Geometry but does not force its use or remove smtk::model::Tessellation.
-
David Thompson authored
-
David Thompson authored
-