MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
igespd510.h
1 /********************************************************************/
2 /* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3 /* All rights reserved. */
4 /********************************************************************/
5 #if !defined( __MGIGESPD510_H__)
6 #define __MGIGESPD510_H__
7 
8 #include <vector>
9 #include "mg/Position.h"
10 #include "mgiges/IgesPD.h"
11 class MGIgesIfstream;
12 class MGIgesOfstream;
13 class MGFace;
14 
16 class MGIgesPD510: public MGIgesPD{
17 public:
19 
22 
25 
28  MGSurface* convert_to_surface(const MGIgesIfstream& igesIstream)const;
29 
31  void push_back(int loop){m_loops.push_back(loop);};
32 
34  void read_in(
35  char pDelimeter,
36  std::istringstream& pdstream
37  );
38 
46  const MGIgesGSec& gsec,
47  MGPvector<std::string>& plines
48  )const;
49 
50 //Member data. These are set as public.
51 
54  std::vector<int> m_loops;
56 };
59 
60 #endif // __MGIGESPD510_H__
int m_surface_DE
pointer to the DE of the underlying surface.
Definition: igespd510.h:52
bool m_outer_loop_identified
When true,.
Definition: igespd510.h:53
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
const MGIgesDirectoryEntry * DEpointer() const
Definition: igesPD.h:39
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition: IgesDirectoryEntry.h:20
MGFace is a trimmed surface.
Definition: Face.h:51
MGIgesPD510 is the class for Iges parameter data type 510(FACE).
Definition: igespd510.h:16
MGIgesIfstream read in *.iges; *.igs file, transforming IGES objects to MGCL objects.
Definition: IgesIfstream.h:43
MGIgesPD is the parent class of all the Parameter data section type.
Definition: igesPD.h:17
MGSurface is an abstract class of 3D surface.
Definition: Surface.h:54
void read_in(char pDelimeter, std::istringstream &pdstream)
Read in parameter data from string stream data.
std::vector< int > m_loops
Definition: igespd510.h:55
MGSurface * convert_to_surface(const MGIgesIfstream &igesIstream) const
MGIgesGSec describes a Global Section of a IGES file.
Definition: IgesGSec.h:18
MGOgesIfstream write out to *.iges file, transforming MGCL objects to IGES objects.
Definition: IgesOfstream.h:26
MGIgesPD510(MGIgesDirectoryEntry *DEpointer=0)
Constructors.
~MGIgesPD510()
Destructor;.
Definition: igespd510.h:24
Defines Vector of newed object pointers.
Definition: Pvector.h:27
void push_back(int loop)
append an edge.
Definition: igespd510.h:31