GaitGeneration by Graph Search
読み取り中…
検索中…
一致する文字列を見つけられません
静的公開メンバ関数 | 全メンバ一覧
designlab::HexapodRendererBuilder クラスfinal

HexapodRendererクラスのインスタンスを作成するクラス. [詳解]

#include <hexapod_renderer_builder.h>

静的公開メンバ関数

static std::tuple< std::shared_ptr< IDxlib3dRenderer >, std::shared_ptr< IDxlibNodeSetter > > Build (const std::shared_ptr< const IHexapodCoordinateConverter > &converter_ptr, const std::shared_ptr< const IHexapodJointCalculator > &calculator_ptr, DisplayQuality display_quality)
 HexapodRendererクラスのインスタンスを作成する. static関数なので,HexapodRendererBuilder::Build()と呼び出す.
 

詳解

HexapodRendererクラスのインスタンスを作成するクラス.

hexapod_renderer_builder.h26 行目に定義があります。

関数詳解

◆ Build()

std::tuple< std::shared_ptr< IDxlib3dRenderer >, std::shared_ptr< IDxlibNodeSetter > > designlab::HexapodRendererBuilder::Build ( const std::shared_ptr< const IHexapodCoordinateConverter > &  converter_ptr,
const std::shared_ptr< const IHexapodJointCalculator > &  calculator_ptr,
DisplayQuality  display_quality 
)
static

HexapodRendererクラスのインスタンスを作成する. static関数なので,HexapodRendererBuilder::Build()と呼び出す.

引数
[in]converter_ptr座標変換クラスのインスタンス.
[in]calculator_ptr関節計算クラスのインスタンス.
戻り値
HexapodRendererクラスのインスタンス. あまりよくない気がするが,継承している2つのインターフェースで返すために,std::tupleで返す.
todo:
IHexapodの type を見て、適切な renderer を返す.

hexapod_renderer_builder.cpp18 行目に定義があります。

被呼び出し関係図:

このクラス詳解は次のファイルから抽出されました: