FineKernelToolKit 4.2.13
|
ソリッドモデルの頂点位相を管理するクラス [詳解]
#include <FK/Vertex.h>
公開メンバ関数 | |
fk_Vertex (int=FK_UNDEFINED) | |
コンストラクタ | |
virtual | ~fk_Vertex () |
デストラクタ | |
fk_Vector | getPosition (void) const |
位置ベクトル取得関数 | |
fk_Half * | getOneHalf (void) const |
接続半稜線取得関数 | |
fk_Vector | getNormal (void) |
法線ベクトル取得関数 | |
double | getDrawSize (void) const |
描画サイズ取得関数 | |
void | setDrawSize (double size) |
描画サイズ設定関数 | |
![]() | |
fk_Topology (void) | |
コンストラクタ | |
virtual | ~fk_Topology () |
デストラクタ | |
int | getID (void) const |
ID取得関数 | |
fk_TopologyType | getType (void) const |
位相タイプ取得関数 | |
![]() | |
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 |
タイプ取得関数 | |
ソリッドモデルの頂点位相を管理するクラス
このクラスは、 fk_Solid によるソリッドモデルにおいて、 頂点位相に関する制御機能を提供します。 FK におけるソリッドモデルの構造については、 ユーザーズマニュアルの「形状に対する高度な操作」の章を参照して下さい。
派生クラスのうち、ID 管理については fk_Topology, 属性設定については fk_Attribute を参照して下さい。
FK::fk_Vertex::fk_Vertex | ( | int | = FK_UNDEFINED | ) |
コンストラクタ
|
virtual |
デストラクタ
fk_Vector FK::fk_Vertex::getPosition | ( | void | ) | const |
fk_Half * FK::fk_Vertex::getOneHalf | ( | void | ) | const |
接続半稜線取得関数
この頂点を始点とする半稜線のうちの1つを取得します。 条件を満たす全ての半稜線を得たい場合は、 fk_ReferenceL2::getAllHOnV() 関数を用いて下さい。
fk_Vector FK::fk_Vertex::getNormal | ( | void | ) |
法線ベクトル取得関数
頂点が2次元多様体上にある条件下のもと、適切な法線ベクトルを取得します。
double FK::fk_Vertex::getDrawSize | ( | void | ) | const |
描画サイズ取得関数
頂点が描画される際のサイズを返します。
void FK::fk_Vertex::setDrawSize | ( | double | size | ) |
描画サイズ設定関数
頂点を描画する際のサイズを設定します。 ここでの単位は「ピクセル」となります。 カメラからの距離に関係なく、同一の大きさで描画されます。 また、設定したサイズで実際に描画されるかどうかは グラフィックスハードウェアの機能に依存します。
[in] | size | 描画サイズ |