![]() |
VR-Forces Developer's Guide
|
Class to draw a screen spaced perimeter text on polygons, lines, or other geometry.
Public Types | |
| using | DtScreenIntervaledTextCollection = std::vector< DtUnicode > |
Protected Attributes | |
| DtDe & | myDe |
| std::vector< DtVector > | myVertices |
| std::vector < DtTextProxyInterface * > | myScreenIntervaledTextProxies |
| std::vector < DtQuadProxyInterface * > | myScreenIntervaledTextProxiesBackgrounds |
| bool | myIsClosedFigure |
| bool | myIsScreenIntervaledTextRenderingEnabled |
| DtScreenIntervaledTextCollection | myScreenIntervaledTextCollection |
| int | myScreenIntervaledTextIntervalInScreenSpaceCM |
| std::string | myScreenIntervaledTextPrefixPostfixSeparatorString |
| std::string | myScreenIntervaledTextPrefixString |
| std::string | myScreenIntervaledTextPostfixString |
| std::string | myScreenIntervaledTextFontFile |
| float | myScreenIntervaledTextFontPointSize |
| float | myScreenIntervaledTextFontColor [4] |
| float | myScreenIntervaledTextBackgroundColor [4] |
| int | myGroup |
| DtModelSetId | myModelSet |
| DtChannel * | myChannelInstance |
| DtVector | myOrigin |
| DtQuat | myRotation |
| bool | myVisibleFlag |
| DtCoordinateSystem * | myCoordinateSystem = nullptr |
| DtSignalConnectionManager | myConnections |
Private Member Functions | |
| DtOverlayScreenIntervaledTextInstance () | |
| DtOverlayScreenIntervaledTextInstance (const DtOverlayScreenIntervaledTextInstance &) | |
| DtOverlayScreenIntervaledTextInstance & | operator= (const DtOverlayScreenIntervaledTextInstance &) |
| using makVrv::DtOverlayScreenIntervaledTextInstance::DtScreenIntervaledTextCollection = std::vector<DtUnicode> |
| makVrv::DtOverlayScreenIntervaledTextInstance::DtOverlayScreenIntervaledTextInstance | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
private |
Default Constructor not implemented.
|
private |
Copy Constructor not implemented - Copy not allowed.
|
virtual |
If not already created, creates only the screen intervaled text visuals.
|
virtual |
Updates the screen intervaled text based on this polygon's channel instance.
|
virtual |
Updates the vertex information into the polygon (if not locked)
|
virtual |
Update text information with zoom and orientation changes.
|
virtual |
Sets a text vertex's position.
|
virtual |
Sets a quad vertex's position.
|
virtual |
Set to make this model channel specific. This means it will only update itself when the channel it is assigned to is updated. Enabled only to display on the channel/model set combination.
|
virtual |
Whether or not the provided vertices represent a closed figure. Default is true.
|
virtual |
Whether or not to render screen intervaled text.
|
virtual |
Set the prefix string that will be applied to all screen intervaled text, if rendered. The prefix string automatically has a newline appended to the end of it.
|
virtual |
Set the postfix string that will be applied to all screen intervaled text, if rendered. The postfix string automatically has a newline appended to the beginning of it.
|
virtual |
Set the separator string that will be applied after the prefix string and before the postfix string. The default is a newline.
|
virtual |
Sets the collection of strings that will be rendered and wrapped around the perimeter of the polygon. The order they will be rendered in will depend on their order in the passed DtScreenIntervaledTextCollection.
|
virtual |
Set the interval, in centimeters of screen space, at which the screen intervaled text will appear at. If the perimeter of the polygon does not exceed: minimumScreenSpacePerimeterRequired = # of screen intervaled text strings * interval in CM) then, the screen intervaled text is not rendered at all.
|
virtual |
Set the font that the screen intervaled text will use.
|
virtual |
Set the color that the screen intervaled text will use.
|
virtual |
Set the background color that the screen intervaled text will use.
|
virtual |
Set the text to be visible or not.
|
virtual |
Sets the model set this overlay item belongs to. Will clear out channelInstance if set.
|
virtual |
Set one of the endpoints of the Polygon.
|
virtual |
Set the rotation of the polygon.
|
virtual |
Sets the origin. Will update geometry.
|
virtual |
The higher the Z order the "closer" to the eyepoint this element will be drawn. Use this variable to stack overlay objects in the particular order you want them displayed.
|
virtual |
Returns the origin.
|
virtual |
Add a new point to the polygon at the specified index, or, at the end if index is -1.
|
virtual |
Removes the point from the specified index.
|
virtual |
Sets the vertex information for this polygon.
|
virtual |
Sets the vertex information using DtVectors.
|
virtual |
Sets the vertex information using DtVectors.
|
virtual |
slot for when the coordinate system changes
|
private |
Assignment Operator not implemented - Copy not allowed.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
local clone of the system wide coordinate system. for thread safety.
|
protected |