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 MGIgesDEStatusNumber & | status_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 ¶mData) |
| 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 |
|
) |
| |
- 引数
-
EntityTypeNumber | Entity type number. |
EntityLabel | Entity label |
StatusNumber | Status number. |
ColorNumber | When negated value, is a pointer to the directory entry. |
LineWeightNumber | Line weight number. |
LineFontPattern | When negated value, is a pointer to the directory entry. |
TRANSFORMATION_MATRIX | Pointer to the directory entity of the matrix. |
FormNumber | Form number. |
EntitySubscriptNumber | Subcription 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.
- 引数
-
ParameterDataLine | PD line pointer of this DE's Parameter Data Section. |
ParameterLineCount | Line count of this PD lines. |
DEpointer | DEpointer of this DE. |
lines | Output line string variable,Each has the size of 80. |
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.
- 引数
-
pDelimeter | parameter delimeter |
paramData | whole parameter data string, Each of the parameter is separated by pDelimeter. |
void MGIgesDirectoryEntry::setTransformID |
( |
int |
trid | ) |
|
|
inline |
int MGIgesDirectoryEntry::transformID |
( |
| ) |
const |
|
inline |
このクラス詳解は次のファイルから抽出されました: