FineKernelToolKit 4.2.13
読み取り中…
検索中…
一致する文字列を見つけられません
全メンバ一覧
FK::fk_ReferenceL2 クラス

位相状態参照用クラス(Level2) [詳解]

#include <FK/Reference.h>

+ FK::fk_ReferenceL2 の継承関係図
+ FK::fk_ReferenceL2 連携図

公開メンバ関数

頂点に関連する関数
fk_VertexgetOneNeighborVOnV (fk_Vertex *V) const
 隣接頂点参照関数
 
std::vector< fk_Half * > getAllHOnV (fk_Vertex *V) const
 頂点接続全半稜線参照関数
 
std::vector< fk_Edge * > getAllEOnV (fk_Vertex *V) const
 頂点接続全稜線参照関数
 
std::vector< fk_Loop * > getAllLOnV (fk_Vertex *V) const
 頂点接続全ループ参照関数
 
int getENumOnV (fk_Vertex *V) const
 頂点接続稜線数参照関数
 
ループに関連する関数
std::vector< fk_Vertex * > getAllVOnL (fk_Loop *L) const
 ループ所属全頂点参照関数
 
std::vector< fk_Half * > getAllHOnL (fk_Loop *L) const
 ループ所属全半稜線参照関数
 
std::vector< fk_Edge * > getAllEOnL (fk_Loop *L) const
 ループ所属全稜線参照関数
 
fk_LoopgetOneNeighborLOnL (fk_Loop *L) const
 隣接ループ参照関数
 
fk_LoopgetNeighborLOnLH (fk_Loop *L, fk_Half *H) const
 半稜線条件付き隣接ループ参照関数
 
int getVNumOnL (fk_Loop *L) const
 ループ上頂点数参照関数
 
- 基底クラス FK::fk_ReferenceL1 に属する継承公開メンバ関数
fk_HalfgetOneHOnV (fk_Vertex *V) const
 頂点接続半稜線参照関数
 
fk_EdgegetOneEOnV (fk_Vertex *V) const
 頂点接続稜線参照関数
 
fk_VertexgetVOnH (fk_Half *H) const
 半稜線接続頂点参照関数
 
fk_HalfgetMateHOnH (fk_Half *H) const
 対半稜線参照関数
 
fk_EdgegetParentEOnH (fk_Half *H) const
 親稜線参照関数
 
fk_LoopgetParentLOnH (fk_Half *H) const
 親ループ参照関数
 
fk_VertexgetRightVOnE (fk_Edge *E) const
 右側頂点参照関数
 
fk_VertexgetLeftVOnE (fk_Edge *E) const
 左側頂点参照関数
 
fk_HalfgetRightHOnE (fk_Edge *E) const
 右側半稜線参照関数
 
fk_HalfgetLeftHOnE (fk_Edge *E) const
 左側半稜線参照関数
 
fk_LoopgetRightLOnE (fk_Edge *E) const
 右側ループ参照関数
 
fk_LoopgetLeftLOnE (fk_Edge *E) const
 左側ループ参照関数
 
fk_EdgeStatus getEdgeStatus (fk_Edge *E) const
 稜線位相状態参照関数
 
fk_VertexgetOneVOnL (fk_Loop *L) const
 ループ所属頂点参照関数
 
fk_HalfgetOneHOnL (fk_Loop *L) const
 ループ所属半稜線参照関数
 
fk_EdgegetOneEOnL (fk_Loop *L) const
 ループ所属稜線参照関数
 
- 基底クラス FK::fk_DataAccess に属する継承公開メンバ関数
 fk_DataAccess (void)
 コンストラクタ
 
virtual ~fk_DataAccess ()
 デストラクタ
 
bool checkDB (void) const
 データベース設定チェック関数
 
bool checkTopology (void)
 位相状況チェック関数
 
void printTopology (void)
 位相状況出力関数
 
bool existVertex (fk_Vertex *vertex) const
 頂点位相要素存在判定関数1
 
bool existVertex (int ID) const
 頂点位相要素存在判定関数2
 
bool existHalf (fk_Half *half) const
 半稜線位相要素存在判定関数1
 
bool existHalf (int ID) const
 半稜線位相要素存在判定関数2
 
bool existEdge (fk_Edge *edge) const
 稜線位相要素存在判定関数1
 
bool existEdge (int ID) const
 稜線位相要素存在判定関数2
 
bool existLoop (fk_Loop *loop) const
 ループ位相要素存在判定関数1
 
bool existLoop (int ID) const
 ループ位相要素存在判定関数2
 
fk_VertexgetVData (int ID) const
 頂点位相要素参照関数
 
fk_HalfgetHData (int ID) const
 半稜線位相要素参照関数
 
fk_EdgegetEData (int ID) const
 稜線位相要素参照関数
 
fk_LoopgetLData (int ID) const
 ループ位相要素参照関数
 
fk_VertexgetNextV (fk_Vertex *vertex) const
 頂点位相要素逐次参照関数
 
