#include <HUtilityPMI.h>
Public Member Functions | |
Entity (HC_KEY segment_key=INVALID_KEY) | |
Entity (Entity const &that) | |
void | GetDrawing (Drawing &out_drawing) const |
void | GetFrame (Frame &out_frame) const |
unsigned int | GetLeaderLineCount () const |
void | GetLeaderLines (unsigned int &out_count, Polyline out_leader_lines[]) const |
unsigned int | GetLeaderSymbolCount () const |
void | GetLeaderSymbols (unsigned int &out_count, Polygon out_leader_symbols[]) const |
HC_KEY | GetSegmentKey () const |
virtual Type | GetType () const |
bool | IsDisplayParallelToScreen () const |
Entity const & | operator= (Entity const &that) |
void | Set (Entity const &that) |
void | SetDisplayParallelToScreen (bool const in_parallel=true) |
void | SetDrawing (Drawing const &in_drawing) |
void | SetFrame (Frame const &in_frame) |
void | SetLeaderLines (unsigned int in_count, Polyline const in_leader_lines[]) |
void | SetLeaderSymbols (unsigned int in_count, Polygon const in_leader_symbols[]) |
Protected Attributes | |
PMII::PrivateImpl * | impl_ |
This class is the base class for all the various PMI entity types. It contains functions common to all the PMI entities.
PMI::Entity::Entity | ( | HC_KEY | segment_key = INVALID_KEY | ) |
void PMI::Entity::GetDrawing | ( | Drawing & | out_drawing | ) | const |
void PMI::Entity::GetFrame | ( | Frame & | out_frame | ) | const |
unsigned int PMI::Entity::GetLeaderLineCount | ( | ) | const |
void PMI::Entity::GetLeaderLines | ( | unsigned int & | out_count, |
Polyline | out_leader_lines[] | ||
) | const |
Gets the leader lines for this Entity.
unsigned int PMI::Entity::GetLeaderSymbolCount | ( | ) | const |
void PMI::Entity::GetLeaderSymbols | ( | unsigned int & | out_count, |
Polygon | out_leader_symbols[] | ||
) | const |
Gets the leader symbols for this Entity.
HC_KEY PMI::Entity::GetSegmentKey | ( | ) | const |
virtual Type PMI::Entity::GetType | ( | ) | const [inline, virtual] |
Reimplemented in PMI::RoughnessEntity, PMI::NoteEntity, PMI::GenericEntity, PMI::FeatureControlFrameEntity, PMI::DimensionEntity, and PMI::DatumEntity.
bool PMI::Entity::IsDisplayParallelToScreen | ( | ) | const |
Get the option parallel to screen value.
Reimplemented in PMI::GenericEntity.
void PMI::Entity::SetDisplayParallelToScreen | ( | bool const | in_parallel = true | ) |
Set the option parallel to screen. The pmi is display parallel to screen and is not impacted by any rotation
Reimplemented in PMI::GenericEntity.
void PMI::Entity::SetDrawing | ( | Drawing const & | in_drawing | ) |
void PMI::Entity::SetFrame | ( | Frame const & | in_frame | ) |
void PMI::Entity::SetLeaderLines | ( | unsigned int | in_count, |
Polyline const | in_leader_lines[] | ||
) |
void PMI::Entity::SetLeaderSymbols | ( | unsigned int | in_count, |
Polygon const | in_leader_symbols[] | ||
) |