OpenLexocad  27.1
Topo::TopologicalItem Class Referenceabstract

#include <Shape.h>

Inheritance diagram for Topo::TopologicalItem:
Base::BaseClass Topo::Coedge Topo::Edge Topo::Face Topo::Shape Topo::Shell Topo::Vertex Topo::Wire Topo::Compound Topo::LazyFacetedBrepShape Topo::MeshShape Topo::Solid

Public Types

enum  MesherType { MesherType::Default_Mesher, MesherType::Acis_Mesher, MesherType::Compound_Mesher }
 
enum  ModellingKernel {
  ModellingKernel::OCC, ModellingKernel::ACIS, ModellingKernel::CARVE, ModellingKernel::MIXED,
  ModellingKernel::UNKNOWN
}
 

Public Member Functions

 TopologicalItem ()
 
virtual ~TopologicalItem (void)
 
virtual Topo::TopologicalItem::MesherType getMesherType () const =0
 
virtual Topo::TopologicalItem::ModellingKernel getModellingKernel () const =0
 
virtual pConstTopologicalItem getOwner () const =0
 Returns top-level owner. Returns this if item is top-level. More...
 
virtual Topo::ShapeToolgetShapeTool () const =0
 
virtual ENTITY * getEntity () const
 
virtual bool getGeometricInformation (Topo::GeometricInformation &) const =0
 
- Public Member Functions inherited from Base::BaseClass
virtual Type getTypeId (void) const
 
template<typename T >
bool isDerivedFrom () const
 
bool isDerivedFrom (const Type type) const
 
 BaseClass ()
 Construction. More...
 
virtual ~BaseClass ()
 Destruction. More...
 

Protected Member Functions

 TopologicalItem (ENTITY *)
 

Protected Attributes

pConstTopologicalItem source
 

Additional Inherited Members

- Static Public Member Functions inherited from Base::BaseClass
static Type getClassTypeId (void)
 
static void init (void)
 
static void * create (void)
 
static void setIfcNameAndID (const std::string &n, int id)
 
- Public Attributes inherited from Base::BaseClass
long ____deadVal = 0xBADEAFFE
 
- Static Protected Member Functions inherited from Base::BaseClass
static void initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=0)
 
static void initIfcTypes (const std::string &s, Base::Type classTypeId, int id)
 

Member Enumeration Documentation

◆ MesherType

Enumerator
Default_Mesher 
Acis_Mesher 
Compound_Mesher 

◆ ModellingKernel

Enumerator
OCC 
ACIS 
CARVE 
MIXED 
UNKNOWN 

Constructor & Destructor Documentation

◆ TopologicalItem() [1/2]

Topo::TopologicalItem::TopologicalItem ( )
inline

◆ ~TopologicalItem()

virtual Topo::TopologicalItem::~TopologicalItem ( void  )
inlinevirtual

◆ TopologicalItem() [2/2]

Topo::TopologicalItem::TopologicalItem ( ENTITY *  )
inlineprotected

Member Function Documentation

◆ getEntity()

virtual ENTITY* Topo::TopologicalItem::getEntity ( ) const
inlinevirtual

◆ getGeometricInformation()

virtual bool Topo::TopologicalItem::getGeometricInformation ( Topo::GeometricInformation ) const
pure virtual

◆ getMesherType()

virtual Topo::TopologicalItem::MesherType Topo::TopologicalItem::getMesherType ( ) const
pure virtual

◆ getModellingKernel()

virtual Topo::TopologicalItem::ModellingKernel Topo::TopologicalItem::getModellingKernel ( ) const
pure virtual

◆ getOwner()

virtual pConstTopologicalItem Topo::TopologicalItem::getOwner ( ) const
pure virtual

Returns top-level owner. Returns this if item is top-level.

Implemented in Topo::Shape.

◆ getShapeTool()

virtual Topo::ShapeTool* Topo::TopologicalItem::getShapeTool ( ) const
pure virtual

Member Data Documentation

◆ source

pConstTopologicalItem Topo::TopologicalItem::source
protected

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