MGCL V10  V10
MGCL V10
 全て クラス 名前空間 関数 変数 型定義 列挙型 列挙値 フレンド グループ ページ
igespd314.h
1 /********************************************************************/
2 /* Copyright (c) 2015 DG Technologies Inc. and Yuzi Mizuno */
3 /* All rights reserved. */
4 /********************************************************************/
5 #if !defined( __MGIGESPD314_H__)
6 #define __MGIGESPD314_H__
7 
8 #include <vector>
9 #include "mgiges/IgesPD.h"
10 
12 class MGIgesPD314: public MGIgesPD{
13 public:
14  // Constructors.
15 
18 
20  MGIgesPD314(const MGColor& color);
21 
24 
26  void read_in(
27  char pDelimeter,
28  std::istringstream& pdstream
29  );
30 
38  const MGIgesGSec& gsec,
39  MGPvector<std::string>& plines
40  )const;
41 
42 public:
43 //Member data.
44 
45  float m_rgb[3];
46  std::string m_color_name;
47 };
48 
49 #endif // __MGIGESPD314_H__
~MGIgesPD314()
Destructor;.
Definition: igespd314.h:23
const MGIgesDirectoryEntry * DEpointer() const
Definition: igesPD.h:39
MGIgesPD314(MGIgesDirectoryEntry *DEpointer=0)
Constructs an object of class MGIgesPD314.
MGIgesDirectoryEntry describes a directory entry section of an IGES file.
Definition: IgesDirectoryEntry.h:20
void write_out_into_string(const MGIgesGSec &gsec, MGPvector< std::string > &plines) const
MGColor defines the OpenGL color (R,G,B,A).
Definition: Color.h:26
MGIgesPD is the parent class of all the Parameter data section type.
Definition: igesPD.h:17
float m_rgb[3]
RGB percetage data. 0<= m_rgb[.] <=100.
Definition: igespd314.h:45
MGIgesPD314 is the class for Iges parameter data type 314(Color definition entity).
Definition: igespd314.h:12
void read_in(char pDelimeter, std::istringstream &pdstream)
Read in parameter data from string stream data.
MGIgesGSec describes a Global Section of a IGES file.
Definition: IgesGSec.h:18
std::string m_color_name
color name.
Definition: igespd314.h:46
Defines Vector of newed object pointers.
Definition: Pvector.h:27