Exchange Toolkit
Modules | Classes | Macros | Typedefs | Functions
Data Access

More easily access data inside the Exchange data model. More...

Modules

 Data Access Wrappers
 This is a complete list of data access wrappers. Every object in HOOPS Exchange with a typename matching A3D[a-zA-Z0-9]+Data that has a corresponding A3D[a-zA-Z0-9]+Get has a wrapper entry below.
 

Classes

class  ts3d::Instance
 An instance should be thought of as a specific path through the Exchange product structure to a particular leaf entity. More...
 
class  ts3d::TessBaseInstance
 Base class for easing access to tessellation data. Provides access to coordinate values. More...
 
class  ts3d::TessFaceDataHelper
 This is a helper class used to more easily provide access to the indexed mesh data for a given face. More...
 
class  ts3d::Tess3DInstance
 Encapsulates the functionality desired to easily retrieve normal and texture coordinates for a tessellation. More...
 
class  ts3d::Tess3DWireInstance
 Provides easy access to wire tessellation data. More...
 
class  ts3d::RepresentationItemInstance
 This specific type of an Instance expects the leaf node to be of type kA3DTypeRiRepresentationItem. More...
 

Macros

#define A3D_HELPERS(A3D_VOID_TYPE)
 This macro is used to define a struct that can be used to more easily obtain and access the Exchange data object's member variables. More...
 

Typedefs

using ts3d::EntityArray = std::vector< A3DEntity * >
 Used to abstract an ordered collection of Exchange objects.
 
using ts3d::EntitySet = std::set< A3DEntity * >
 Used to absract an unordered collection of unique Exchange objects.
 
using ts3d::InstancePtr = std::shared_ptr< Instance >
 Abstraction of a shared pointer to an Instance object.
 

Functions

template<typename T , typename S >
std::vector< T > ts3d::toVector (T *d, S const &sz)
 This function can be used to more easily construct a vector of objects.
 
static bool ts3d::isRepresentationItem (A3DEEntityType const &t)
 Check if type is Ri or derived Ri type.
 
static bool ts3d::isTessBase (A3DEEntityType const &t)
 Check if type is TessBase or derived TessBase type.
 
static bool ts3d::isAnnotationEntity (A3DEEntityType const &t)
 Check if type is A3DMkpAnnotationEntity or derived type.
 
static bool ts3d::isMarkup (A3DEEntityType const &t)
 Check if type is A3DMkpMarkup or derived type.
 
static A3DEEntityType ts3d::getEntityType (A3DEntity *ntt)
 A simple wrapper to allow use inline without having to declare a temporary variable to the return value.
 
static double ts3d::getUnit (A3DAsmModelFile *modelFile)
 Obtains the unit scaling factor (units/mm) for a given input model file.
 

Detailed Description

More easily access data inside the Exchange data model.

See also
Data Access

Macro Definition Documentation

#define A3D_HELPERS (   A3D_VOID_TYPE)

This macro is used to define a struct that can be used to more easily obtain and access the Exchange data object's member variables.

See also
For a documented interface of this macro expansion, see the sample expansion ts3d::A3DRootBaseWrapper.