MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
igespd186.h
1 /********************************************************************/
2 /* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3 /* All rights reserved. */
4 /********************************************************************/
5 #if !defined( __MGIGESPD186_H__)
6 #define __MGIGESPD186_H__
7 
8 #include <vector>
9 #include "mgiges/IgesPD.h"
10 
12 
14 class MGIgesPD186: public MGIgesPD{
15 public:
16  // Constructors.
17 
20  :MGIgesPD(MGIges::MANIFOLD_SOLID_BREP_OBJECT,DEpointer){;};
21 
24  int shellDE,
25  bool orientation=true
26  ):m_shell_DE(shellDE),m_orientation(orientation){;};
28 
31 
33  void read_in(
34  char pDelimeter,
35  std::istringstream& pdstream
36  );
37 
39  int void_shell_DE,
40  bool orientation=true
41  ){
42  m_void_shells.push_back(void_shell_DE);
43  m_orientations.push_back(orientation);
44  };
45 
53  const MGIgesGSec& gsec,
54  MGPvector<std::string>& plines
55  )const;
56 
57 public:
58 //Member data.
62  std::vector<int> m_void_shells;
63  std::vector<bool> m_orientations;
65 };
66 
67 #endif // __MGIGESPD186_H__
int m_shell_DE
Directory entry of the untrimmed(base) surface.
Definition: igespd186.h:59
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
~MGIgesPD186()
Destructor;.
Definition: igespd186.h:30
const MGIgesDirectoryEntry * DEpointer() const
Definition: igesPD.h:39
std::vector< int > m_void_shells
vector of void shells.
Definition: igespd186.h:62
bool m_orientation
=true: the shell orientation agrees to its underlying faces.
Definition: igespd186.h:60
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition: IgesDirectoryEntry.h:20
Definition: Iges.h:22
void append_void_shell(int void_shell_DE, bool orientation=true)
Definition: igespd186.h:38
MGIgesPD is the parent class of all the Parameter data section type.
Definition: igesPD.h:17
MGIgesPD186(int shellDE, bool orientation=true)
Constructs an object of class MGIgesPD186.
Definition: igespd186.h:23
MGIgesGSec describes a Global Section of a IGES file.
Definition: IgesGSec.h:18
MGIgesPD186 is the class for Iges parameter data type 186.
Definition: igespd186.h:14
void read_in(char pDelimeter, std::istringstream &pdstream)
Read in parameter data from string stream data.
MGIgesPD186(MGIgesDirectoryEntry *DEpointer=0)
Constructs an object of class MGIgesPD186.
Definition: igespd186.h:19
Defines Vector of newed object pointers.
Definition: Pvector.h:27
std::vector< bool > m_orientations
m_orientations[i] is the orientaion of the i-th void shell m_void_shells[i].
Definition: igespd186.h:63