SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Classes | Namespaces | Macros | Typedefs
Resource.h File Reference
#include "smtk/PublicPointerDefs.h"
#include "smtk/SharedFromThis.h"
#include "smtk/SharedPtr.h"
#include "smtk/SystemConfig.h"
#include "smtk/model/Arrangement.h"
#include "smtk/model/AttributeAssignments.h"
#include "smtk/model/AuxiliaryGeometry.h"
#include "smtk/model/Entity.h"
#include "smtk/model/Events.h"
#include "smtk/model/FloatData.h"
#include "smtk/model/IntegerData.h"
#include "smtk/model/Session.h"
#include "smtk/model/SessionRef.h"
#include "smtk/model/StringData.h"
#include "smtk/model/Tessellation.h"
#include "smtk/geometry/Resource.h"
#include "smtk/resource/DerivedFrom.h"
#include "smtk/common/UUID.h"
#include "smtk/io/Logger.h"
#include <map>
#include <algorithm>
#include <set>
#include <vector>
#include <sstream>
Include dependency graph for Resource.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  smtk::model::Resource
 Store information about solid models. More...
 

Namespaces

 smtk
 The main namespace for the Simulation Modeling Tool Kit (SMTK).
 
 smtk::model
 Represent geometric and topological models of simulation domains.
 

Macros

#define SMTK_MODEL_RESOURCE_NAME   "model"
 The name of the model resource used to filter resources of this type. More...
 
#define SMTK_TESS_GEN_PROP   "_tessgen"
 The name of an integer property used to store display Tessellation generation numbers. More...
 
#define SMTK_MESH_GEN_PROP   "_meshgen"
 The name of an integer property used to store mesh Tessellation generation numbers. More...
 
#define SMTK_GEOM_STYLE_PROP   "_geomstyle"
 The name of an integer property used to store the geometric representation style of a model. More...
 
#define SMTK_BOUNDING_BOX_PROP   "_boundingBox"
 The name of a float property used to store the bounding box of a model entity or an auxiliary geometry. More...
 

Typedefs

typedef std::map< smtk::common::UUID, EntityPtr > smtk::model::UUIDsToEntities
 Store information mapping IDs to Entity records. This is the primary storage for SMTK models.
 
typedef UUIDsToEntities::iterator smtk::model::UUIDWithEntityPtr
 An abbreviation for an iterator into primary model storage.
 
typedef UUIDsToEntities::const_iterator smtk::model::UUIDWithConstEntityPtr
 

Macro Definition Documentation

◆ SMTK_BOUNDING_BOX_PROP

#define SMTK_BOUNDING_BOX_PROP   "_boundingBox"

The name of a float property used to store the bounding box of a model entity or an auxiliary geometry.

See also
SMTK_BOUNDING_BOX_PROP

◆ SMTK_GEOM_STYLE_PROP

#define SMTK_GEOM_STYLE_PROP   "_geomstyle"

The name of an integer property used to store the geometric representation style of a model.

See also
ModelGeometryStyle

◆ SMTK_MESH_GEN_PROP

#define SMTK_MESH_GEN_PROP   "_meshgen"

The name of an integer property used to store mesh Tessellation generation numbers.

See also
SMTK_MESH_GEN_PROP

◆ SMTK_MODEL_RESOURCE_NAME

#define SMTK_MODEL_RESOURCE_NAME   "model"

The name of the model resource used to filter resources of this type.

See also
SMTK_MODEL_RESOURCE_NAME

◆ SMTK_TESS_GEN_PROP

#define SMTK_TESS_GEN_PROP   "_tessgen"

The name of an integer property used to store display Tessellation generation numbers.

Starting with "_" indicates internal-use-only. Short (8 bytes or less) means single word comparison suffices on many platforms => fast.