MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
igesPD108.h
1 /********************************************************************/
2 /* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3 /* All rights reserved. */
4 /********************************************************************/
5 #if !defined( __MGIGESPD108_H__)
6 #define __MGIGESPD108_H__
7 
8 #include <vector>
9 #include "mg/Plane.h"
10 #include "mgiges/IgesPD.h"
11 
13 class MGIgesPD108: public MGIgesPD{
14 public:
15  // Constructors.
16 
19 
21  MGIgesPD108(const MGPlane& plane);
22 
25 
27  void read_in(
28  char pDelimeter,
29  std::istringstream& pdstream
30  );
31 
39  const MGIgesGSec& gsec,
40  MGPvector<std::string>& plines
41  )const;
42 
43 public:
45 
46  double m_coef[4];
48  double m_ref_point[3];
49  double m_symbol_size;
50 };
51 
52 #endif // __MGIGESPD108_H__
MGPlane is infinite plane in 3D space.
Definition: Plane.h:38
MGIgesPD108 is the class for Iges parameter data type 108(Plane).
Definition: igesPD108.h:13
const MGIgesDirectoryEntry * DEpointer() const
Definition: igesPD.h:39
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition: IgesDirectoryEntry.h:20
~MGIgesPD108()
Destructor;.
Definition: igesPD108.h:24
MGIgesPD is the parent class of all the Parameter data section type.
Definition: igesPD.h:17
double m_ref_point[3]
Reference point on the plane(at which symbol be displayed).
Definition: igesPD108.h:48
double m_symbol_size
Symbol size to display.
Definition: igesPD108.h:49
double m_coef[4]
Member data. These are set as public.
Definition: igesPD108.h:46
int m_boundCurve_DE
directory entry of bounding curve, maybe null.
Definition: igesPD108.h:47
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
MGIgesGSec describes a Global Section of a IGES file.
Definition: IgesGSec.h:18
void read_in(char pDelimeter, std::istringstream &pdstream)
Read in parameter data from string stream data.
Defines Vector of newed object pointers.
Definition: Pvector.h:27
MGIgesPD108(MGIgesDirectoryEntry *DEpointer=0)
Constructs an object of class MGIgesPD108.