SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Classes | Typedefs | Functions
smtk::geometry Namespace Reference

A subsystem for attaching renderable geometry to components and resources. More...

Classes

struct  ArrayInfo
 
class  Backend
 This is an empty class used by geometry providers to specify their interface. More...
 
struct  BoundingBox
 An API for computing the bounding box for a geometric resource or component. More...
 
class  Cache
 A geometry provider that uses a cache to answer queries. More...
 
struct  ClosestPoint
 An API for computing a the closest point on a geometric resource component to an input point. More...
 
struct  DataSetInfo
 
class  DataSetInfoInspector
 Inspect mesh statistics on components with renderable geometry. More...
 
struct  DistanceTo
 An API for computing the shortest distance between an input point and a geometric resource component. More...
 
class  Geometry
 A base class for objects which can provide renderable geometry. More...
 
class  GeometryForBackend
 A base class for objects which can provide renderable geometry in a specific format. More...
 
class  ImageInspector
 Inspect a volumetric mesh with a crinkle-slice. More...
 
class  Manager
 Maintain a list of backends for which resources should provide geometry. More...
 
class  MeshInspector
 Inspect a volumetric mesh with a crinkle-slice. More...
 
struct  RandomPoint
 An API for computing a random point on a geometric resource component. More...
 
class  Registrar
 
class  Resource
 An abstract base class for SMTK resources that provide geometry for themselves and/or their components. More...
 
struct  SelectionFootprint
 An API for determining which components to render to display a selection. More...
 
class  Supplier
 Declare the class used to register geometry classes specific to a backend. More...
 

Typedefs

typedef std::unique_ptr< GeometryGeometryPtr
 
typedef std::shared_ptr< ManagerManagerPtr
 
typedef std::shared_ptr< const ManagerConstManagerPtr
 
typedef std::shared_ptr< ResourceResourcePtr
 
typedef std::shared_ptr< const ResourceConstResourcePtr
 
using Specification = std::tuple< smtk::geometry::ResourcePtr, const smtk::geometry::Backend & >
 
using Generator = smtk::common::Generator< Specification, GeometryPtr >
 Declare the class used to generate geometry objects specific to a backend. More...
 

Functions

void createSummary (const smtk::attribute::ReferenceItem::Ptr &assoc, std::set< DataSetInfo > &summaries)
 
void prepareResult (DataSetInfoInspector::Result &result, std::set< DataSetInfo > &summaries)
 

Detailed Description

A subsystem for attaching renderable geometry to components and resources.

Typedef Documentation

◆ Generator

Declare the class used to generate geometry objects specific to a backend.

The geometry::Resource class uses this class to create instances of the proper geometry::Geometry subclass.

◆ GeometryPtr

typedef std::unique_ptr<Geometry> smtk::geometry::GeometryPtr

◆ ManagerPtr

typedef std::shared_ptr<Manager> smtk::geometry::ManagerPtr

◆ ResourcePtr

typedef std::shared_ptr<Resource> smtk::geometry::ResourcePtr