![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Description of a global section (corresponds to file header) used as well in IGESModel, IGESReader and IGESWriter Warning : From IGES-5.1, a parameter is added : LastChangeDate (concerns transferred set of data, not the file itself) Of course, it can be absent if read from earlier versions (a default is then to be set to current date) From 5.3, one more : ApplicationProtocol (optional) More...
#include <IGESData_GlobalSection.hxx>
Public Member Functions | |
| IGESData_GlobalSection () | |
| Creates an empty GlobalSection, ready to be filled, Warning : No default value is provided. | |
| void | Init (const occ::handle< Interface_ParamSet > ¶ms, occ::handle< Interface_Check > &ach) |
| Fills GlobalSection from a ParamSet (i.e. taken from file) undefined parameters do not change default values when defined Fills Check about Corrections or Fails. | |
| void | CopyRefs () |
| Copies data referenced by Handle (that is, Strings) useful to "isolate" a GlobalSection after copy by "=" (from a Model to another Model for instance) | |
| occ::handle< Interface_ParamSet > | Params () const |
| Returns all contained data in the form of a ParamSet Remark : Strings are given under Hollerith form. | |
| occ::handle< TCollection_HAsciiString > | TranslatedFromHollerith (const occ::handle< TCollection_HAsciiString > &astr) const |
| Returns a string withpout its Hollerith marks (nnnH ahead). Remark : all strings stored in GlobalSection are expurged from Hollerith information (without nnnH) If <astr> is not Hollerith form, it is simply copied. | |
| char | Separator () const |
| Returns the parameter delimiter character. | |
| char | EndMark () const |
| Returns the record delimiter character. | |
| occ::handle< TCollection_HAsciiString > | SendName () const |
| Returns the name of the sending system. | |
| occ::handle< TCollection_HAsciiString > | FileName () const |
| Returns the name of the IGES file. | |
| occ::handle< TCollection_HAsciiString > | SystemId () const |
| Returns the Native System ID of the system that created the IGES file. | |
| occ::handle< TCollection_HAsciiString > | InterfaceVersion () const |
| Returns the name of the pre-processor used to write the IGES file. | |
| int | IntegerBits () const |
| Returns the number of binary bits for integer representations. | |
| int | MaxPower10Single () const |
| Returns the maximum power of a decimal representation of a single-precision floating point number in the sending system. | |
| int | MaxDigitsSingle () const |
| int | MaxPower10Double () const |
| Returns the maximum power of a decimal representation of a double-precision floating point number in the sending system. | |
| int | MaxDigitsDouble () const |
| occ::handle< TCollection_HAsciiString > | ReceiveName () const |
| Returns the name of the receiving system. | |
| double | Scale () const |
| Returns the scale used in the IGES file. | |
| double | CascadeUnit () const |
| Returns the system length unit. | |
| int | UnitFlag () const |
| Returns the unit flag that was used to write the IGES file. | |
| occ::handle< TCollection_HAsciiString > | UnitName () const |
| Returns the name of the unit the IGES file was written in. | |
| int | LineWeightGrad () const |
| Returns the maximum number of line weight gradations. | |
| double | MaxLineWeight () const |
| Returns the of maximum line weight width in IGES file units. | |
| occ::handle< TCollection_HAsciiString > | Date () const |
| Returns the IGES file creation date. | |
| double | Resolution () const |
| Returns the resolution used in the IGES file. | |
| double | MaxCoord () const |
| Returns the approximate maximum coordinate value found in the model. | |
| bool | HasMaxCoord () const |
| Returns True if the approximate maximum coordinate value found in the model is greater than 0. | |
| occ::handle< TCollection_HAsciiString > | AuthorName () const |
| Returns the name of the IGES file author. | |
| occ::handle< TCollection_HAsciiString > | CompanyName () const |
| Returns the name of the company where the IGES file was written. | |
| int | IGESVersion () const |
| Returns the IGES version that the IGES file was written in. | |
| int | DraftingStandard () const |
| occ::handle< TCollection_HAsciiString > | LastChangeDate () const |
| Returns the date and time when the model was created or last modified (for IGES 5.1 and later). | |
| bool | HasLastChangeDate () const |
| Returns True if the date and time when the model was created or last modified are specified, i.e. not defaulted to NULL. | |
| void | SetLastChangeDate () |
| occ::handle< TCollection_HAsciiString > | ApplicationProtocol () const |
| bool | HasApplicationProtocol () const |
| double | UnitValue () const |
| Returns the unit value (in meters) that the IGES file was written in. | |
| void | SetSeparator (const char val) |
| void | SetEndMark (const char val) |
| void | SetSendName (const occ::handle< TCollection_HAsciiString > &val) |
| void | SetFileName (const occ::handle< TCollection_HAsciiString > &val) |
| void | SetSystemId (const occ::handle< TCollection_HAsciiString > &val) |
| void | SetInterfaceVersion (const occ::handle< TCollection_HAsciiString > &val) |
| void | SetIntegerBits (const int val) |
| void | SetMaxPower10Single (const int val) |
| void | SetMaxDigitsSingle (const int val) |
| void | SetMaxPower10Double (const int val) |
| void | SetMaxDigitsDouble (const int val) |
| void | SetReceiveName (const occ::handle< TCollection_HAsciiString > &val) |
| void | SetCascadeUnit (const double theUnit) |
| void | SetScale (const double val) |
| void | SetUnitFlag (const int val) |
| void | SetUnitName (const occ::handle< TCollection_HAsciiString > &val) |
| void | SetLineWeightGrad (const int val) |
| void | SetMaxLineWeight (const double val) |
| void | SetDate (const occ::handle< TCollection_HAsciiString > &val) |
| void | SetResolution (const double val) |
| void | SetMaxCoord (const double val=0.0) |
| void | MaxMaxCoord (const double val=0.0) |
| void | MaxMaxCoords (const gp_XYZ &xyz) |
| void | SetAuthorName (const occ::handle< TCollection_HAsciiString > &val) |
| void | SetCompanyName (const occ::handle< TCollection_HAsciiString > &val) |
| void | SetIGESVersion (const int val) |
| void | SetDraftingStandard (const int val) |
| void | SetLastChangeDate (const occ::handle< TCollection_HAsciiString > &val) |
| void | SetApplicationProtocol (const occ::handle< TCollection_HAsciiString > &val) |
Static Public Member Functions | |
| static occ::handle< TCollection_HAsciiString > | NewDateString (const int year, const int month, const int day, const int hour, const int minut, const int second, const int mode=-1) |
| Returns a string built from year, month, day, hour, minute and second values. The form of the resulting string is defined as follows: | |
| static occ::handle< TCollection_HAsciiString > | NewDateString (const occ::handle< TCollection_HAsciiString > &date, const int mode=1) |
| Converts the string given in the form YYMMDD.HHNNSS or YYYYMMDD.HHNNSS to either YYMMDD.HHNNSS, YYYYMMDD.HHNNSS or YYYY-MM-DD:HH-NN-SS. | |
Description of a global section (corresponds to file header) used as well in IGESModel, IGESReader and IGESWriter Warning : From IGES-5.1, a parameter is added : LastChangeDate (concerns transferred set of data, not the file itself) Of course, it can be absent if read from earlier versions (a default is then to be set to current date) From 5.3, one more : ApplicationProtocol (optional)
| IGESData_GlobalSection::IGESData_GlobalSection | ( | ) |
Creates an empty GlobalSection, ready to be filled, Warning : No default value is provided.
| occ::handle< TCollection_HAsciiString > IGESData_GlobalSection::ApplicationProtocol | ( | ) | const |
| occ::handle< TCollection_HAsciiString > IGESData_GlobalSection::AuthorName | ( | ) | const |
Returns the name of the IGES file author.
| double IGESData_GlobalSection::CascadeUnit | ( | ) | const |
Returns the system length unit.
| occ::handle< TCollection_HAsciiString > IGESData_GlobalSection::CompanyName | ( | ) | const |
Returns the name of the company where the IGES file was written.
| void IGESData_GlobalSection::CopyRefs | ( | ) |
Copies data referenced by Handle (that is, Strings) useful to "isolate" a GlobalSection after copy by "=" (from a Model to another Model for instance)
| occ::handle< TCollection_HAsciiString > IGESData_GlobalSection::Date | ( | ) | const |
Returns the IGES file creation date.
| int IGESData_GlobalSection::DraftingStandard | ( | ) | const |
| char IGESData_GlobalSection::EndMark | ( | ) | const |
Returns the record delimiter character.
| occ::handle< TCollection_HAsciiString > IGESData_GlobalSection::FileName | ( | ) | const |
Returns the name of the IGES file.
| bool IGESData_GlobalSection::HasApplicationProtocol | ( | ) | const |
| bool IGESData_GlobalSection::HasLastChangeDate | ( | ) | const |
Returns True if the date and time when the model was created or last modified are specified, i.e. not defaulted to NULL.
| bool IGESData_GlobalSection::HasMaxCoord | ( | ) | const |
Returns True if the approximate maximum coordinate value found in the model is greater than 0.
| int IGESData_GlobalSection::IGESVersion | ( | ) | const |
Returns the IGES version that the IGES file was written in.
| void IGESData_GlobalSection::Init | ( | const occ::handle< Interface_ParamSet > & | params, |
| occ::handle< Interface_Check > & | ach ) |
Fills GlobalSection from a ParamSet (i.e. taken from file) undefined parameters do not change default values when defined Fills Check about Corrections or Fails.
| int IGESData_GlobalSection::IntegerBits | ( | ) | const |
Returns the number of binary bits for integer representations.
| occ::handle< TCollection_HAsciiString > IGESData_GlobalSection::InterfaceVersion | ( | ) | const |
Returns the name of the pre-processor used to write the IGES file.
| occ::handle< TCollection_HAsciiString > IGESData_GlobalSection::LastChangeDate | ( | ) | const |
Returns the date and time when the model was created or last modified (for IGES 5.1 and later).
| int IGESData_GlobalSection::LineWeightGrad | ( | ) | const |
Returns the maximum number of line weight gradations.
| double IGESData_GlobalSection::MaxCoord | ( | ) | const |
Returns the approximate maximum coordinate value found in the model.
| int IGESData_GlobalSection::MaxDigitsDouble | ( | ) | const |
| int IGESData_GlobalSection::MaxDigitsSingle | ( | ) | const |
| double IGESData_GlobalSection::MaxLineWeight | ( | ) | const |
Returns the of maximum line weight width in IGES file units.
| int IGESData_GlobalSection::MaxPower10Double | ( | ) | const |
Returns the maximum power of a decimal representation of a double-precision floating point number in the sending system.
| int IGESData_GlobalSection::MaxPower10Single | ( | ) | const |
Returns the maximum power of a decimal representation of a single-precision floating point number in the sending system.
|
static |
Returns a string built from year, month, day, hour, minute and second values. The form of the resulting string is defined as follows:
|
static |
Converts the string given in the form YYMMDD.HHNNSS or YYYYMMDD.HHNNSS to either YYMMDD.HHNNSS, YYYYMMDD.HHNNSS or YYYY-MM-DD:HH-NN-SS.
| occ::handle< Interface_ParamSet > IGESData_GlobalSection::Params | ( | ) | const |
Returns all contained data in the form of a ParamSet Remark : Strings are given under Hollerith form.
| occ::handle< TCollection_HAsciiString > IGESData_GlobalSection::ReceiveName | ( | ) | const |
Returns the name of the receiving system.
| double IGESData_GlobalSection::Resolution | ( | ) | const |
Returns the resolution used in the IGES file.
| double IGESData_GlobalSection::Scale | ( | ) | const |
Returns the scale used in the IGES file.
| occ::handle< TCollection_HAsciiString > IGESData_GlobalSection::SendName | ( | ) | const |
Returns the name of the sending system.
| char IGESData_GlobalSection::Separator | ( | ) | const |
Returns the parameter delimiter character.
| void IGESData_GlobalSection::SetApplicationProtocol | ( | const occ::handle< TCollection_HAsciiString > & | val | ) |
| void IGESData_GlobalSection::SetAuthorName | ( | const occ::handle< TCollection_HAsciiString > & | val | ) |
| void IGESData_GlobalSection::SetCompanyName | ( | const occ::handle< TCollection_HAsciiString > & | val | ) |
| void IGESData_GlobalSection::SetDate | ( | const occ::handle< TCollection_HAsciiString > & | val | ) |
| void IGESData_GlobalSection::SetFileName | ( | const occ::handle< TCollection_HAsciiString > & | val | ) |
| void IGESData_GlobalSection::SetInterfaceVersion | ( | const occ::handle< TCollection_HAsciiString > & | val | ) |
| void IGESData_GlobalSection::SetLastChangeDate | ( | ) |
| void IGESData_GlobalSection::SetLastChangeDate | ( | const occ::handle< TCollection_HAsciiString > & | val | ) |
| void IGESData_GlobalSection::SetReceiveName | ( | const occ::handle< TCollection_HAsciiString > & | val | ) |
| void IGESData_GlobalSection::SetSendName | ( | const occ::handle< TCollection_HAsciiString > & | val | ) |
| void IGESData_GlobalSection::SetSystemId | ( | const occ::handle< TCollection_HAsciiString > & | val | ) |
| void IGESData_GlobalSection::SetUnitName | ( | const occ::handle< TCollection_HAsciiString > & | val | ) |
| occ::handle< TCollection_HAsciiString > IGESData_GlobalSection::SystemId | ( | ) | const |
Returns the Native System ID of the system that created the IGES file.
| occ::handle< TCollection_HAsciiString > IGESData_GlobalSection::TranslatedFromHollerith | ( | const occ::handle< TCollection_HAsciiString > & | astr | ) | const |
Returns a string withpout its Hollerith marks (nnnH ahead). Remark : all strings stored in GlobalSection are expurged from Hollerith information (without nnnH) If <astr> is not Hollerith form, it is simply copied.
| int IGESData_GlobalSection::UnitFlag | ( | ) | const |
Returns the unit flag that was used to write the IGES file.
| occ::handle< TCollection_HAsciiString > IGESData_GlobalSection::UnitName | ( | ) | const |
Returns the name of the unit the IGES file was written in.
| double IGESData_GlobalSection::UnitValue | ( | ) | const |
Returns the unit value (in meters) that the IGES file was written in.