fk_HalfgetNextH (fk_Half *half) const
 半稜線位相要素逐次参照関数
 
fk_EdgegetNextE (fk_Edge *edge) const
 稜線位相要素逐次参照関数
 
fk_LoopgetNextL (fk_Loop *loop) const
 ループ位相要素逐次参照関数
 
fk_VertexgetLastV (void) const
 頂点位相最終要素参照関数
 
fk_HalfgetLastH (void) const
 半稜線位相最終要素参照関数
 
fk_EdgegetLastE (void) const
 稜線位相最終要素参照関数
 
fk_LoopgetLastL (void) const
 ループ位相最終要素参照関数
 
int getVNum (void) const
 頂点数参照関数
 
int getHNum (void) const
 半稜線数参照関数
 
int getENum (void) const
 稜線数参照関数
 
int getLNum (void) const
 ループ数参照関数
 
void getVertexList (std::list< fk_Vertex * > *list)
 頂点コンテナ取得関数
 
void getHalfList (std::list< fk_Half * > *list)
 半稜線コンテナ取得関数
 
void getEdgeList (std::list< fk_Edge * > *list)
 稜線コンテナ取得関数
 
void getLoopList (std::list< fk_Loop * > *list)
 ループコンテナ取得関数
 
- 基底クラス FK::fk_Shape に属する継承公開メンバ関数
 fk_Shape (fk_Type=fk_Type::SHAPE)
 コンストラクタ
 
virtual ~fk_Shape ()
 デストラクタ
 
fk_RealShapeType getRealShapeType (void)
 形状データ構造取得関数
 
void setShaderAttribute (std::string name, int dim, std::vector< int > *array, bool self=false)
 シェーダー内 attribute 変数設定関数1
 
void setShaderAttribute (std::string name, int dim, std::vector< float > *array, bool self=false)
 シェーダー内 attribute 変数設定関数2
 
void setShaderAttribute (std::string name, int dim, std::vector< fk_Vector > *array)
 シェーダー内 attribute 変数設定関数3
 
void setShaderAttribute (std::string name, int dim, std::vector< fk_TexCoord > *array)
 シェーダー内 attribute 変数設定関数4
 
void setShaderAttribute (std::string name, int dim, std::vector< fk_HVector > *array)
 シェーダー内 attribute 変数設定関数5
 
void modifyAttribute (std::string name)
 attribute 変数更新関数
 
- 基底クラス FK::fk_Attribute に属する継承公開メンバ関数
 fk_Attribute (void)
 コンストラクタ
 
virtual ~fk_Attribute ()
 デストラクタ
 
bool setAttrII (const int key, const int value)
 キーが int 型、値が int 型である属性設定関数
 
bool setAttrID (const int key, const double value)
 キーが int 型、値が double 型である属性設定関数
 
bool setAttrIS (const int key, const std::string value)
 キーが int 型、値が std::string 型である属性設定関数
 
bool setAttrSI (const std::string key, const int value)
 キーが std::string 型、値が int 型である属性設定関数
 
bool setAttrSD (const std::string key, const double value)
 キーが std::string 型、値が double 型である属性設定関数
 
bool setAttrSS (const std::string key, const std::string value)
 キーが std::string 型、値が std::string 型である属性設定関数
 
int getAttrII (const int key) const
 キーが int 型、値が int 型である属性参照関数
 
double getAttrID (const int key) const
 キーが int 型、値が double 型である属性参照関数
 
std::string getAttrIS (const int key) const
 キーが int 型、値が std::string 型である属性参照関数
 
int getAttrSI (const std::string key) const
 キーが std::string 型、値が int 型である属性参照関数
 
double getAttrSD (const std::string key) const
 キーが std::string 型、値が double 型である属性参照関数
 
std::string getAttrSS (const std::string key) const
 キーが std::string 型、値が std::string 型である属性参照関数
 
bool existAttrII (const int key) const
 キーが int 型、値が int 型である属性存在参照関数
 
bool existAttrID (const int key) const
 キーが int 型、値が double 型である属性存在参照関数
 
bool existAttrIS (const int key) const
 キーが int 型、値が std::string 型である属性存在参照関数
 
bool existAttrSI (const std::string key) const
 キーが std::string 型、値が int 型である属性存在参照関数
 
bool existAttrSD (const std::string key) const
 キーが std::string 型、値が double 型である属性存在参照関数
 
bool existAttrSS (const std::string key) const
 キーが std::string 型、値が std::string 型である属性存在参照関数
 
bool deleteAttrII (const int key)
 キーが int 型、値が int 型である属性消去関数
 
bool deleteAttrID (const int key)
 キーが int 型、値が double 型である属性消去関数
 
bool deleteAttrIS (const int key)
 キーが int 型、値が std::string 型である属性消去関数
 
bool deleteAttrSI (const std::string key)
 キーが std::string 型、値が int 型である属性消去関数
 
bool deleteAttrSD (const std::string key)
 キーが std::string 型、値が double 型である属性消去関数
 
bool deleteAttrSS (const std::string key)
 キーが std::string 型、値が std::string 型である属性消去関数
 
- 基底クラス FK::fk_BaseObject に属する継承公開メンバ関数
 fk_BaseObject (fk_Type type=fk_Type::BASEOBJECT)
 コンストラクタ
 
fk_Type getObjectType (void) const
 タイプ取得関数
 

詳解

位相状態参照用クラス(Level2)

このクラスでは、 fk_Solid クラスのインスタンスにおいて、 様々な位相状態を参照する機能を提供します。 fk_Solid の位相についての詳細は、 ユーザーズマニュアルの「形状に対する高度な操作」という章を参照して下さい。

位相状態を参照するためのクラスとして、 本クラスの他に fk_ReferenceL1fk_ReferenceL3 といったクラスが存在します。 これらのクラスは、内部実装として上位・下位を区別しているものであり、 機能について区別する必要はありません。

参照
fk_ReferenceL1, fk_ReferenceL3, fk_DataAccess, fk_Operation, fk_Modify, fk_Solid

関数詳解

◆ getOneNeighborVOnV()

fk_Vertex * FK::fk_ReferenceL2::getOneNeighborVOnV ( fk_Vertex V) const

隣接頂点参照関数

頂点 V に隣接している頂点のうちの1つを返します。 V が独立頂点であった場合は nullptr を返します。

引数
[in]V頂点位相
戻り値
隣接頂点のうちの1つ。ない場合は nullptr を返します。

◆ getAllHOnV()

std::vector< fk_Half * > FK::fk_ReferenceL2::getAllHOnV ( fk_Vertex V) const

頂点接続全半稜線参照関数

頂点 V を元頂点(開始点)としている全ての半稜線を、 vector配列として返します。

引数
[in]V頂点位相
戻り値
V を元頂点とする半稜線の配列

◆ getAllEOnV()

std::vector< fk_Edge * > FK::fk_ReferenceL2::getAllEOnV ( fk_Vertex V) const

頂点接続全稜線参照関数

頂点 V に接続している全ての稜線を、 vector配列として返します。

引数
[in]V頂点位相
戻り値
V に接続する稜線の配列

◆ getAllLOnV()

std::vector< fk_Loop * > FK::fk_ReferenceL2::getAllLOnV ( fk_Vertex V) const

頂点接続全ループ参照関数

頂点 V に接続している全てのループを、 vector配列として返します。

引数
[in]V頂点位相
戻り値
V に接続するループの配列

◆ getENumOnV()

int FK::fk_ReferenceL2::getENumOnV ( fk_Vertex V) const

頂点接続稜線数参照関数

頂点 V に接続している稜線の本数を返します。

引数
[in]V頂点位相
戻り値
V に接続する稜線本数

◆ getAllVOnL()

std::vector< fk_Vertex * > FK::fk_ReferenceL2::getAllVOnL ( fk_Loop L) const

ループ所属全頂点参照関数

ループ L に所属している全ての頂点を、 vector配列として返します。

引数
[in]Lループ位相
戻り値
L に所属する頂点の配列

◆ getAllHOnL()

std::vector< fk_Half * > FK::fk_ReferenceL2::getAllHOnL ( fk_Loop L) const

ループ所属全半稜線参照関数

ループ L に所属している全ての半稜線を、 vector配列として返します。

引数
[in]Lループ位相
戻り値
L に所属する半稜線の配列

◆ getAllEOnL()

std::vector< fk_Edge * > FK::fk_ReferenceL2::getAllEOnL ( fk_Loop L) const

ループ所属全稜線参照関数

ループ L に所属している全ての稜線を、 vector配列として返します。

引数
[in]Lループ位相
戻り値
L に所属する稜線の配列

◆ getOneNeighborLOnL()

fk_Loop * FK::fk_ReferenceL2::getOneNeighborLOnL ( fk_Loop L) const

隣接ループ参照関数

ループ L と隣接しているループのうちの1つを返します。 隣接するループが存在しないときは nullptr を返します。

引数
[in]Lループ位相
戻り値
隣接ループのうちの1つ。ない場合は nullptr を返します。

◆ getNeighborLOnLH()

fk_Loop * FK::fk_ReferenceL2::getNeighborLOnLH ( fk_Loop L,
fk_Half H 
) const

半稜線条件付き隣接ループ参照関数

ループ L と隣接しているループのうち、 半稜線 H の親稜線を共有しているループを返します。 この共有関係が成り立たないような状態の場合 (H が L 上にない、H の反対側にループが存在しないなど) は、nullptr を返します。

引数
[in]Lループ位相
[in]H半稜線位相
戻り値
H を挟んだ隣接ループ。存在しない場合は nullptr を返します。

◆ getVNumOnL()

int FK::fk_ReferenceL2::getVNumOnL ( fk_Loop L) const

ループ上頂点数参照関数

ループ L に所属している頂点の個数を返します。

引数
[in]Lループ位相
戻り値
L に所属する頂点個数