OSG implementation of a 2D TriangleFan.
More...
|
| | DtOsgWindowTriangleFanInstance (DtDe &de) |
| | CTOR. More...
|
| |
| virtual | ~DtOsgWindowTriangleFanInstance () |
| | DTOR. More...
|
| |
| virtual void | setVisible (bool isVisible) |
| | Set the TriangleFan visible or invisible. More...
|
| |
| virtual void | setFillPattern (unsigned int fillPattern) |
| | Set the TriangleFan's fill pattern. More...
|
| |
| virtual void | setNumVertices (unsigned int numVertices) |
| | Set the number of vertices in the TriangleFan. More...
|
| |
| virtual void | setVertex (int i, double x, double y) |
| | Set one of the TriangleFan's vertices. More...
|
| |
| virtual void | setColor (float r, float g, float b, float a) |
| | Set the TriangleFan's color. More...
|
| |
| virtual bool | visible () const |
| | Get the TriangleFan's visibility status. More...
|
| |
| virtual void | setTransform (DtMatrix3< double > transform) |
| | Sets the line's transform matrix, used to update the position and clockwise rotation of the vertices. More...
|
| |
| virtual void | update () |
| | Called on signal_postUpdate; time to update render data. More...
|
| |
| virtual void | setGroup (int groupId) |
| | Set this object's group ID for z order. More...
|
| |
| virtual void | setChannelOverlay (std::string displayName, std::string windowName, std::string channelName) |
| | By default window objects are placed on the RemoteDisplayWorldOverlay, which is rendered on all channels that have the "showRemoteGraphics" channel keyword. More...
|
| |
| void | createTriangleFan () |
| | Create myTriangleFan according to current state Called from the constructor, so this can't be virtual. More...
|
| |
| virtual | ~DtWindowTriangleFanInstance () |
| | DTOR. More...
|
| |
| virtual | ~DtSetVisibilityInterface () |
| |
OSG implementation of a 2D TriangleFan.
A DtWindowTriangleFan calls DtWindowTriangleFanInstance's methods which are implemented here. This sends vertices into a DtFilledPolygon.
| makVrv::DtOsgWindowTriangleFanInstance::DtOsgWindowTriangleFanInstance |
( |
DtDe & |
de | ) |
|
| virtual makVrv::DtOsgWindowTriangleFanInstance::~DtOsgWindowTriangleFanInstance |
( |
| ) |
|
|
virtual |
| virtual void makVrv::DtOsgWindowTriangleFanInstance::setVisible |
( |
bool |
isVisible | ) |
|
|
virtual |
| virtual void makVrv::DtOsgWindowTriangleFanInstance::setFillPattern |
( |
unsigned int |
fillPattern | ) |
|
|
virtual |
| virtual void makVrv::DtOsgWindowTriangleFanInstance::setNumVertices |
( |
unsigned int |
numVertices | ) |
|
|
virtual |
| virtual void makVrv::DtOsgWindowTriangleFanInstance::setVertex |
( |
int |
i, |
|
|
double |
x, |
|
|
double |
y |
|
) |
| |
|
virtual |
| virtual void makVrv::DtOsgWindowTriangleFanInstance::setColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
virtual |
| virtual bool makVrv::DtOsgWindowTriangleFanInstance::visible |
( |
| ) |
const |
|
virtual |
Get the TriangleFan's visibility status.
| virtual void makVrv::DtOsgWindowTriangleFanInstance::setTransform |
( |
DtMatrix3< double > |
transform | ) |
|
|
virtual |
| virtual void makVrv::DtOsgWindowTriangleFanInstance::update |
( |
| ) |
|
|
virtual |
| virtual void makVrv::DtOsgWindowTriangleFanInstance::setGroup |
( |
int |
groupId | ) |
|
|
virtual |
| virtual void makVrv::DtOsgWindowTriangleFanInstance::setChannelOverlay |
( |
std::string |
displayName, |
|
|
std::string |
windowName, |
|
|
std::string |
channelName |
|
) |
| |
|
virtual |
By default window objects are placed on the RemoteDisplayWorldOverlay, which is rendered on all channels that have the "showRemoteGraphics" channel keyword.
If a user wishes to draw a specific window object on a specific channel, use this method. This does not work for remote displays.
Implements makVrv::DtWindowTriangleFanInstance.
| void makVrv::DtOsgWindowTriangleFanInstance::createTriangleFan |
( |
| ) |
|
Create myTriangleFan according to current state Called from the constructor, so this can't be virtual.
| virtual void makVrv::DtOsgWindowTriangleFanInstance::updateGeometry |
( |
| ) |
|
|
protectedvirtual |
Update the graphic TriangleFan's vertices according to the current state.
Destroy the triangle fan when the channel its being rendered on is going to be destroyed.
| DtDe& makVrv::DtOsgWindowTriangleFanInstance::myDe |
|
protected |
| VertexList makVrv::DtOsgWindowTriangleFanInstance::myVertices |
|
protected |
| osg::Matrix makVrv::DtOsgWindowTriangleFanInstance::myTransform |
|
protected |
| unsigned int makVrv::DtOsgWindowTriangleFanInstance::myFillPattern |
|
protected |
| unsigned int makVrv::DtOsgWindowTriangleFanInstance::myGroup |
|
protected |
| float makVrv::DtOsgWindowTriangleFanInstance::myColorR |
|
protected |
| float makVrv::DtOsgWindowTriangleFanInstance::myColorG |
|
protected |
| float makVrv::DtOsgWindowTriangleFanInstance::myColorB |
|
protected |
| float makVrv::DtOsgWindowTriangleFanInstance::myColorA |
|
protected |
| bool makVrv::DtOsgWindowTriangleFanInstance::myGeometryDirty |
|
protected |
| bool makVrv::DtOsgWindowTriangleFanInstance::myUseChannelOverlay |
|
protected |
| bool makVrv::DtOsgWindowTriangleFanInstance::myVisible |
|
protected |
| osg::Vec2 makVrv::DtOsgWindowTriangleFanInstance::myClipBoxBottomLeft |
|
protected |
| osg::Vec2 makVrv::DtOsgWindowTriangleFanInstance::myClipBoxTopRight |
|
protected |
| std::string makVrv::DtOsgWindowTriangleFanInstance::myDisplayName |
|
protected |
| std::string makVrv::DtOsgWindowTriangleFanInstance::myWindowName |
|
protected |
| std::string makVrv::DtOsgWindowTriangleFanInstance::myChannelName |
|
protected |
The documentation for this class was generated from the following file: