#include <PrimitiveDrawRequest.h>
Public Member Functions | |
PrimitiveDrawRequest () | |
コンストラクタ | |
PrimitiveDrawRequest (const PrimitiveDrawRequest ©) | |
コピーコンストラクタ | |
PrimitiveDrawRequest & | operator= (const PrimitiveDrawRequest ©) |
代入コピー | |
virtual | ~PrimitiveDrawRequest () |
デストラクタ | |
virtual void | setVertexCount (int vertexCount) |
頂点数の設定 | |
virtual int | getVertexCount () const |
頂点数の取得 | |
virtual int | getVertexSize () const |
頂点サイズの取得 | |
virtual void | setPosition (int index, const Vector3 &position) |
位置の設定 | |
virtual const Vector3 & | getPosition (int index) const |
位置の取得 | |
virtual const Vector3 * | getPositionArray () const |
位置配列の取得 | |
virtual void | enableColor (bool colorFlag) |
カラーを有効にするかどうか | |
virtual bool | hasColor () const |
カラーを持つか | |
virtual void | setColor (int index, const Color4c &color) |
カラーの設定 | |
virtual const Color4c & | getColor (int index) const |
カラーの取得 | |
virtual const Color4c * | getColorArray () const |
カラー配列の取得 | |
virtual bool | hasVertexIndices () const |
頂点インデックスを持つかどうか | |
virtual void | setVertexIndexCount (int vertexIndexCount) |
頂点インデックス数の設定 | |
virtual int | getVertexIndexCount () const |
頂点インデックス数の取得 | |
virtual void | setVertexIndex (int index, u_short vertexIndex) |
頂点インデックスの設定 | |
virtual u_short | getVertexIndex (int index) const |
頂点インデックスの取得 | |
virtual const u_short * | getVertexIndexArray () |
頂点インデックス配列の取得 | |
Friends | |
class | PrimitiveRenderer |
Definition at line 36 of file PrimitiveDrawRequest.h.
|
コピーコンストラクタ
Definition at line 39 of file PrimitiveDrawRequest.cpp. References data_. |
|
カラーを有効にするかどうか
Definition at line 93 of file PrimitiveDrawRequest.cpp. References Assert, hasColor(), SafeArrayDelete, and SafeRelease. Referenced by Lamp::PrimitiveDrawRequestBuilder::buildArrow(), Lamp::PrimitiveDrawRequestBuilder::buildAxis(), Lamp::PrimitiveDrawRequestBuilder::buildAxisPoint(), Lamp::PrimitiveDrawRequestBuilder::buildBone(), Lamp::PrimitiveDrawRequestBuilder::buildGrid(), Lamp::PrimitiveDrawRequestBuilder::buildPlane(), Lamp::PrimitiveDrawRequestBuilder::buildPoint(), and Lamp::PrimitiveRenderer::requestLine(). |
|
カラーの取得
Definition at line 150 of file PrimitiveDrawRequest.h. References Assert, and hasColor(). |
|
カラー配列の取得
Definition at line 160 of file PrimitiveDrawRequest.h. |
|
位置の取得
Definition at line 107 of file PrimitiveDrawRequest.h. References Assert. |
|
位置配列の取得
Definition at line 116 of file PrimitiveDrawRequest.h. |
|
頂点数の取得
Definition at line 77 of file PrimitiveDrawRequest.h. Referenced by Lamp::PrimitiveRenderer::renderRequest(). |
|
頂点インデックスの取得
Definition at line 202 of file PrimitiveDrawRequest.h. References Assert, getVertexIndexCount(), hasVertexIndices(), and u_short. |
|
頂点インデックス配列の取得
Definition at line 212 of file PrimitiveDrawRequest.h. References u_short. |
|
頂点インデックス数の取得
Definition at line 183 of file PrimitiveDrawRequest.h. Referenced by getVertexIndex(), Lamp::PrimitiveRenderer::renderRequest(), and setVertexIndex(). |
|
頂点サイズの取得
Definition at line 83 of file PrimitiveDrawRequest.h. References hasColor(). Referenced by Lamp::PrimitiveRenderer::renderRequest(). |
|
カラーを持つか
Definition at line 131 of file PrimitiveDrawRequest.h. References NULL. Referenced by enableColor(), getColor(), getVertexSize(), Lamp::PrimitiveRenderer::renderRequest(), setColor(), and setVertexCount(). |
|
頂点インデックスを持つかどうか
Definition at line 169 of file PrimitiveDrawRequest.h. Referenced by getVertexIndex(), Lamp::PrimitiveRenderer::renderRequest(), and setVertexIndex(). |
|
代入コピー
Definition at line 45 of file PrimitiveDrawRequest.cpp. References data_. |
|
カラーの設定
Definition at line 138 of file PrimitiveDrawRequest.h. References Assert, and hasColor(). Referenced by Lamp::PrimitiveDrawRequestBuilder::buildArrow(), Lamp::PrimitiveDrawRequestBuilder::buildAxis(), Lamp::PrimitiveDrawRequestBuilder::buildAxisPoint(), Lamp::PrimitiveDrawRequestBuilder::buildBone(), Lamp::PrimitiveDrawRequestBuilder::buildGrid(), Lamp::PrimitiveDrawRequestBuilder::buildPlane(), Lamp::PrimitiveDrawRequestBuilder::buildPoint(), and Lamp::PrimitiveRenderer::requestLine(). |
|
|
頂点数の設定
Definition at line 74 of file PrimitiveDrawRequest.cpp. References Assert, hasColor(), SafeArrayDelete, and SafeRelease. Referenced by Lamp::PrimitiveDrawRequestBuilder::buildArrow(), Lamp::PrimitiveDrawRequestBuilder::buildAxis(), Lamp::PrimitiveDrawRequestBuilder::buildAxisPoint(), Lamp::PrimitiveDrawRequestBuilder::buildBone(), Lamp::PrimitiveDrawRequestBuilder::buildBox(), Lamp::PrimitiveDrawRequestBuilder::buildCone(), Lamp::PrimitiveDrawRequestBuilder::buildCylinder(), Lamp::PrimitiveDrawRequestBuilder::buildGrid(), Lamp::PrimitiveDrawRequestBuilder::buildPlane(), Lamp::PrimitiveDrawRequestBuilder::buildPoint(), Lamp::PrimitiveDrawRequestBuilder::buildSphere(), and Lamp::PrimitiveRenderer::requestLine(). |
|
頂点インデックスの設定
Definition at line 190 of file PrimitiveDrawRequest.h. References Assert, getVertexIndexCount(), and hasVertexIndices(). Referenced by Lamp::PrimitiveDrawRequestBuilder::buildBox(), Lamp::PrimitiveDrawRequestBuilder::buildCone(), Lamp::PrimitiveDrawRequestBuilder::buildCylinder(), and Lamp::PrimitiveDrawRequestBuilder::buildSphere(). |
|
頂点インデックス数の設定
Definition at line 107 of file PrimitiveDrawRequest.cpp. References SafeArrayDelete, SafeRelease, and u_short. Referenced by Lamp::PrimitiveDrawRequestBuilder::buildBox(), Lamp::PrimitiveDrawRequestBuilder::buildCone(), Lamp::PrimitiveDrawRequestBuilder::buildCylinder(), and Lamp::PrimitiveDrawRequestBuilder::buildSphere(). |