19 #include <matrix/vlVector.h>
26 class DtChannelManager;
28 class DtChannelConfiguration;
29 class DtModelDefinition;
49 virtual void setColor(
float r,
float g,
float b,
float a);
52 virtual void setInsideColor(
float r,
float g,
float b,
float a);
55 virtual void getInsideColor(
float& r,
float& g,
float& b,
float& a);
58 virtual void setOutsideColor(
float r,
float g,
float b,
float a);
61 virtual void getOutsideColor(
float& r,
float& g,
float& b,
float& a);
64 virtual void setSolidFillCenter(
bool);
67 virtual void setPosition(
int vtx,
const DtVector& position);
70 virtual void setOrigin(
const DtVector& o);
73 virtual void setPoint(
int vtx,
const DtVector& position);
76 virtual void set2dOffset(
int index,
float x,
float y);
80 virtual void set3dDirection2dLength(
int index,
float x,
float y,
float z,
85 virtual void setGroup(
int);
88 virtual void setOrientation(
int vtx,
const DtTaitBryan& orientation);
91 virtual void setTexturePath(
const std::string& texturePath);
95 virtual void setIsStippleUsedForFill(
bool isStippleUsedForFill);
100 virtual void setIsTextureFillFittedToAreaEnabled(
bool isTextureFillFittedToAreaEnabled);
106 virtual void setOutlineTexture(
const std::string& texturePath,
int width = -1,
int height = -1);
109 virtual void setNumTextureTiles(
double numTiles);
112 virtual void setSolid(
bool solid);
117 virtual void setIsSupportModel(
bool isSupport);
121 virtual void addPoint(
const DtVector& point,
int index);
124 virtual void setPickable(
bool enabled);
127 virtual void removePoint(
int index);
130 virtual void removePosition(
int index);
133 virtual void setStipplePattern(
unsigned int stipplePattern);
136 virtual const std::vector<DtVector>& points()
const;
139 virtual int pointCount()
const;
145 virtual void setWidth(
float width);
148 virtual void setEventWidth(
float width);
151 virtual void setEventsEnabled(
bool);
154 virtual void setVisible(
bool isVisible);
165 virtual void removeFromScene();
168 virtual void setModelDefinition(
const std::string& str);
172 virtual void setFillPattern(
const std::vector<unsigned int>&);
179 virtual void setFillPatternFrequency(
float frequency);
182 virtual float fillPatternFrequency()
const;
186 virtual void setOutline(
bool);
189 virtual void setEnableDecalProjector(
bool enable);
192 virtual bool enableDecalProjector()
const;
198 virtual void setIsPerimeterWrappedTextRenderingEnabled(
bool);
210 virtual void setPerimeterWrappedTextInterval(
int intervalInScreenSpaceCM);
213 virtual void setPerimeterWrappedTextFont(
const std::string& fontFile,
float fontPointSize);
216 virtual void setPerimeterWrappedTextColor(
float r,
float g,
float b,
float a);
219 virtual void setPerimeterWrappedTextBackgroundColor(
float r,
float g,
float b,
float a);
235 virtual void update();
238 virtual void needsUpdate();
243 virtual void moveInstancesFromChannelSpecific();
248 virtual void moveInstancesToChannelSpecific();
252 virtual void slot_channelCreated(
DtChannel* channel);
259 virtual void slot_channelConfigurationModified(
const std::string& deName,
260 const std::string& winName,
const std::string& oldChannelName,
289 float myPerimeterWrappedTextFontColor[4];
290 float myPerimeterWrappedTextBackgroundColor[4];
302 float myInsideColor[4];
303 float myOutsideColor[4];
std::string myModelDefinition
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:301
Struct to hold both the channel specific model instance and screen interval text instance which rende...
Definition: DtOverlayPolygonModel.h:228
bool mySolid
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:317
unsigned int myStipplePattern
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:315
voidpf uLong int origin
Definition: ioapi.h:42
bool myEventsEnabled
Definition: DtOverlayPolygonModel.h:268
float myEventWidth
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:316
Distributed model for drawing polygons with attached vertices.
Definition: DtPolygonModel.h:20
Contains makVrv::DtOverlayScreenIntervaledTextInstance class declaration.
ChannelInstances myChannelInstances
Definition: DtOverlayPolygonModel.h:294
std::string myPerimeterWrappedTextFontFile
These are channel specific variables for perimeter text rendering They are not part of the model set ...
Definition: DtOverlayPolygonModel.h:286
std::string myOutlineTexture
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:306
DtSignalConnectionManager myLifetimeConnections
Definition: DtOverlayPolygonModel.h:272
DtVector myOrigin
Definition: DtOverlayPolygonModel.h:269
DtPerimeterWrappedTextCollection myPerimeterWrappedTextCollection
These are channel specific variables for perimeter text rendering They are not part of the model set ...
Definition: DtOverlayPolygonModel.h:283
int myPerimeterWrappedTextIntervalInScreenSpaceCM
These are channel specific variables for perimeter text rendering They are not part of the model set ...
Definition: DtOverlayPolygonModel.h:284
bool myNeedsUpdate
Definition: DtOverlayPolygonModel.h:296
Class to draw a screen spaced perimeter text on polygons, lines, or other geometry.
Definition: DtOverlayScreenIntervaledTextInstance.h:32
The abstract Channel Class.
Definition: DtChannel.h:35
Contains DtPolygonModel declaration.
float myFillPatternFrequency
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:310
int myOutlineTextureTileHeight
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:308
bool myOutline
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:311
double myNumTextureTiles
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:313
bool myIsPerimeterWrappedTextRenderingEnabled
These are channel specific variables for perimeter text rendering They are not part of the model set ...
Definition: DtOverlayPolygonModel.h:282
float myPerimeterWrappedTextFontPointSize
These are channel specific variables for perimeter text rendering They are not part of the model set ...
Definition: DtOverlayPolygonModel.h:287
int myGroup
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:318
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
Contains makVrv::DtOverlayPolygonModelInstance class definition.
std::string myTexturePath
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:305
DtSignalConnectionManager myChannelConnections
Definition: DtOverlayPolygonModel.h:273
unsigned long long DtUniqueID
Definition: DtUniqueID.h:19
bool myPickable
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:314
DtTaitBryan myRotation
Definition: DtOverlayPolygonModel.h:270
bool myChannelSpecificMode
Set to true if displaying model instances on a per channel basis. Default is false.
Definition: DtOverlayPolygonModel.h:277
std::vector< unsigned int > myFillPattern
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:309
Base class for handling DtChannels. Derived classes should override the tick() method and advance the...
Definition: DtChannelManager.h:32
std::map< DtChannel *, DtPolygonInstanceAndText > ChannelInstances
Definition: DtOverlayPolygonModel.h:293
Configuration for a single channel Serialized and sent to remote displays as necessary to configure r...
Definition: DtChannelConfiguration.h:24
std::vector< VertexData > VertexList
Definition: DtOverlayPolygonModelInstance.h:74
int myOutlineTextureTileWidth
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:307
bool mySolidFillCenter
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:312
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
OSG implementation of overlay polygon model.
Definition: DtOverlayPolygonModel.h:33
DtModelSetId
Definition: DtModelSetEnums.h:19
A model instance class which allows the drawing of a polygon (supporting textures) on an overlay...
Definition: DtOverlayPolygonModelInstance.h:53
bool myEnableDecalProjector
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:319
bool myIsTextureFillFittedToAreaEnabled
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:320
Contains DLL export macros.
float myWidth
Variables that are saved in order to switch between channel instance and model set instance...
Definition: DtOverlayPolygonModel.h:304
std::vector< DtUnicode > DtPerimeterWrappedTextCollection
Definition: DtOverlayPolygonModel.h:36