|
KiCad PCB EDA Suite
|
#include <vrml_layer.h>
Public Member Functions | |
| VRML_LAYER () | |
| virtual | ~VRML_LAYER () |
| void | GetArcParams (int &aMaxSeg, double &aMinLength, double &aMaxLength) |
| Retrieve the parameters used in calculating the number of vertices in an arc. | |
| bool | SetArcParams (int aMaxSeg, double aMinLength, double aMaxLength) |
| Set the parameters used in calculating the number of vertices in an arc. | |
| void | ResetArcParams () |
| Reset the parameters used in calculating the number of vertices in an arc to default values. | |
| void | Clear (void) |
| Erase all data except for arc parameters. | |
| int | GetSize (void) |
| int | GetNContours (void) |
| int | NewContour (bool aPlatedHole=false) |
| Create a new list of vertices and returns an index to the list. | |
| bool | AddVertex (int aContourID, double aXpos, double aYpos) |
| Add a point to the requested contour. | |
| bool | EnsureWinding (int aContourID, bool aHoleFlag) |
| Check the winding of a contour and ensures that it is a hole or a solid depending on the value of. | |
| bool | AppendCircle (double aXpos, double aYpos, double aRadius, int aContourID, bool aHoleFlag=false) |
| Add a circular contour to the specified (empty) contour. | |
| bool | AddCircle (double aXpos, double aYpos, double aRadius, bool aHoleFlag=false, bool aPlatedHole=false) |
| Create a circular contour and adds it to the internal list. | |
| bool | AddSlot (double aCenterX, double aCenterY, double aSlotLength, double aSlotWidth, double aAngle, bool aHoleFlag=false, bool aPlatedHole=false) |
| Create and add a slot feature to the list of contours. | |
| bool | AppendArc (double aCenterX, double aCenterY, double aRadius, double aStartAngle, double aAngle, int aContourID) |
| Add an arc to the specified contour. | |
| bool | AddArc (double aCenterX, double aCenterY, double aStartX, double aStartY, double aArcWidth, double aAngle, bool aHoleFlag=false, bool aPlatedHole=false) |
| Create a slotted arc and adds it to the internal list of contours. | |
| bool | AddPolygon (const std::vector< wxRealPoint > &aPolySet, double aCenterX, double aCenterY, double aAngle) |
| Create an arbitrary polygon and adds it to the list of contours. | |
| bool | Tesselate (VRML_LAYER *holes=NULL, bool aHolesOnly=false) |
| Create a list of outline vertices as well as the vertex sets required to render the surface. | |
| bool | WriteVertices (double aZcoord, std::ostream &aOutFile, int aPrecision) |
| Write out the list of vertices required to render a planar surface. | |
| bool | Write3DVertices (double aTopZ, double aBottomZ, std::ostream &aOutFile, int aPrecision) |
| Write out the list of vertices required to render an extruded solid. | |
| bool | WriteIndices (bool aTopFlag, std::ostream &aOutFile) |
| Write out the vertex sets required to render a planar surface. | |
| bool | Write3DIndices (std::ostream &aOutFile, bool aIncludePlatedHoles=false) |
| Write out the vertex sets required to render an extruded solid. | |
| VERTEX_3D * | AddExtraVertex (double aXpos, double aYpos, bool aPlatedHole) |
| Add an extra vertex as required by the GLU tesselator. | |
| void | glStart (GLenum cmd) |
| Invoked by the GLU tesselator callback to notify this object of the type of GL command which is applicable to the upcoming vertex list. | |
| void | glPushVertex (VERTEX_3D *vertex) |
| Invoked by the GLU tesselator callback; the supplied vertex is added to the internal list of vertices awaiting processing upon execution of glEnd() | |
| void | glEnd (void) |
| Invoked by the GLU tesselator callback to notify this object that the vertex list is complete and ready for processing. | |
| void | SetGLError (GLenum error_id) |
| Set the error message according to the specified OpenGL error. | |
| int | Import (int start, GLUtesselator *aTesselator) |
| Inserts all contours into the given tesselator. | |
| VERTEX_3D * | GetVertexByIndex (int aPointIndex) |
| Return a pointer to the requested vertex or NULL if no such vertex exists. | |
| const std::string & | GetError (void) |
| void | SetVertexOffsets (double aXoffset, double aYoffset) |
| bool | Get3DTriangles (std::vector< double > &aVertexList, std::vector< int > &aIndexPlane, std::vector< int > &aIndexSide, double aTopZ, double aBotZ) |
| Allocate and populate the 3D vertex and index lists with triangular vertices which may be used for rendering a volume. | |
| bool | Get2DTriangles (std::vector< double > &aVertexList, std::vector< int > &aIndexPlane, double aHeight, bool aTopPlane) |
| Allocate and populate the 3D vertex and index lists with triangular vertices which may be used for rendering a plane. | |
Public Attributes | |
| bool | Fault |
| set to true when a fault is encountered during tesselation | |
Private Member Functions | |
| void | clearTmp (void) |
| bool | addTriplet (VERTEX_3D *p0, VERTEX_3D *p1, VERTEX_3D *p2) |
| VERTEX_3D * | getVertexByIndex (int aPointIndex, VRML_LAYER *holes) |
| void | processFan (void) |
| void | processStrip (void) |
| void | processTri (void) |
| void | pushVertices (bool holes) |
| bool | pushOutline (VRML_LAYER *holes) |
| int | calcNSides (double aRadius, double aAngle) |
| int | checkNContours (bool holes) |
Private Attributes | |
| int | maxArcSeg |
| double | minSegLength |
| double | maxSegLength |
| double | offsetX |
| double | offsetY |
| bool | fix |
| int | idx |
| int | ord |
| std::vector< VERTEX_3D * > | vertices |
| std::vector< std::list< int > * > | contours |
| std::vector< bool > | pth |
| std::vector< bool > | solid |
| std::vector< double > | areas |
| std::list< TRIPLET_3D > | triplets |
| std::list< std::list< int > * > | outline |
| std::vector< int > | ordmap |
| std::string | error |
| int | hidx |
| int | eidx |
| std::vector< VERTEX_3D * > | extra_verts |
| std::vector< VERTEX_3D * > | vlist |
| VRML_LAYER * | pholes |
| GLUtesselator * | tess |
| GLenum | glcmd |
Definition at line 76 of file vrml_layer.h.
| VRML_LAYER::VRML_LAYER | ( | ) |
Definition at line 168 of file vrml_layer.cpp.
References eidx, Fault, fix, GLCALLBACK, glcmd, hidx, idx, offsetX, offsetY, ord, pholes, ResetArcParams(), tess, vrml_tess_begin(), vrml_tess_combine(), vrml_tess_end(), vrml_tess_err(), and vrml_tess_vertex().
Referenced by getVertexByIndex(), pushOutline(), and Tesselate().
|
virtual |
Definition at line 205 of file vrml_layer.cpp.
| bool VRML_LAYER::AddArc | ( | double | aCenterX, |
| double | aCenterY, | ||
| double | aStartX, | ||
| double | aStartY, | ||
| double | aArcWidth, | ||
| double | aAngle, | ||
| bool | aHoleFlag = false, | ||
| bool | aPlatedHole = false ) |
Create a slotted arc and adds it to the internal list of contours.
| aCenterX | is the X coordinate of the arc's center. |
| aCenterY | is the Y coordinate of the arc's center. |
| aStartX | is the X coordinate of the starting point. |
| aStartY | is the Y coordinate of the starting point. |
| aArcWidth | is the width of the arc. |
| aAngle | is the included angle (degrees). |
| aHoleFlag | determines whether the arc is to be a hole or a solid. |
| aPlatedHole | is true if this is a plated slotted arc. |
Definition at line 636 of file vrml_layer.cpp.
References AddVertex(), calcNSides(), error, M_PI, and NewContour().
| bool VRML_LAYER::AddCircle | ( | double | aXpos, |
| double | aYpos, | ||
| double | aRadius, | ||
| bool | aHoleFlag = false, | ||
| bool | aPlatedHole = false ) |
Create a circular contour and adds it to the internal list.
| aXpos | is the X coordinate of the hole center. |
| aYpos | is the Y coordinate of the hole center. |
| aRadius | is the radius of the hole. |
| aHoleFlag | determines if the contour to be created is a cutout. |
| aPlatedHole | is true if this is a plated hole. |
Definition at line 461 of file vrml_layer.cpp.
References AppendCircle(), error, NewContour(), and pad.
Referenced by makeBoard().
| VERTEX_3D * VRML_LAYER::AddExtraVertex | ( | double | aXpos, |
| double | aYpos, | ||
| bool | aPlatedHole ) |
Add an extra vertex as required by the GLU tesselator.
| aXpos | is the X coordinate of the newly created point. |
| aYpos | is the Y coordinate of the newly created point. |
| aPlatedHole | is true if this point is part of a plated hole. |
Definition at line 1401 of file vrml_layer.cpp.
References eidx, extra_verts, hidx, VERTEX_3D::i, idx, VERTEX_3D::o, VERTEX_3D::pth, VERTEX_3D::x, and VERTEX_3D::y.
Referenced by vrml_tess_combine().
| bool VRML_LAYER::AddPolygon | ( | const std::vector< wxRealPoint > & | aPolySet, |
| double | aCenterX, | ||
| double | aCenterY, | ||
| double | aAngle ) |
Create an arbitrary polygon and adds it to the list of contours.
| aPolySet | is the set of polygon points. |
| aCenterX | is the X coordinate of the polygon's center. |
| aCenterY | is the Y coordinate of the polygon's center. |
| aAngle | is the rotation angle (degrees) of the pad. |
Definition at line 567 of file vrml_layer.cpp.
References AddVertex(), DEGREES_T, EnsureWinding(), error, NewContour(), pad, and RotatePoint().
| bool VRML_LAYER::AddSlot | ( | double | aCenterX, |
| double | aCenterY, | ||
| double | aSlotLength, | ||
| double | aSlotWidth, | ||
| double | aAngle, | ||
| bool | aHoleFlag = false, | ||
| bool | aPlatedHole = false ) |
Create and add a slot feature to the list of contours.
| aCenterX | is the X coordinate of the slot's center. |
| aCenterY | is the Y coordinate of the slot's center. |
| aSlotLength | is the length of the slot along the major axis. |
| aSlotWidth | is the width of the slot along the minor axis. |
| aAngle | (degrees) is the orientation of the slot. |
| aHoleFlag | determines whether the slot is a hole or a solid. |
| aPlatedHole | is true if this is a plated slot. |
Definition at line 481 of file vrml_layer.cpp.
References AddVertex(), calcNSides(), error, M_PI, M_PI2, NewContour(), and pad.
Definition at line 1363 of file vrml_layer.cpp.
References VERTEX_3D::o, triplets, VERTEX_3D::x, and VERTEX_3D::y.
Referenced by processFan(), processStrip(), and processTri().
| bool VRML_LAYER::AddVertex | ( | int | aContourID, |
| double | aXpos, | ||
| double | aYpos ) |
Add a point to the requested contour.
| aContour | is an index previously returned by a call to NewContour(). |
| aXpos | is the X coordinate of the vertex. |
| aYpos | is the Y coordinate of the vertex. |
Definition at line 331 of file vrml_layer.cpp.
References areas, contours, error, fix, VERTEX_3D::i, idx, VERTEX_3D::o, VERTEX_3D::pth, pth, v2, vertices, VERTEX_3D::x, and VERTEX_3D::y.
Referenced by AddArc(), AddPolygon(), AddSlot(), AppendArc(), AppendCircle(), and EXPORTER_PCB_VRML::ExportVrmlPolygonSet().
| bool VRML_LAYER::AppendArc | ( | double | aCenterX, |
| double | aCenterY, | ||
| double | aRadius, | ||
| double | aStartAngle, | ||
| double | aAngle, | ||
| int | aContourID ) |
Add an arc to the specified contour.
| aCenterX | is the X coordinate of the arc's center. |
| aCenterY | is the Y coordinate of the arc's center. |
| aRadius | is the radius of the arc. |
| aStartAngle | (degrees) is the starting angle of the arc. |
| aAngle | (degrees) is the measure of the arc. |
| aContourID | is the contour's index. |
Definition at line 593 of file vrml_layer.cpp.
References AddVertex(), calcNSides(), contours, error, and M_PI.
| bool VRML_LAYER::AppendCircle | ( | double | aXpos, |
| double | aYpos, | ||
| double | aRadius, | ||
| int | aContourID, | ||
| bool | aHoleFlag = false ) |
Add a circular contour to the specified (empty) contour.
| aXpos | is the X coordinate of the hole center. |
| aYpos | is the Y coordinate of the hole center. |
| aRadius | is the radius of the hole. |
| aContourID | is the contour index. |
| aHoleFlag | determines if the contour to be created is a cutout. |
Definition at line 401 of file vrml_layer.cpp.
References AddVertex(), contours, error, M_PI, maxArcSeg, maxSegLength, MIN_NSIDES, and minSegLength.
Referenced by AddCircle().
|
private |
Definition at line 83 of file vrml_layer.cpp.
References M_PI, maxArcSeg, maxSegLength, and minSegLength.
Referenced by AddArc(), AddSlot(), and AppendArc().
|
private |
Definition at line 1596 of file vrml_layer.cpp.
References areas, and contours.
Referenced by Tesselate().
| void VRML_LAYER::Clear | ( | void | ) |
Erase all data except for arc parameters.
Definition at line 249 of file vrml_layer.cpp.
References areas, clearTmp(), contours, fix, idx, pth, and vertices.
Referenced by makeOtherOutlines(), and ~VRML_LAYER().
|
private |
| bool VRML_LAYER::EnsureWinding | ( | int | aContourID, |
| bool | aHoleFlag ) |
Check the winding of a contour and ensures that it is a hole or a solid depending on the value of.
| hole. | |
| aContour | is an index to a contour as returned by NewContour(). |
| aHoleFlag | determines if the contour must be a hole. |
Definition at line 367 of file vrml_layer.cpp.
References areas, contours, error, vertices, VERTEX_3D::x, and VERTEX_3D::y.
Referenced by addOutline(), AddPolygon(), EXPORTER_PCB_VRML::ExportVrmlPolygonSet(), makeBoard(), and makeOtherOutlines().
| bool VRML_LAYER::Get2DTriangles | ( | std::vector< double > & | aVertexList, |
| std::vector< int > & | aIndexPlane, | ||
| double | aHeight, | ||
| bool | aTopPlane ) |
Allocate and populate the 3D vertex and index lists with triangular vertices which may be used for rendering a plane.
| aVertexList | will store the vertices. |
| aIndexPlane | will store the indices for the plane. |
| aHeight | is the plane of the model. |
| aTopPlane | is true if the plane is a top plane (false = reverse indices). |
Definition at line 1960 of file vrml_layer.cpp.
References getVertexByIndex(), offsetX, offsetY, ordmap, outline, pholes, triplets, VERTEX_3D::x, and VERTEX_3D::y.
| bool VRML_LAYER::Get3DTriangles | ( | std::vector< double > & | aVertexList, |
| std::vector< int > & | aIndexPlane, | ||
| std::vector< int > & | aIndexSide, | ||
| double | aTopZ, | ||
| double | aBotZ ) |
Allocate and populate the 3D vertex and index lists with triangular vertices which may be used for rendering a volume.
| aVertexList | will store the vertices. |
| aIndexPlane | will store the indices for the top + bottom planes. |
| aIndexSide | will store the indices for the vertical wall. |
| aTopZ | is the top plane of the model. |
| aBotZ | is the bottom plane of the model. |
Definition at line 1788 of file vrml_layer.cpp.
References getVertexByIndex(), offsetX, offsetY, ordmap, outline, pholes, triplets, VERTEX_3D::x, and VERTEX_3D::y.
Referenced by vrmlToSG().
| void VRML_LAYER::GetArcParams | ( | int & | aMaxSeg, |
| double & | aMinLength, | ||
| double & | aMaxLength ) |
Retrieve the parameters used in calculating the number of vertices in an arc.
| aMaxSeg | is the maximum number of segments for an arc with cords of length aMinLength. |
| aMinLength | is the minimum length of cords in an arc. |
| aMaxLength | is the maximum length of cords in an arc. |
Definition at line 226 of file vrml_layer.cpp.
References maxArcSeg, maxSegLength, and minSegLength.
| const std::string & VRML_LAYER::GetError | ( | void | ) |
Definition at line 1774 of file vrml_layer.cpp.
References error.
Referenced by EXPORTER_PCB_VRML::ExportVrmlPolygonSet(), getVertexByIndex(), and Tesselate().
|
inline |
Definition at line 121 of file vrml_layer.h.
References contours.
Referenced by makeBoard(), and makeOtherOutlines().
| int VRML_LAYER::GetSize | ( | void | ) |
Definition at line 1698 of file vrml_layer.cpp.
References vertices.
Referenced by Tesselate().
| VERTEX_3D * VRML_LAYER::GetVertexByIndex | ( | int | aPointIndex | ) |
Return a pointer to the requested vertex or NULL if no such vertex exists.
| aPointIndex | is a vertex index. |
Definition at line 1760 of file vrml_layer.cpp.
References error, and vertices.
Referenced by getVertexByIndex().
|
private |
Definition at line 1658 of file vrml_layer.cpp.
References error, extra_verts, GetError(), GetVertexByIndex(), hidx, idx, vertices, and VRML_LAYER().
Referenced by Get2DTriangles(), Get3DTriangles(), pushOutline(), Write3DIndices(), Write3DVertices(), and WriteVertices().
| void VRML_LAYER::glEnd | ( | void | ) |
Invoked by the GLU tesselator callback to notify this object that the vertex list is complete and ready for processing.
Definition at line 1441 of file vrml_layer.cpp.
References glcmd, outline, processFan(), processStrip(), processTri(), solid, and vlist.
Referenced by vrml_tess_end().
| void VRML_LAYER::glPushVertex | ( | VERTEX_3D * | vertex | ) |
Invoked by the GLU tesselator callback; the supplied vertex is added to the internal list of vertices awaiting processing upon execution of glEnd()
| vertex | is a vertex forming part of the GL command as previously set by glStart. |
Definition at line 1429 of file vrml_layer.cpp.
References VERTEX_3D::i, VERTEX_3D::o, ord, ordmap, and vlist.
Referenced by vrml_tess_vertex().
| void VRML_LAYER::glStart | ( | GLenum | cmd | ) |
Invoked by the GLU tesselator callback to notify this object of the type of GL command which is applicable to the upcoming vertex list.
| cmd | is the GL command. |
Definition at line 1420 of file vrml_layer.cpp.
Referenced by vrml_tess_begin().
| int VRML_LAYER::Import | ( | int | start, |
| GLUtesselator * | aTesselator ) |
Inserts all contours into the given tesselator.
This results in the renumbering of all vertices from start. Take care when using this call since tesselators cannot work on the internal data concurrently.
| start | is the starting number for vertex indices. |
| tess | is a pointer to a GLU Tesselator object. |
Definition at line 1704 of file vrml_layer.cpp.
References contours, error, vertices, VERTEX_3D::x, and VERTEX_3D::y.
Referenced by Tesselate().
| int VRML_LAYER::NewContour | ( | bool | aPlatedHole = false | ) |
Create a new list of vertices and returns an index to the list.
| aPlatedHole | is true if the new contour will represent a plated hole. |
Definition at line 315 of file vrml_layer.cpp.
References areas, contours, fix, and pth.
Referenced by AddArc(), AddCircle(), AddPolygon(), AddSlot(), and EXPORTER_PCB_VRML::ExportVrmlPolygonSet().
|
private |
Definition at line 1530 of file vrml_layer.cpp.
References addTriplet(), end, and vlist.
Referenced by glEnd().
|
private |
Definition at line 1547 of file vrml_layer.cpp.
References addTriplet(), end, and vlist.
Referenced by glEnd().
|
private |
Definition at line 1579 of file vrml_layer.cpp.
References addTriplet(), end, and vlist.
Referenced by glEnd().
|
private |
Definition at line 917 of file vrml_layer.cpp.
References end, error, getVertexByIndex(), ordmap, outline, tess, VRML_LAYER(), VERTEX_3D::x, and VERTEX_3D::y.
Referenced by Tesselate().
|
private |
Definition at line 1618 of file vrml_layer.cpp.
References areas, contours, end, tess, vertices, VERTEX_3D::x, and VERTEX_3D::y.
Referenced by Tesselate().
| void VRML_LAYER::ResetArcParams | ( | ) |
Reset the parameters used in calculating the number of vertices in an arc to default values.
Definition at line 217 of file vrml_layer.cpp.
References maxArcSeg, maxSegLength, and minSegLength.
Referenced by VRML_LAYER().
| bool VRML_LAYER::SetArcParams | ( | int | aMaxSeg, |
| double | aMinLength, | ||
| double | aMaxLength ) |
Set the parameters used in calculating the number of vertices in an arc.
The default settings are reasonable for rendering for unit lengths of 1mm.
| aMaxSeg | is the maximum number of segments for an arc with cords of length aMinLength. |
| aMinLength | is the minimum length of cords in an arc. |
| aMaxLength | is the maximum length of cords in an arc. |
Definition at line 234 of file vrml_layer.cpp.
References maxArcSeg, maxSegLength, and minSegLength.
| void VRML_LAYER::SetGLError | ( | GLenum | error_id | ) |
Set the error message according to the specified OpenGL error.
Definition at line 1511 of file vrml_layer.cpp.
References error.
Referenced by vrml_tess_err().
| void VRML_LAYER::SetVertexOffsets | ( | double | aXoffset, |
| double | aYoffset ) |
Definition at line 1780 of file vrml_layer.cpp.
| bool VRML_LAYER::Tesselate | ( | VRML_LAYER * | holes = NULL, |
| bool | aHolesOnly = false ) |
Create a list of outline vertices as well as the vertex sets required to render the surface.
| holes | is an optional pointer to cutouts to be imposed on the surface. |
| aHolesOnly | is true if the outline contains only holes. |
Definition at line 750 of file vrml_layer.cpp.
References areas, checkNContours(), clearTmp(), contours, eidx, error, extra_verts, Fault, fix, GetError(), GetSize(), hidx, idx, Import(), ord, ordmap, outline, pholes, pushOutline(), pushVertices(), solid, tess, vertices, VRML_LAYER(), VERTEX_3D::x, and VERTEX_3D::y.
Referenced by vrmlToSG().
| bool VRML_LAYER::Write3DIndices | ( | std::ostream & | aOutFile, |
| bool | aIncludePlatedHoles = false ) |
Write out the vertex sets required to render an extruded solid.
| aOutFile | is the file to write to. |
| aIncludePlatedHoles | is true if holes marked as plated should be rendered. Default is false since the user will usually render these holes in a different color. |
Definition at line 1170 of file vrml_layer.cpp.
References error, getVertexByIndex(), ordmap, outline, pholes, pth, solid, and triplets.
Referenced by EXPORTER_PCB_VRML::write_triangle_bag().
| bool VRML_LAYER::Write3DVertices | ( | double | aTopZ, |
| double | aBottomZ, | ||
| std::ostream & | aOutFile, | ||
| int | aPrecision ) |
Write out the list of vertices required to render an extruded solid.
| aTopZ | is the Z coordinate of the top plane. |
| aBottomZ | is the Z coordinate of the bottom plane. |
| aOutFile | is the file to write to. |
| aPrecision | is the precision of the output coordinates. |
Definition at line 1038 of file vrml_layer.cpp.
References error, FormatDoublet(), FormatSinglet(), getVertexByIndex(), offsetX, offsetY, ordmap, pholes, VERTEX_3D::x, and VERTEX_3D::y.
Referenced by EXPORTER_PCB_VRML::write_triangle_bag().
| bool VRML_LAYER::WriteIndices | ( | bool | aTopFlag, |
| std::ostream & | aOutFile ) |
Write out the vertex sets required to render a planar surface.
| aTopFlag | is true if the surface is to be visible from above; if false the surface will be visible from below. |
| aOutFile | is the file to write to. |
Definition at line 1123 of file vrml_layer.cpp.
References error, and triplets.
Referenced by EXPORTER_PCB_VRML::write_triangle_bag().
| bool VRML_LAYER::WriteVertices | ( | double | aZcoord, |
| std::ostream & | aOutFile, | ||
| int | aPrecision ) |
Write out the list of vertices required to render a planar surface.
| aZcoord | is the Z coordinate of the plane. |
| aOutFile | is the file to write to. |
| aPrecision | is the precision of the output coordinates. |
Definition at line 995 of file vrml_layer.cpp.
References error, FormatDoublet(), FormatSinglet(), getVertexByIndex(), offsetX, offsetY, ordmap, pholes, VERTEX_3D::x, and VERTEX_3D::y.
Referenced by EXPORTER_PCB_VRML::write_triangle_bag().
|
private |
Definition at line 422 of file vrml_layer.h.
Referenced by AddVertex(), checkNContours(), Clear(), EnsureWinding(), NewContour(), pushVertices(), and Tesselate().
|
private |
Definition at line 419 of file vrml_layer.h.
Referenced by AddVertex(), AppendArc(), AppendCircle(), checkNContours(), Clear(), EnsureWinding(), GetNContours(), Import(), NewContour(), pushVertices(), and Tesselate().
|
private |
Definition at line 430 of file vrml_layer.h.
Referenced by AddExtraVertex(), clearTmp(), Tesselate(), and VRML_LAYER().
|
private |
Definition at line 427 of file vrml_layer.h.
Referenced by AddArc(), AddCircle(), AddPolygon(), AddSlot(), AddVertex(), AppendArc(), AppendCircle(), EnsureWinding(), GetError(), GetVertexByIndex(), getVertexByIndex(), Import(), pushOutline(), SetGLError(), Tesselate(), Write3DIndices(), Write3DVertices(), WriteIndices(), and WriteVertices().
|
private |
Definition at line 431 of file vrml_layer.h.
Referenced by AddExtraVertex(), clearTmp(), getVertexByIndex(), and Tesselate().
| bool VRML_LAYER::Fault |
set to true when a fault is encountered during tesselation
Definition at line 403 of file vrml_layer.h.
Referenced by clearTmp(), Tesselate(), VRML_LAYER(), and vrml_tess_err().
|
private |
Definition at line 415 of file vrml_layer.h.
Referenced by AddVertex(), Clear(), NewContour(), Tesselate(), and VRML_LAYER().
|
private |
Definition at line 437 of file vrml_layer.h.
Referenced by clearTmp(), glEnd(), glStart(), and VRML_LAYER().
|
private |
Definition at line 429 of file vrml_layer.h.
Referenced by AddExtraVertex(), clearTmp(), getVertexByIndex(), Tesselate(), and VRML_LAYER().
|
private |
Definition at line 416 of file vrml_layer.h.
Referenced by AddExtraVertex(), AddVertex(), Clear(), getVertexByIndex(), Tesselate(), and VRML_LAYER().
|
private |
Definition at line 407 of file vrml_layer.h.
Referenced by AppendCircle(), calcNSides(), GetArcParams(), ResetArcParams(), and SetArcParams().
|
private |
Definition at line 409 of file vrml_layer.h.
Referenced by AppendCircle(), calcNSides(), GetArcParams(), ResetArcParams(), and SetArcParams().
|
private |
Definition at line 408 of file vrml_layer.h.
Referenced by AppendCircle(), calcNSides(), GetArcParams(), ResetArcParams(), and SetArcParams().
|
private |
Definition at line 412 of file vrml_layer.h.
Referenced by Get2DTriangles(), Get3DTriangles(), SetVertexOffsets(), VRML_LAYER(), Write3DVertices(), and WriteVertices().
|
private |
Definition at line 413 of file vrml_layer.h.
Referenced by Get2DTriangles(), Get3DTriangles(), SetVertexOffsets(), VRML_LAYER(), Write3DVertices(), and WriteVertices().
|
private |
Definition at line 417 of file vrml_layer.h.
Referenced by clearTmp(), glPushVertex(), Tesselate(), and VRML_LAYER().
|
private |
Definition at line 425 of file vrml_layer.h.
Referenced by clearTmp(), Get2DTriangles(), Get3DTriangles(), glPushVertex(), pushOutline(), Tesselate(), Write3DIndices(), Write3DVertices(), and WriteVertices().
|
private |
Definition at line 424 of file vrml_layer.h.
Referenced by clearTmp(), Get2DTriangles(), Get3DTriangles(), glEnd(), pushOutline(), Tesselate(), and Write3DIndices().
|
private |
Definition at line 433 of file vrml_layer.h.
Referenced by Get2DTriangles(), Get3DTriangles(), Tesselate(), VRML_LAYER(), Write3DIndices(), Write3DVertices(), and WriteVertices().
|
private |
Definition at line 420 of file vrml_layer.h.
Referenced by AddVertex(), Clear(), NewContour(), and Write3DIndices().
|
private |
Definition at line 421 of file vrml_layer.h.
Referenced by clearTmp(), glEnd(), Tesselate(), and Write3DIndices().
|
private |
Definition at line 436 of file vrml_layer.h.
Referenced by pushOutline(), pushVertices(), Tesselate(), VRML_LAYER(), and ~VRML_LAYER().
|
private |
Definition at line 423 of file vrml_layer.h.
Referenced by addTriplet(), clearTmp(), Get2DTriangles(), Get3DTriangles(), Write3DIndices(), and WriteIndices().
|
private |
Definition at line 418 of file vrml_layer.h.
Referenced by AddVertex(), Clear(), clearTmp(), EnsureWinding(), GetSize(), GetVertexByIndex(), getVertexByIndex(), Import(), pushVertices(), and Tesselate().
|
private |
Definition at line 432 of file vrml_layer.h.
Referenced by clearTmp(), glEnd(), glPushVertex(), glStart(), processFan(), processStrip(), and processTri().