GraphLib/Gdata.h File Reference

グラフィックデータ定義用ヘッダ More...

#include "ClassBox.h"
#include "gheader.h"
#include "Vector.h"
Include dependency graph for Gdata.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MSGraph< T >
class  MSGraphDisp< T >

Namespaces

namespace  jbxl

Defines

#define freeCmnHead   free_CmnHead
#define initCmnHead   init_CmnHead
#define CH2MG_NORMAL   0
#define CH2MG_NOPARM   1
 パラメータ処理(Z軸の歪, rboundの処理)をしない.
#define MG2CH_NORMAL   0
 ノーマルコピー
#define MG2CH_NOPARM   1
 パラメータ処理(Z軸の歪, rboundの処理)をしない.
#define MG2CH_CONTRAST   2
 コントラスト調整を行う
#define MG2CH_OCTET   4
 8bitへ変換
#define RGBA2Int(r, g, b, a)   ARGB2Int((r), (g), (b), (a))
#define ABGR2Int(a, b, g, r)   ARGB2Int((a), (b), (g), (r))
#define BGRA2Int(b, g, r, a)   ARGB2Int((b), (g), (r), (a))
#define RGBA2Word(r, g, b, a)   ARGB2Word((r), (g), (b), (a))
#define ABGR2Word(a, b, g, r)   ARGB2Word((a), (b), (g), (r))
#define BGRA2Word(b, g, r, a)   ARGB2Word((b), (g), (r), (a))

Functions

void free_CmnHead (CmnHead *hd)
void init_CmnHead (CmnHead *hd)
CmnHead getinfo_CmnHead (CmnHead hd)
 ヘッダ情報のみをコピーする
uByteCmnHeadBytePoint (CmnHead hd, int i=0, int j=0, int k=0)
 共通ヘッダCmnHeadから座標を指定して,画像データを取り出す
template<typename T >
MSGraph< T > copyCmnHead2MSGraph (CmnHead hd, unsigned int mode=CH2MG_NORMAL, bool cnt=false)
template<typename T >
CmnHead copyMSGraph2CmnHead (MSGraph< T > &vp, unsigned int mode=MG2CH_NORMAL, bool cnt=false)
template<typename T >
MSGraph< T > scalingMSGraph2D (MSGraph< T > vp, double scale)
unsigned int ARGB2Int (unsigned int a, unsigned int r, unsigned int g, unsigned int b)
uWord ARGB2Word (uWord a, uWord r, uWord g, uWord b)
uWord RGB2Word (uWord r, uWord g, uWord b)

Variables

int ZeroBase = 0
int TempBase = 0

Detailed Description

Author:
Fumi.Iseki (C)
カラー関数
  • inline D3DCOLOR Dx9Word2RGBA()
  • inline D3DCOLOR Dx9Word2ARGB()
  • inline D3DCOLOR Dx9Word2RGB ()
See also:
Dx9.h

Definition in file Gdata.h.


Define Documentation

#define ABGR2Int ( a,
b,
g,
 )     ARGB2Int((a), (b), (g), (r))

Definition at line 1037 of file Gdata.h.

Referenced by jbxl::_linecopy_MAT2MSG_C3().

#define ABGR2Word ( a,
b,
g,
 )     ARGB2Word((a), (b), (g), (r))

Definition at line 1062 of file Gdata.h.

#define BGRA2Int ( b,
g,
r,
 )     ARGB2Int((b), (g), (r), (a))

Definition at line 1038 of file Gdata.h.

#define BGRA2Word ( b,
g,
r,
 )     ARGB2Word((b), (g), (r), (a))

Definition at line 1063 of file Gdata.h.

#define CH2MG_NOPARM   1

Definition at line 641 of file Gdata.h.

Referenced by jbxl::copyCmnHead2MSGraph(), and jbxl::readGraphicSlices().

#define CH2MG_NORMAL   0

Definition at line 640 of file Gdata.h.

Referenced by jbxl::readGraphicFile(), and jbxl::readRasFile().

#define freeCmnHead   free_CmnHead

Definition at line 33 of file Gdata.h.

#define initCmnHead   init_CmnHead

Definition at line 34 of file Gdata.h.

#define MG2CH_CONTRAST   2

Definition at line 645 of file Gdata.h.

Referenced by jbxl::copyMSGraph2CmnHead().

#define MG2CH_NOPARM   1

Definition at line 644 of file Gdata.h.

Referenced by jbxl::copyMSGraph2CmnHead().

#define MG2CH_NORMAL   0

Definition at line 643 of file Gdata.h.

Referenced by jbxl::copyMSGraph2CmnHead().

#define MG2CH_OCTET   4

Definition at line 646 of file Gdata.h.

Referenced by jbxl::copyMSGraph2CmnHead().

#define RGBA2Int ( r,
g,
b,
 )     ARGB2Int((r), (g), (b), (a))

Definition at line 1036 of file Gdata.h.

#define RGBA2Word ( r,
g,
b,
 )     ARGB2Word((r), (g), (b), (a))

Definition at line 1061 of file Gdata.h.


Generated on 15 Nov 2023 for JunkBox_Lib++ (for Windows) by  doxygen 1.6.1