MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
MGIgesDirectoryEntry クラス

MGIgesDirectoryEntry describes a directory entry section of an IGES file. [詳解]

公開メンバ関数

 MGIgesDirectoryEntry ()
 Constructors. [詳解]
 
 MGIgesDirectoryEntry (int EntityTypeNumber, const std::string &EntityLabel, const MGIgesDEStatusNumber &StatusNumber=mgIgesDEStatusNumber, int ColorNumber=0, int LineWeightNumber=0, int LineFontPattern=0, int TRANSFORMATION_MATRIX=0, int FormNumber=0, int EntitySubscriptNumber=0)
 
 MGIgesDirectoryEntry (const std::string &DEstring)
 Construct from a string that contais one pair of lines of IGES File. [詳解]
 
int EntityTypeNumber () const
 
bool is_visible () const
 
bool is_independent () const
 
const MGIgesDEStatusNumberstatus_number () const
 
int ParameterDataLine () const
 
int ParameterLineCount () const
 
const std::auto_ptr< MGIgesPD > & paramData () const
 
int transformID () const
 
int LineFontPattern () const
 
int LineWeightNumber () const
 
float LineWidth (const MGIgesGSec &gsec) const
 
int ColorNumber () const
 
int FormNumber () const
 
void setFormNumber (int FormNumber)
 
void setPD (std::auto_ptr< MGIgesPD > &pd)
 
void set_SubordinateEntitySwitch (MGIgesDEStatusNumber::SESwitch eswitch)
 
void setTransformID (int trid)
 
void setLineWeightNumber (int weight)
 
void setPD (char pDelimeter, const std::string &paramData)
 Convert paramData to the each type parameter data, and set it in m_ParamData. [詳解]
 
void put_to_string (int ParameterDataLine, int ParameterLineCount, int DEpointer, std::string lines[2])
 Put this DE data to 2 lines of IGES file string data. [詳解]
 

詳解

MGIgesDirectoryEntry describes a directory entry section of an IGES file.

In IGES file one directory entry is stored in two records. MGIgesDirectoryEntry holds the two records data.

構築子と解体子

MGIgesDirectoryEntry::MGIgesDirectoryEntry ( )

Constructors.

Constructs an object of class MGIgesDirectoryEntry. Default constructor, includes all the defalut value of MGCL.

MGIgesDirectoryEntry::MGIgesDirectoryEntry ( int  EntityTypeNumber,
const std::string &  EntityLabel,
const MGIgesDEStatusNumber StatusNumber = mgIgesDEStatusNumber,
int  ColorNumber = 0,
int  LineWeightNumber = 0,
int  LineFontPattern = 0,
int  TRANSFORMATION_MATRIX = 0,
int  FormNumber = 0,
int  EntitySubscriptNumber = 0 
)
引数
EntityTypeNumberEntity type number.
EntityLabelEntity label
StatusNumberStatus number.
ColorNumberWhen negated value, is a pointer to the directory entry.
LineWeightNumberLine weight number.
LineFontPatternWhen negated value, is a pointer to the directory entry.
TRANSFORMATION_MATRIXPointer to the directory entity of the matrix.
FormNumberForm number.
EntitySubscriptNumberSubcription number.
MGIgesDirectoryEntry::MGIgesDirectoryEntry ( const std::string &  DEstring)

Construct from a string that contais one pair of lines of IGES File.

関数詳解

int MGIgesDirectoryEntry::ColorNumber ( ) const
inline
int MGIgesDirectoryEntry::EntityTypeNumber ( ) const
inline
int MGIgesDirectoryEntry::FormNumber ( ) const
inline
bool MGIgesDirectoryEntry::is_independent ( ) const
inline
bool MGIgesDirectoryEntry::is_visible ( ) const
inline
int MGIgesDirectoryEntry::LineFontPattern ( ) const
inline
int MGIgesDirectoryEntry::LineWeightNumber ( ) const
inline
float MGIgesDirectoryEntry::LineWidth ( const MGIgesGSec gsec) const
const std::auto_ptr<MGIgesPD>& MGIgesDirectoryEntry::paramData ( ) const
inline
int MGIgesDirectoryEntry::ParameterDataLine ( ) const
inline
int MGIgesDirectoryEntry::ParameterLineCount ( ) const
inline
void MGIgesDirectoryEntry::put_to_string ( int  ParameterDataLine,
int  ParameterLineCount,
int  DEpointer,
std::string  lines[2] 
)

Put this DE data to 2 lines of IGES file string data.

引数
ParameterDataLinePD line pointer of this DE's Parameter Data Section.
ParameterLineCountLine count of this PD lines.
DEpointerDEpointer of this DE.
linesOutput line string variable,Each has the size of 80.
void MGIgesDirectoryEntry::set_SubordinateEntitySwitch ( MGIgesDEStatusNumber::SESwitch  eswitch)
inline
void MGIgesDirectoryEntry::setFormNumber ( int  FormNumber)
inline
void MGIgesDirectoryEntry::setLineWeightNumber ( int  weight)
inline
void MGIgesDirectoryEntry::setPD ( std::auto_ptr< MGIgesPD > &  pd)
void MGIgesDirectoryEntry::setPD ( char  pDelimeter,
const std::string &  paramData 
)

Convert paramData to the each type parameter data, and set it in m_ParamData.

引数
pDelimeterparameter delimeter
paramDatawhole parameter data string, Each of the parameter is separated by pDelimeter.
void MGIgesDirectoryEntry::setTransformID ( int  trid)
inline
const MGIgesDEStatusNumber& MGIgesDirectoryEntry::status_number ( ) const
inline
int MGIgesDirectoryEntry::transformID ( ) const
inline

このクラス詳解は次のファイルから抽出されました: