FineKernelToolKit 4.2.13
|
位相状態参照用クラス(Level3) [詳解]
#include <FK/Reference.h>
公開メンバ関数 | |
std::vector< fk_Vertex * > | getAllNeighborVOnV (fk_Vertex *V) const |
全隣接頂点参照関数 | |
std::vector< fk_Edge * > | getEOnVV (fk_Vertex *V1, fk_Vertex *V2) const |
頂点間稜線参照関数 | |
fk_Loop * | getOneLOnV (fk_Vertex *V) const |
頂点接続ループ参照関数 | |
fk_Loop * | getNeighborLOnLE (fk_Loop *L, fk_Edge *E) const |
稜線条件付き隣接ループ参照関数 | |
std::vector< fk_Loop * > | getAllNeighborLOnL (fk_Loop *L) const |
全隣接ループ参照関数 | |
![]() | |
fk_Vertex * | getOneNeighborVOnV (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_Loop * | getOneNeighborLOnL (fk_Loop *L) const |
隣接ループ参照関数 | |
fk_Loop * | getNeighborLOnLH (fk_Loop *L, fk_Half *H) const |
半稜線条件付き隣接ループ参照関数 | |
int | getVNumOnL (fk_Loop *L) const |
ループ上頂点数参照関数 | |
![]() | |
fk_Half * | getOneHOnV (fk_Vertex *V) const |
頂点接続半稜線参照関数 | |
fk_Edge * | getOneEOnV (fk_Vertex *V) const |
頂点接続稜線参照関数 | |
fk_Vertex * | getVOnH (fk_Half *H) const |
半稜線接続頂点参照関数 | |
fk_Half * | getMateHOnH (fk_Half *H) const |
対半稜線参照関数 | |
fk_Edge * | getParentEOnH (fk_Half *H) const |
親稜線参照関数 | |
fk_Loop * | getParentLOnH (fk_Half *H) const |
親ループ参照関数 | |
fk_Vertex * | getRightVOnE (fk_Edge *E) const |
右側頂点参照関数 | |
fk_Vertex * | getLeftVOnE (fk_Edge *E) const |
左側頂点参照関数 | |
fk_Half * | getRightHOnE (fk_Edge *E) const |
右側半稜線参照関数 | |
fk_Half * | getLeftHOnE (fk_Edge *E) const |
左側半稜線参照関数 | |
fk_Loop * | getRightLOnE (fk_Edge *E) const |
右側ループ参照関数 | |
fk_Loop * | getLeftLOnE (fk_Edge *E) const |
左側ループ参照関数 | |
fk_EdgeStatus | getEdgeStatus (fk_Edge *E) const |
稜線位相状態参照関数 | |
fk_Vertex * | getOneVOnL (fk_Loop *L) const |
ループ所属頂点参照関数 | |
fk_Half * | getOneHOnL (fk_Loop *L) const |
ループ所属半稜線参照関数 | |
fk_Edge * | getOneEOnL (fk_Loop *L) const |
ループ所属稜線参照関数 | |
![]() | |
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_Vertex * | getVData (int ID) const |
頂点位相要素参照関数 | |
fk_Half * | getHData (int ID) const |
半稜線位相要素参照関数 | |
fk_Edge * | getEData (int ID) const |
稜線位相要素参照関数 | |
fk_Loop * | getLData (int ID) const |
ループ位相要素参照関数 | |
fk_Vertex * | getNextV (fk_Vertex *vertex) const |
頂点位相要素逐次参照関数 | |
fk_Half * | getNextH (fk_Half *half) const |
半稜線位相要素逐次参照関数 | |
fk_Edge * | getNextE (fk_Edge *edge) const |
稜線位相要素逐次参照関数 | |
fk_Loop * | getNextL (fk_Loop *loop) const |
ループ位相要素逐次参照関数 | |
fk_Vertex * | getLastV (void) const |
頂点位相最終要素参照関数 | |
fk_Half * | getLastH (void) const |
半稜線位相最終要素参照関数 | |
fk_Edge * | getLastE (void) const |
稜線位相最終要素参照関数 | |
fk_Loop * | getLastL (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_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_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_BaseObject (fk_Type type=fk_Type::BASEOBJECT) | |
コンストラクタ | |
fk_Type | getObjectType (void) const |
タイプ取得関数 | |
位相状態参照用クラス(Level3)
このクラスでは、 fk_Solid クラスのインスタンスにおいて、 様々な位相状態を参照する機能を提供します。 fk_Solid の位相についての詳細は、 ユーザーズマニュアルの「形状に対する高度な操作」という章を参照して下さい。
位相状態を参照するためのクラスとして、 本クラスの他に fk_ReferenceL1 や fk_ReferenceL2 といったクラスが存在します。 これらのクラスは、内部実装として上位・下位を区別しているものであり、 機能について区別する必要はありません。
全隣接頂点参照関数
頂点 V に隣接している全ての頂点を、 vector配列として返します。
[in] | V | 頂点位相 |
頂点間稜線参照関数
頂点 V1 と V2 の両方に接続している全ての稜線を、 vector配列で返します。
[in] | V1 | 頂点位相1 |
[in] | V2 | 頂点位相2 |
頂点接続ループ参照関数
頂点 V に接続しているループのうちの1つを返します。 V に接続するループが存在しない場合は、nullptr を返します。
[in] | V | 頂点位相 |
稜線条件付き隣接ループ参照関数
ループ L と隣接しているループのうち、 稜線 E を共有しているループを返します。 この共有関係が成り立たない状態の場合 (E が L 上にない、E の反対側にループが存在しないなど) は、nullptr を返します。
[in] | L | ループ位相 |
[in] | E | 稜線位相 |