19 class DtDecalProjectorPolygonCreator;
20 class DtDecalProjectorComponentInterface;
21 class DtOverlayRendererInterface;
22 class DtPickableDecalProjector;
24 class DtTextureInterface;
40 bool isOutline,
bool lineTopology);
48 virtual void setFillType(
FillType type);
56 virtual void setFillParameter(
unsigned int param,
unsigned int fullStipplePattern[32] = 0)
override;
59 virtual void clearFillPattern();
62 virtual void getFillParameter(
unsigned int& paramOut,
unsigned int fullStipplePatternOut[32])
const override;
69 virtual void setFillPatternFrequency(
float frequency)
override;
79 virtual void setEventsEnabled(
bool enabled,
unsigned long long = 0);
82 bool eventsEnabled()
const;
86 virtual void setVertexCount(
unsigned int vertexCount);
89 virtual unsigned int vertexCount()
const;
92 virtual void set2DPositions(
const std::vector<float>& vertices);
96 virtual void set2DPosition(
unsigned int vertexIndex,
float x,
float y);
99 virtual void set2DCentroidPosition(
float x,
float y);
102 virtual void get2DPosition(
unsigned int vertexIndex,
float& x,
float& y)
const;
105 virtual void set3DPosition(
unsigned int vertexIndex,
float x,
float y,
float z,
float w);
108 virtual void set3DCentroidPosition(
float x,
float y,
float z,
float w);
111 virtual void get3DPosition(
unsigned int index,
float& x,
float& y,
float& z,
float& w)
const;
113 void set3DDirectionAndLength(
unsigned int index,
float x,
float y,
float z,
float l);
125 virtual void setStipple(
unsigned int stipplePattern);
128 virtual void setOutlineWidth(
float width);
131 virtual void setVertexColor(
unsigned int index,
float r,
float g,
float b,
float a);
134 virtual void getVertexColor(
unsigned int index,
float& r,
float& g,
float& b,
float& a);
137 virtual void setCentroidColor(
float r,
float g,
float b,
float a);
140 virtual void setColor(
float r,
float g,
float b,
float a);
143 virtual void getColor(
float& r,
float& g,
float& b,
float& a)
const;
146 virtual int group()
const;
149 virtual void setGroup(
int);
153 virtual void triangulate()
override;
158 virtual void triangulationComplete(
bool crossingLines)
override;
166 virtual void set2DPositionsTriangles(
const std::vector<float>& vertices);
171 virtual void setVertexCountTriangles(
unsigned int vertexCount);
176 virtual void updateDecalProjectorWithTriangles();
180 virtual void slot_pickerDestroyed();
183 virtual void connectToPicker();
187 void disconnectFromPicker();
208 void set3DPosition(
unsigned int index,
float x,
float y,
float z,
float w);
210 void get3DPosition(
unsigned int index,
float& x,
float& y,
211 float& z,
float& w)
const;
213 void get2DPosition(
unsigned int index,
float& x,
float& y)
const;
215 void set2DPosition(
unsigned int index,
float x,
float y);
217 void set2DPositions(
float x1,
float y1,
float x2,
float y2,
float x3,
float y3);
236 float myCenterPoint[2];
237 double my3DCenterPoint[3];
239 unsigned int myFullStipplePattern[32];
unsigned long long myUserData
Definition: DtDecalProjectorPolygon.h:231
bool myPickerConnected
Definition: DtDecalProjectorPolygon.h:230
This structure is used to hold staging triangle point information.
Definition: DtDecalProjectorPolygon.h:192
int myGroup
Definition: DtDecalProjectorPolygon.h:242
bool myPickerDestroyed
Definition: DtDecalProjectorPolygon.h:229
voidpf uLong int origin
Definition: ioapi.h:42
Creator.
Definition: DtDecalProjectorPolygonInterface.h:41
unsigned int myFillParam
Definition: DtDecalProjectorPolygon.h:238
DtWidgetPicker * myPicker
Definition: DtDecalProjectorPolygon.h:227
Interface for a texture. Used to pass in a texture to vrvGraphics.
Definition: DtTextureInterface.h:24
This structure is used to hold staging triangle information. This mostly mimics the use of DtTriangle...
Definition: DtDecalProjectorPolygon.h:204
std::vector< float > VertexList
Definition: DtDecalProjectorPolygon.h:220
bool myEventsEnabled
Definition: DtDecalProjectorPolygon.h:228
The DtPickableDecalProjector is a pickable widget used to pick a decal projector interface.
Definition: DtPickableWidget.h:362
creator for DtDecalProjectorPolygon
Definition: DtDecalProjectorPolygon.h:249
FillType myFillType
Definition: DtDecalProjectorPolygon.h:240
A class which represents a component for a decal projector.
Definition: DtDecalProjectorComponentInterface.h:43
The abstract Channel Class.
Definition: DtChannel.h:35
DtDecalProjectorComponentInterface * myDecalProjectorComponent
Definition: DtDecalProjectorPolygon.h:245
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
FillType
Definition: DtFilledPolygonInterface.h:30
VertexList my3DVertices
Definition: DtDecalProjectorPolygon.h:235
A convex polygon drawn using lines.
Definition: DtDecalProjectorPolygonInterface.h:25
VertexList myVertices
Definition: DtDecalProjectorPolygon.h:234
std::vector< Triangle > myTriangles
Definition: DtDecalProjectorPolygon.h:243
float myOutlineWidth
Definition: DtDecalProjectorPolygon.h:241
bool myLineTopology
Definition: DtDecalProjectorPolygon.h:225
bool myIsOutline
Definition: DtDecalProjectorPolygon.h:224
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:72
A variable vertex convex filled 2D polygon.
Definition: DtDecalProjectorPolygon.h:28
DtPickableDecalProjector * myPickableDecalProjector
Definition: DtDecalProjectorPolygon.h:232
DtModelSetId
Definition: DtModelSetEnums.h:19
DtOverlayRendererInterface * myRenderer
Definition: DtDecalProjectorPolygon.h:222
The DtOverlayRendererInterface implements the overlay concept. An overlay is a 2D scene that is drawn...
Definition: DtOverlayRendererInterface.h:80