< Home

< Table of Contents

REFERENCE MANUAL

Parasolid::Factory Class Reference

#include <sprk_parasolid.h>

Inheritance diagram for Parasolid::Factory:
Sprocket Object

Static Public Member Functions

static CADModel CreateCADModel (Model const &in_model=Factory::CreateModel())
 
static Component CreateComponent (Component const &in_owner, Component::ComponentType in_type, ParasolidEntity in_entity=0)
 
- Static Public Member Functions inherited from Object
template<typename T >
static intptr_t ClassID ()
 

Additional Inherited Members

- Public Types inherited from Sprocket
enum  UpdateType { Synchronous, Asynchronous }
 
- Public Member Functions inherited from Sprocket
 Sprocket (Sprocket &&in_that)
 
- Public Member Functions inherited from Object
virtual bool Empty () const
 
intptr_t GetClassID () const
 
intptr_t GetInstanceID () const
 
bool HasType (Type in_mask) const
 
 Object (Object &&in_that)
 
virtual Type ObjectType () const
 
Objectoperator= (Object const &other_object)
 
Objectoperator= (Object &&in_that)
 
virtual void Reset ()
 
Type Type () const
 

Detailed Description

The Factory class is used to create Parasolid objects which inherit from Component or one of its subclasses.

Member Function Documentation

static CADModel Parasolid::Factory::CreateCADModel ( Model const &  in_model = Factory::CreateModel())
static

Creates a new Parasolid::CADModel.

Parameters
in_modelThe Model associated with the Parasolid::CADModel.
static Component Parasolid::Factory::CreateComponent ( Component const &  in_owner,
Component::ComponentType  in_type,
ParasolidEntity  in_entity = 0 
)
static

Creates a new Parasolid::Component as a subcomponent of a given Component.

Parameters
in_ownerThe Component which owns the newly created Parasolid::Component.
in_typeThe type of Parasolid::Component to create.

The documentation for this class was generated from the following file: