![]() |
VR-Forces 5.0.3 Developer's Guide
|
A class responsible for rendering lines.

Classes | |
| class | DtLineSegmentAltitudeBasedConfiguration |
| struct | LineSegmentPrimitive |
| struct | LineSegmentSets |
Public Types | |
| typedef std::vector < DtLineSegmentAltitudeBasedConfiguration > | DtLineSegmentAltitudeBasedConfigurationCollection |
Public Types inherited from makVrv::DtPrimitiveRenderer | |
| enum | RenderModes { RenderMode_VertexBufferObject = 1, RenderMode_SortedVertexBufferObject, RenderModes_End } |
| enum | OrderModes { OrderMode_None = 0, OrderMode_Queue, OrderMode_Group, OrderModes_end } |
Public Member Functions | |
| virtual | ~DtLineRenderer () |
| DtLineRenderer ()=delete | |
| DtLineRenderer (const DtLineRenderer &other)=delete | |
| DtLineRenderer & | operator= (const DtLineRenderer &other)=delete |
| virtual int | numberOfPrimitives () const |
| virtual void | render (bool geocentric, float geocentricAlpha, const double cameraLocation[3], double cameraAltitude, const double positionMatrix[16], const double projectionMatrix[16], bool picking) |
| virtual void | releaseResources () |
| virtual bool | isRenderModeSupported (int mode) |
| virtual DtLineSegmentProxy * | allocateNewSegment () |
Public Member Functions inherited from makVrv::DtPrimitiveRenderer | |
| DtPrimitiveRenderer (DtDe &de, DtOverlayResourceProvider &provider) | |
| virtual | ~DtPrimitiveRenderer () |
| void | setRenderMode (int mode) |
| int | renderMode () const |
| int | numberOfRenderModes () const |
| void | setOrderMode (int mode) |
| int | orderMode () const |
| void | addGroupRef (unsigned int group) |
| void | removeGroupRef (unsigned int group) |
| unsigned int | groupCount () const |
Static Public Attributes | |
| static const unsigned short | NoStipple = 0xFFFF |
| static const unsigned short | NoLine = 0x0 |
Protected Types | |
| typedef std::vector < LineSegmentPrimitive > | LineSegments |
| typedef std::vector < DtLineSegmentProxy * > | LineSegmentProxyList |
| typedef std::unordered_map < float, LineSegmentSets > | LineMap |
Protected Member Functions | |
| DtLineRenderer (DtDe &de, DtOverlayResourceProvider &provider) | |
| virtual void | dirty (DtLineSegmentProxy *) |
| virtual void | deallocateProxy (const DtLineSegmentProxy &) |
| virtual int | moveSegmentToOtherList (const float currentWidth, const int currentSegmentIndex, const int currentPrimativeIndex, const float desiredWidth, const int desiredSegmentIndex) |
| virtual void | setAltitudeBasedConfigurationsForProxy (DtLineSegmentProxy *, const DtLineSegmentAltitudeBasedConfigurationCollection &) |
| virtual bool | getAltitudeBasedConfigurationsForProxy (const DtLineSegmentProxy *, DtLineSegmentAltitudeBasedConfigurationCollection &) const |
| virtual void | clearAltitudeBasedConfigurationsForProxy (DtLineSegmentProxy *) |
| virtual void | renderUsingVertexBufferObjects (DtFlat2DLineRenderer &renderer) |
| virtual void | renderStippledLineArrays (DtFlat2DLineRenderer &renderer, LineSegmentSets &lss) |
| virtual void | updateRenderData (double altitude) |
| virtual void | sortByStipple () |
Protected Attributes | |
| LineMap | myLines |
| std::map< const DtLineSegmentProxy *, DtLineSegmentProxyGroup * > | myLineSegmentProxyToGroupMap |
| std::vector < DtLineSegmentProxyGroup * > | myLineSegmentProxyGroups |
| DtProjected2DLineEffect * | myEffect |
| LineSegmentProxyList | myDirtyList |
| unsigned int | myPrimitiveCount |
Protected Attributes inherited from makVrv::DtPrimitiveRenderer | |
| DtDe & | myDe |
| DtOverlayResourceProvider & | myProvider |
| int | myRenderMode |
| int | myOrderMode |
| bool | myForceUpdate |
Private Attributes | |
| friend | DtLineRendererCreator |
Friends | |
| class | DtLineSegmentProxy |
| typedef std::vector<DtLineSegmentAltitudeBasedConfiguration> makVrv::DtLineRenderer::DtLineSegmentAltitudeBasedConfigurationCollection |
A collection of altitude-based configurations.
|
protected |
|
protected |
|
protected |
|
virtual |
|
delete |
Default Constructor not implemented.
|
delete |
Copy Constructor not implemented - Copy not allowed.
|
protected |
Protected CTOR Create using DtLineRendererCreator.
|
delete |
Assignment Operator not implemented - Assignment not allowed.
|
virtual |
Get the number of Primitives.
Implements makVrv::DtPrimitiveRenderer.
|
virtual |
Render the primitives.
|
virtual |
Release any rendering resources.
Implements makVrv::DtPrimitiveRenderer.
Check to see if render mode is supported.
Implements makVrv::DtPrimitiveRenderer.
|
virtual |
Allocate a new segment and a proxy object to control it.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
friend |
|
private |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |