CFx SDK Documentation  2022 SP0
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
OdBrMeshEntity Class Reference

#include <BrMeshEntity.h>

Inheritance diagram for OdBrMeshEntity:
OdBrElement OdBrMesh OdBrNode OdBrElement2d OdBrMesh2d

Public Member Functions

virtual ~OdBrMeshEntity ()
 
bool isEqualTo (const OdBrMeshEntity *other) const
 
bool isNull () const
 
OdBrErrorStatus getEntityAssociated (OdBrEntity *&entity) const
 
OdBrErrorStatus setValidationLevel (const BrValidationLevel &level= *(BrValidationLevel *) NULL)
 
OdBrErrorStatus getValidationLevel (BrValidationLevel &level) const
 
bool brepChanged () const
 

Protected Member Functions

 OdBrMeshEntity ()
 
 OdBrMeshEntity (const OdBrMeshEntity &)
 
OdBrMeshEntityoperator= (const OdBrMeshEntity &)
 

Protected Attributes

OdRxObjectPtr m_pImp
 
bool m_bIsValidate
 

Friends

class OdBrEntityInternals
 

Detailed Description

This class defines the interface base class for mesh objects and subobjects.

Remarks
This class is implemented only for Spatial modeler.
See also
TD_Br

<group OdBr_Classes>

Definition at line 41 of file BrMeshEntity.h.

Constructor & Destructor Documentation

◆ ~OdBrMeshEntity()

virtual OdBrMeshEntity::~OdBrMeshEntity ( )
virtual

Virtual destructor.

◆ OdBrMeshEntity() [1/2]

OdBrMeshEntity::OdBrMeshEntity ( )
protected

Default constructor.

◆ OdBrMeshEntity() [2/2]

OdBrMeshEntity::OdBrMeshEntity ( const OdBrMeshEntity )
protected

Copy constructor.

Member Function Documentation

◆ brepChanged()

bool OdBrMeshEntity::brepChanged ( ) const

Checks whether the object associated with this mesh has changed since the mesh object was last set.

Returns
Returns true if the associated object has changed or if it is impossible to determine whether it has changed. Returns false if the associated object has not changed or if it is a non-database resident.

◆ getEntityAssociated()

OdBrErrorStatus OdBrMeshEntity::getEntityAssociated ( OdBrEntity *&  entity) const

Returns the topology object associated with this mesh object.

Parameters
entity[out] Dimensionally lowest topology object.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

◆ getValidationLevel()

OdBrErrorStatus OdBrMeshEntity::getValidationLevel ( BrValidationLevel level) const

Returns the validation level used by the mesh object.

Parameters
level[out] Validation level.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

◆ isEqualTo()

bool OdBrMeshEntity::isEqualTo ( const OdBrMeshEntity other) const

Checks if content of the two mesh objects is equal.

Parameters
other[in] Another mesh object.
Returns
Returns true if two mesh objects are equal, or returns false in the other case.

◆ isNull()

bool OdBrMeshEntity::isNull ( ) const

Returns true if and only if this mesh object is uninitialized.

◆ operator=()

OdBrMeshEntity& OdBrMeshEntity::operator= ( const OdBrMeshEntity )
protected

Assignment operator.

◆ setValidationLevel()

OdBrErrorStatus OdBrMeshEntity::setValidationLevel ( const BrValidationLevel level = *(BrValidationLevel *) NULL)

Sets the validation level.

Parameters
level[in] Validation level.
Returns
Returns odbrOK if successful, or an appropriate error code if not.

Friends And Related Function Documentation

◆ OdBrEntityInternals

friend class OdBrEntityInternals
friend

Definition at line 43 of file BrMeshEntity.h.

Member Data Documentation

◆ m_bIsValidate

bool OdBrMeshEntity::m_bIsValidate
protected

Definition at line 121 of file BrMeshEntity.h.

◆ m_pImp

OdRxObjectPtr OdBrMeshEntity::m_pImp
protected

Definition at line 120 of file BrMeshEntity.h.


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