5 #if !defined( __IGESFSTREAM_H__)
6 #define __IGESFSTREAM_H__
9 #include "mg/Pvector.h"
10 #include "mgIges/Iges.h"
11 #include "mgIges/IgesGSec.h"
12 #include "mgIges/IgesDirectoryEntry.h"
13 #include "mgIges/IgesParamLine.h"
33 virtual void initialize(
const TCHAR* filename=0);
40 return m_DirectoryEntries[DEid];
43 return m_DirectoryEntries[DEid];
49 void clear(){clearStartSection(); clearDirectoryEntries(); clearDirectoryEntries();};
50 void set_GSec_max_coordinate_value(
const MGBox* bx=0);
51 void set_initial_StartSection();
63 int get_line_number_of_DE()
const{
return ((
int)(m_DirectoryEntries.size()-1)*2);};
69 std::string m_StartSection;
78 #endif // __IGESFSTREAM_H__
int get_line_number_of_GS() const
get the output line number of Global Sections.
Definition: Igesfstream.h:60
const MGIgesGSec & GSection() const
Definition: Igesfstream.h:53
void clear()
Definition: Igesfstream.h:49
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition: IgesDirectoryEntry.h:20
void clearGSection()
Definition: Igesfstream.h:47
virtual ~MGIgesFstream()
Constructors.
Definition: Igesfstream.h:30
Defines a Box of any space dimendion.
Definition: Box.h:34
MGIgesGSec m_GSection
Global section data.
Definition: Igesfstream.h:70
int m_nlineGSec
Number of the lines of Global section.
Definition: Igesfstream.h:71
void clearStartSection()
Definition: Igesfstream.h:46
MGIgesFstream is a super class for MGIfstream and MGOfstream.
Definition: Igesfstream.h:24
MGPvector< MGIgesDirectoryEntry > m_DirectoryEntries
Definition: Igesfstream.h:72
MGIgesDirectoryEntry * directoryEntry(int DEid)
Return directory entry point of DEid.
Definition: Igesfstream.h:39
MGIgesGSec describes a Global Section of a IGES file.
Definition: IgesGSec.h:18
MGIgesGSec & GSection()
Definition: Igesfstream.h:54
void clearDirectoryEntries()
Definition: Igesfstream.h:48
const MGIgesDirectoryEntry * directoryEntry(int DEid) const
Definition: Igesfstream.h:42
int get_line_number_of_SS() const
get the output line number of Start Section.
Definition: Igesfstream.h:57