gwnavruntime/visualsystem/displaylistvisualgeometrybuilder.h Source File
Go to the documentation of this file.
16 class DisplayListManager;
17 class IVisualGeometry;
20 class DisplayListVisualGeometryBuilder :
public IVisualGeometryBuilder
24 DisplayListVisualGeometryBuilder(DisplayListManager* displayListManager, IVisualGeometry* visualGeometry)
25 : IVisualGeometryBuilder(visualGeometry), m_displayListManager(displayListManager)
27 m_defaultRadius = 0.1f;
28 m_defaultHeight = 1.0f;
31 virtual ~DisplayListVisualGeometryBuilder() {}
33 virtual void DoBuild();
36 void PushTextBlob(DisplayTextBlob* blob);
38 void PushShapeBlob(DisplayShapeBlob* blob);
40 void Push(
const Vec3f& A,
const Vec3f& B,
KyFloat32 height,
KyFloat32 radius,
const ShapeColor& shapeColor, DisplayStyle::Enum style,
KyFloat32 precision, DisplayFaces::Enum faces);
42 void PushSegmentVerticalQuadShape(
const Display::SegmentVerticalQuad& segmentVerticalQuad,
const ShapeColor& shapeColor)
44 PushSegmentVerticalQuad(segmentVerticalQuad.P, segmentVerticalQuad.Q, segmentVerticalQuad.below, segmentVerticalQuad.above, shapeColor);
47 void PushOrientedBox3dShape(
const Display::OrientedBox3d& orientedBox3d,
const ShapeColor& shapeColor)
49 PushOrientedBox3d(orientedBox3d.transform, orientedBox3d.box, shapeColor);
52 void PushDiskSectorShape(
const Display::DiskSector& diskSector,
KyFloat32 precision,
const ShapeColor& shapeColor)
54 PushDiskSectorPrecise(diskSector.P, diskSector.radius, diskSector.startPos, diskSector.endPos, (
RotationDirection)diskSector.rotDir, precision, shapeColor);
58 DisplayListManager* m_displayListManager;
RotationDirection
Defines the 4 possible cases of possibly constrained rotation in the horizontal plane for a given ele...
Definition: rotation.h:15
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
float KyFloat32
float
Definition: types.h:32