CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
FacetModeler::Entity Class Reference

#include <FMMdlEntity.h>

Inheritance diagram for FacetModeler::Entity:
FacetModeler::Edge FacetModeler::Face FacetModeler::Surface FacetModeler::Vertex FacetModeler::VertexSurfData FacetModeler::Revolution FacetModeler::ShadedSurface FacetModeler::Cone FacetModeler::Cylinder FacetModeler::Sphere FacetModeler::Torus

Public Member Functions

 Entity ()
 
 Entity (const Entity &ent)
 
Entityoperator= (const Entity &entity)
 
OdUInt32 flags () const
 
void setFlags (OdUInt32 iFlags)
 
bool isFlagOn (OdUInt32 iFlag) const
 
void setIsFlagOn (OdUInt32 iFlag, bool bOn)
 
TagType tag () const
 
void setTag (TagType nTag)
 
virtual ~Entity ()
 

Detailed Description

This is the base class for all modeler primitives.

Definition at line 43 of file FMMdlEntity.h.

Constructor & Destructor Documentation

◆ Entity() [1/2]

FacetModeler::Entity::Entity ( )
inline

Default constructor.

Definition at line 121 of file FMMdlEntity.h.

◆ Entity() [2/2]

FacetModeler::Entity::Entity ( const Entity ent)
inline

Copy constructor. Creates an Entity object and initializes it with the given object.

Parameters
ent[in] Entity to copy from.

Definition at line 126 of file FMMdlEntity.h.

◆ ~Entity()

FacetModeler::Entity::~Entity ( )
inlinevirtual

Destructor.

Definition at line 138 of file FMMdlEntity.h.

Member Function Documentation

◆ flags()

OdUInt32 FacetModeler::Entity::flags ( ) const
inline

Gets all flags.

Returns
All of the entity's flags as an OdUInt32 value.

Definition at line 141 of file FMMdlEntity.h.

◆ isFlagOn()

bool FacetModeler::Entity::isFlagOn ( OdUInt32  iFlag) const
inline

Checks whether the specified flag is on.

Parameters
iFlag[in] Bit mask of the flag to check.
Returns
true if the flag is on, false otherwise.

Definition at line 149 of file FMMdlEntity.h.

◆ operator=()

Entity & FacetModeler::Entity::operator= ( const Entity entity)
inline

Assignment operator.

Parameters
entity[in] Entity to assign.
Returns
Reference to the resulting entity.

Definition at line 132 of file FMMdlEntity.h.

◆ setFlags()

void FacetModeler::Entity::setFlags ( OdUInt32  iFlags)
inline

Sets all flags.

Parameters
iFlags[in] All flags as an OdUInt32 number.

Definition at line 145 of file FMMdlEntity.h.

◆ setIsFlagOn()

void FacetModeler::Entity::setIsFlagOn ( OdUInt32  iFlag,
bool  bOn 
)
inline

Sets the specified flag to the specified state.

Parameters
iFlag[in] Bit mask of the flag to set.
bOn[in] New state to set.

Definition at line 153 of file FMMdlEntity.h.

◆ setTag()

void FacetModeler::Entity::setTag ( TagType  nTag)
inline

Sets the tag to the specified one.

Parameters
nTag[in] Tag to set.

Definition at line 161 of file FMMdlEntity.h.

◆ tag()

TagType FacetModeler::Entity::tag ( ) const
inline

Gets an entity tag.

Returns
Entity tag as a TagType value.

Definition at line 157 of file FMMdlEntity.h.


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