GLC_Geometry : parent class for all geometry. More...
#include <glc_geometry.h>
Public Member Functions | |
Constructor / Destructor | |
| GLC_Geometry (const QString &, const bool) | |
| Default constructor. | |
| GLC_Geometry (const GLC_Geometry &) | |
| Copy constructor. | |
| GLC_Geometry & | operator= (const GLC_Geometry &) |
| Overload "=" operator. | |
| virtual | ~GLC_Geometry () |
| Destructor. | |
Get Functions | |
| GLC_uint | id () const |
| Get Object ID. | |
| QString | name () const |
| Get Object Name. | |
| bool | isValid (void) const |
| Return true if the geometry is valid. | |
| bool | hasMaterial () const |
| Return true if the geometry has material. | |
| GLC_Material * | firstMaterial (void) const |
| Return first material of geometry. | |
| int | materialCount () const |
| Return the number of materials. | |
| GLC_Material * | material (const GLC_uint key) const |
| Return the specified mesh sub material. | |
| QSet< GLC_Material * > | materialSet () const |
| Get materials Set. | |
| QList< GLC_uint > | materialIds () const |
| Get materials ID List. | |
| bool | containsMaterial (const GLC_uint key) const |
| Return true if Material key is in the mesh. | |
| virtual const GLC_BoundingBox & | boundingBox (void)=0 |
| Return the geometry bounding box. | |
| bool | boundingBoxIsValid () const |
| Return true if the bounding box is valid. | |
| virtual GLC_Geometry * | clone () const =0 |
| Clone the geometry. | |
| bool | isTransparent () const |
| Get the geometry transparency. | |
| bool | hasTransparentMaterials () const |
| Return true if the geometry contains transparent materials. | |
| bool | usedColorPerVertex () const |
| Return true if color per vertex is used. | |
| bool | typeIsWire () const |
| Return true if the geometry type is wireframe. | |
| virtual unsigned int | faceCount () const |
| Get the number of faces. | |
| virtual unsigned int | VertexCount () const |
| Get the number of vertex. | |
| GLfloat | lineWidth () const |
| Return the line width. | |
| QColor | wireColor () const |
| Return this geometry wire color. | |
| bool | wireDataIsEmpty () const |
| Return true if wire data is empty. | |
| GLfloatVector | wirePositionVector () const |
| Return the wire position vector. | |
| int | wirePolylineCount () const |
| Return the number of wire polylines. | |
| GLuint | wirePolylineOffset (int index) const |
| Return the polyline offset from the given index. | |
| GLsizei | wirePolylineSize (int index) const |
| Return the polyline size from the given index. | |
Set Functions | |
| virtual void | clear () |
| Clear the content of the geometry and makes it empty. | |
| virtual void | replaceMasterMaterial (GLC_Material *) |
| Replace the Master material. | |
| void | addMaterial (GLC_Material *) |
| Add material to the geometry. | |
| void | colorPerVertex (const bool colorPerVertex) |
| Set the color per vertex usage. | |
| void | updateTransparentMaterialNumber () |
| Update the transparent material number. | |
| virtual void | reverseNormals () |
| Reverse normal. | |
| virtual void | setCurrentLod (const int) |
| Set the lod Index. | |
| void | setId (const GLC_uint id) |
| Set Geometry Id. | |
| void | setName (const QString name) |
| Set geometry name. | |
| GLC_uint | addPolyline (const GLfloatVector &vector) |
| Add a Polyline to the geometry and returns its id. | |
| void | setLineWidth (GLfloat lineWidth) |
| Set Line width. | |
| void | setWireColor (const QColor &color) |
| Set this geometry wire color. | |
Protected Member Functions | |
Protected services Functions | |
| void | removeMaterial (GLC_uint) |
| Remove the specified material from the geometry. | |
| void | clearWireAndBoundingBox () |
| Clear the wire data and the bounding box of this geometry. | |
Protected Attributes | |
| bool | m_GeometryIsValid |
| Geometry validity. | |
| GLC_BoundingBox * | m_pBoundingBox |
| Bounding box. | |
| MaterialHash | m_MaterialHash |
| Material Hash table. | |
| bool | m_UseColorPerVertex |
| Color per vertex usage. | |
| bool | m_IsSelected |
| Selection state. | |
| GLC_WireData | m_WireData |
| Wire Data. | |
| QColor | m_WireColor |
| The wire color. | |
| GLfloat | m_LineWidth |
| The line width. | |
Private Member Functions | |
Private services Functions | |
| void | clearGeometry () |
| Clear the content of this object and makes it empty. | |
Private Attributes | |
| bool | m_IsWire |
| Geometry type is wire. | |
| int | m_TransparentMaterialNumber |
| The number of transparent materials. | |
| GLC_uint | m_Id |
| The Unique id of an Geometry. | |
| QString | m_Name |
| Name of geometry. | |
OpenGL Functions | |
|
| |
| virtual void | glLoadTexture (void) |
| Load each textures of materials. | |
| virtual void | render (const GLC_RenderProperties &) |
| Virtual interface for OpenGL execution. | |
| virtual void | glDraw (const GLC_RenderProperties &)=0 |
| Virtual interface for OpenGL Geometry set up. | |
| virtual void | glPropGeom (const GLC_RenderProperties &) |
| Virtual interface for OpenGL Geometry properties. | |
GLC_Geometry : parent class for all geometry.
GLC_Geometry is a abstract class.
Main attributes of GLC_Geometry:
GLC_Geometry provides :
Empty virtual method for setting the current level of detail (between 0 and 100) : GLC_Geometry::setCurrentLod()
Definition at line 65 of file glc_geometry.h.
| GLC_Geometry::GLC_Geometry | ( | const QString & | name, | |
| const bool | typeIsWire | |||
| ) |
Default constructor.
QString Name const bool typeIsWire
Definition at line 36 of file glc_geometry.cpp.
| GLC_Geometry::GLC_Geometry | ( | const GLC_Geometry & | sourceGeom | ) |
Copy constructor.
const GLC_VboGeom geometry to copy
Definition at line 53 of file glc_geometry.cpp.
References m_MaterialHash, and m_pBoundingBox.
| GLC_Geometry::~GLC_Geometry | ( | ) | [virtual] |
Destructor.
Definition at line 104 of file glc_geometry.cpp.
References m_MaterialHash, and m_pBoundingBox.
| void GLC_Geometry::addMaterial | ( | GLC_Material * | pMaterial | ) |
Add material to the geometry.
Definition at line 190 of file glc_geometry.cpp.
References GLC_Material::addGLC_Geom(), GLC_Object::id(), GLC_Material::isTransparent(), m_IsWire, m_MaterialHash, and m_TransparentMaterialNumber.
Referenced by GLC_PointSprite::GLC_PointSprite(), GLC_Mesh::loadFromDataStream(), render(), GLC_Mesh::replaceMasterMaterial(), replaceMasterMaterial(), GLC_Mesh::replaceMaterial(), and GLC_Mesh::setCurrentMaterial().
| GLC_uint GLC_Geometry::addPolyline | ( | const GLfloatVector & | vector | ) | [inline] |
Add a Polyline to the geometry and returns its id.
Reimplemented in GLC_Polylines.
Definition at line 248 of file glc_geometry.h.
Referenced by GLC_Rectangle::createMeshAndWire(), GLC_Disc::createMeshAndWire(), GLC_Cylinder::createMeshAndWire(), GLC_Circle::createWire(), GLC_Box::createWire(), GLC_Arrow::createWire(), and GLC_3dxmlToWorld::loadPolyline().
| virtual const GLC_BoundingBox& GLC_Geometry::boundingBox | ( | void | ) | [pure virtual] |
Return the geometry bounding box.
Implemented in GLC_Arrow, GLC_Box, GLC_Circle, GLC_Cylinder, GLC_Disc, GLC_Line, GLC_Mesh, GLC_Point, GLC_PointSprite, GLC_Polylines, and GLC_Rectangle.
Referenced by GLC_3DViewInstance::computeBoundingBox(), GLC_3DViewInstance::render(), and GLC_OctreeNode::updateViewableInstances().
| bool GLC_Geometry::boundingBoxIsValid | ( | ) | const [inline] |
Return true if the bounding box is valid.
Definition at line 146 of file glc_geometry.h.
| void GLC_Geometry::clear | ( | ) | [virtual] |
Clear the content of the geometry and makes it empty.
Reimplemented in GLC_Mesh, and GLC_Polylines.
Definition at line 143 of file glc_geometry.cpp.
References clearGeometry().
Referenced by operator=().
| void GLC_Geometry::clearGeometry | ( | ) | [private] |
Clear the content of this object and makes it empty.
Definition at line 343 of file glc_geometry.cpp.
References GLC_WireData::clear(), m_GeometryIsValid, m_IsSelected, m_IsWire, m_MaterialHash, m_Name, m_pBoundingBox, m_TransparentMaterialNumber, m_UseColorPerVertex, and m_WireData.
Referenced by clear().
| void GLC_Geometry::clearWireAndBoundingBox | ( | ) | [inline, protected] |
Clear the wire data and the bounding box of this geometry.
Definition at line 290 of file glc_geometry.h.
Referenced by GLC_Mesh::clearMeshWireAndBoundingBox(), GLC_Circle::setAngle(), GLC_Circle::setDiscretion(), GLC_Arrow::setEndPoint(), GLC_Arrow::setHeadAngle(), GLC_Arrow::setHeadLength(), GLC_Circle::setRadius(), GLC_Arrow::setStartPoint(), and GLC_Arrow::setViewDir().
| virtual GLC_Geometry* GLC_Geometry::clone | ( | ) | const [pure virtual] |
Clone the geometry.
Implemented in GLC_Arrow, GLC_Box, GLC_Circle, GLC_Cylinder, GLC_Disc, GLC_Line, GLC_Mesh, GLC_Point, GLC_PointSprite, GLC_Polylines, and GLC_Rectangle.
Referenced by GLC_3DRep::merge().
| void GLC_Geometry::colorPerVertex | ( | const bool | colorPerVertex | ) | [inline] |
Set the color per vertex usage.
Definition at line 220 of file glc_geometry.h.
| bool GLC_Geometry::containsMaterial | ( | const GLC_uint | key | ) | const [inline] |
Return true if Material key is in the mesh.
Definition at line 139 of file glc_geometry.h.
Referenced by GLC_Mesh::loadFromDataStream(), removeMaterial(), GLC_Mesh::replaceMaterial(), GLC_3DRep::replaceMaterial(), and GLC_Mesh::setCurrentMaterial().
| unsigned int GLC_Geometry::faceCount | ( | ) | const [virtual] |
Get the number of faces.
Reimplemented in GLC_Mesh.
Definition at line 128 of file glc_geometry.cpp.
| GLC_Material* GLC_Geometry::firstMaterial | ( | void | ) | const [inline] |
Return first material of geometry.
Definition at line 113 of file glc_geometry.h.
Referenced by GLC_Rectangle::createMeshAndWire(), GLC_Disc::createMeshAndWire(), GLC_Cylinder::createMeshAndWire(), GLC_Box::createMeshAndWire(), GLC_Mesh::replaceMasterMaterial(), replaceMasterMaterial(), and GLC_Line::setColor().
| virtual void GLC_Geometry::glDraw | ( | const GLC_RenderProperties & | ) | [protected, pure virtual] |
Virtual interface for OpenGL Geometry set up.
This Virtual function have to be implemented in concrete class.
Implemented in GLC_Arrow, GLC_Box, GLC_Circle, GLC_Cylinder, GLC_Disc, GLC_Line, GLC_Mesh, GLC_Point, GLC_PointSprite, GLC_Polylines, and GLC_Rectangle.
Referenced by render().
| void GLC_Geometry::glLoadTexture | ( | void | ) | [virtual] |
Load each textures of materials.
Definition at line 233 of file glc_geometry.cpp.
References m_MaterialHash.
| void GLC_Geometry::glPropGeom | ( | const GLC_RenderProperties & | renderProperties | ) | [protected, virtual] |
Virtual interface for OpenGL Geometry properties.
Definition at line 284 of file glc_geometry.cpp.
References GLC_Material::glExecute(), GLC_SelectionMaterial::glExecute(), GLC_Material::hasTexture(), GLC_RenderProperties::isSelected(), lineWidth(), m_IsWire, m_LineWidth, m_MaterialHash, and m_WireColor.
Referenced by render().
| bool GLC_Geometry::hasMaterial | ( | ) | const [inline] |
Return true if the geometry has material.
Definition at line 109 of file glc_geometry.h.
Referenced by GLC_Rectangle::createMeshAndWire(), GLC_Disc::createMeshAndWire(), GLC_Cylinder::createMeshAndWire(), GLC_Box::createMeshAndWire(), GLC_Mesh::replaceMasterMaterial(), and GLC_Line::setColor().
| bool GLC_Geometry::hasTransparentMaterials | ( | ) | const [inline] |
Return true if the geometry contains transparent materials.
Definition at line 157 of file glc_geometry.h.
Referenced by GLC_3DViewInstance::hasTransparentMaterials().
| GLC_uint GLC_Geometry::id | ( | ) | const [inline] |
Get Object ID.
Definition at line 97 of file glc_geometry.h.
Referenced by GLC_Material::addGLC_Geom(), GLC_3DViewInstance::renderForBodySelection(), and GLC_3DViewInstance::renderForPrimitiveSelection().
| bool GLC_Geometry::isTransparent | ( | ) | const [inline] |
Get the geometry transparency.
Definition at line 153 of file glc_geometry.h.
Referenced by GLC_3DViewInstance::isTransparent(), GLC_Mesh::normalRenderLoop(), GLC_Mesh::primitiveRenderLoop(), GLC_Mesh::primitiveSelectedRenderLoop(), and render().
| bool GLC_Geometry::isValid | ( | void | ) | const [inline] |
Return true if the geometry is valid.
Definition at line 105 of file glc_geometry.h.
| GLfloat GLC_Geometry::lineWidth | ( | ) | const [inline] |
| GLC_Material* GLC_Geometry::material | ( | const GLC_uint | key | ) | const [inline] |
Return the specified mesh sub material.
Definition at line 127 of file glc_geometry.h.
Referenced by GLC_Distance::addMeshTrianglesToPQP(), and GLC_WorldTo3dxml::writeGeometryFace().
| int GLC_Geometry::materialCount | ( | ) | const [inline] |
Return the number of materials.
Definition at line 123 of file glc_geometry.h.
Referenced by GLC_Distance::addMeshTrianglesToPQP().
| QList<GLC_uint> GLC_Geometry::materialIds | ( | ) | const [inline] |
Get materials ID List.
Definition at line 135 of file glc_geometry.h.
Referenced by GLC_Distance::addMeshTrianglesToPQP(), and GLC_WorldTo3dxml::writeGeometry().
| QSet<GLC_Material*> GLC_Geometry::materialSet | ( | ) | const [inline] |
Get materials Set.
Definition at line 131 of file glc_geometry.h.
| QString GLC_Geometry::name | ( | ) | const [inline] |
Get Object Name.
Definition at line 101 of file glc_geometry.h.
Referenced by GLC_ColladaToWorld::addPolylistToCurrentMesh(), GLC_3DRep::GLC_3DRep(), render(), and GLC_Mesh::saveToDataStream().
| GLC_Geometry & GLC_Geometry::operator= | ( | const GLC_Geometry & | sourceGeom | ) |
Overload "=" operator.
Definition at line 83 of file glc_geometry.cpp.
References clear(), glc::GLC_GenGeomID(), m_GeometryIsValid, m_Id, m_IsSelected, m_IsWire, m_LineWidth, m_MaterialHash, m_Name, m_pBoundingBox, m_TransparentMaterialNumber, m_UseColorPerVertex, m_WireColor, and m_WireData.
| void GLC_Geometry::removeMaterial | ( | GLC_uint | id | ) | [protected] |
Remove the specified material from the geometry.
Definition at line 326 of file glc_geometry.cpp.
References containsMaterial(), GLC_Material::delGLC_Geom(), GLC_Material::isTransparent(), GLC_Material::isUnused(), m_MaterialHash, and m_TransparentMaterialNumber.
Referenced by replaceMasterMaterial(), and GLC_Mesh::replaceMaterial().
| void GLC_Geometry::render | ( | const GLC_RenderProperties & | renderProperties | ) | [virtual] |
Virtual interface for OpenGL execution.
Reimplemented in GLC_PointSprite.
Definition at line 246 of file glc_geometry.cpp.
References addMaterial(), glDraw(), glPropGeom(), GLC_State::isInSelectionMode(), GLC_RenderProperties::isSelected(), isTransparent(), m_GeometryIsValid, m_IsSelected, m_IsWire, m_MaterialHash, name(), GLC_RenderProperties::renderingFlag(), GLC_Object::setName(), and glc::TransparentRenderFlag.
Referenced by GLC_RepTrackBallMover::glDraw(), GLC_3DViewInstance::render(), GLC_3DViewInstance::renderForBodySelection(), and GLC_3DViewInstance::renderForPrimitiveSelection().
| void GLC_Geometry::replaceMasterMaterial | ( | GLC_Material * | pMaterial | ) | [virtual] |
Replace the Master material.
Reimplemented in GLC_Mesh.
Definition at line 149 of file glc_geometry.cpp.
References addMaterial(), firstMaterial(), m_IsWire, m_MaterialHash, and removeMaterial().
Referenced by GLC_Octree::createBoxWithMaterial().
| virtual void GLC_Geometry::reverseNormals | ( | ) | [inline, virtual] |
| virtual void GLC_Geometry::setCurrentLod | ( | const | int | ) | [inline, virtual] |
Set the lod Index.
The value must be between 0 and 100
Reimplemented in GLC_Mesh.
Definition at line 237 of file glc_geometry.h.
Referenced by GLC_3DViewInstance::render(), GLC_3DViewInstance::renderForBodySelection(), and GLC_3DViewInstance::renderForPrimitiveSelection().
| void GLC_Geometry::setId | ( | const GLC_uint | id | ) | [inline] |
Set Geometry Id.
Definition at line 240 of file glc_geometry.h.
| void GLC_Geometry::setLineWidth | ( | GLfloat | lineWidth | ) | [inline] |
Set Line width.
Definition at line 252 of file glc_geometry.h.
Referenced by GLC_CuttingPlane::create3DviewInstance(), GLC_RepFlyMover::createRepresentation(), and GLC_RepFlyMover::setThickness().
| void GLC_Geometry::setName | ( | const QString | name | ) | [inline] |
Set geometry name.
Definition at line 244 of file glc_geometry.h.
Referenced by GLC_ObjToWorld::changeGroup(), GLC_3dsToWorld::create3DRep(), GLC_3dxmlToWorld::createReferenceRep(), GLC_StlToWorld::CreateWorldFromStl(), GLC_Mesh::loadFromDataStream(), GLC_ColladaToWorld::loadGeometry(), and GLC_StlToWorld::scanFacet().
| void GLC_Geometry::setWireColor | ( | const QColor & | color | ) |
Set this geometry wire color.
Reimplemented in GLC_Mesh.
Definition at line 215 of file glc_geometry.cpp.
References m_TransparentMaterialNumber, and m_WireColor.
Referenced by GLC_CuttingPlane::create3DviewInstance(), GLC_RepFlyMover::createRepresentation(), GLC_RepTrackBallMover::GLC_RepTrackBallMover(), GLC_RepTrackBallMover::setMainColor(), and GLC_RepFlyMover::setMainColor().
| bool GLC_Geometry::typeIsWire | ( | ) | const [inline] |
Return true if the geometry type is wireframe.
Definition at line 165 of file glc_geometry.h.
Referenced by GLC_Mesh::glDraw().
| void GLC_Geometry::updateTransparentMaterialNumber | ( | ) |
Update the transparent material number.
Definition at line 170 of file glc_geometry.cpp.
References m_MaterialHash, m_TransparentMaterialNumber, and m_WireColor.
| bool GLC_Geometry::usedColorPerVertex | ( | ) | const [inline] |
Return true if color per vertex is used.
Definition at line 161 of file glc_geometry.h.
| unsigned int GLC_Geometry::VertexCount | ( | ) | const [virtual] |
Get the number of vertex.
Reimplemented in GLC_Mesh.
Definition at line 134 of file glc_geometry.cpp.
| QColor GLC_Geometry::wireColor | ( | ) | const [inline] |
Return this geometry wire color.
Reimplemented in GLC_Mesh.
Definition at line 179 of file glc_geometry.h.
| bool GLC_Geometry::wireDataIsEmpty | ( | ) | const [inline] |
Return true if wire data is empty.
Definition at line 183 of file glc_geometry.h.
Referenced by GLC_WorldTo3dxml::writeGeometry().
| int GLC_Geometry::wirePolylineCount | ( | ) | const [inline] |
Return the number of wire polylines.
Definition at line 191 of file glc_geometry.h.
Referenced by GLC_WorldTo3dxml::writeEdges().
| GLuint GLC_Geometry::wirePolylineOffset | ( | int | index | ) | const [inline] |
Return the polyline offset from the given index.
Definition at line 195 of file glc_geometry.h.
Referenced by GLC_WorldTo3dxml::writeEdges().
| GLsizei GLC_Geometry::wirePolylineSize | ( | int | index | ) | const [inline] |
Return the polyline size from the given index.
Definition at line 199 of file glc_geometry.h.
Referenced by GLC_WorldTo3dxml::writeEdges().
| GLfloatVector GLC_Geometry::wirePositionVector | ( | ) | const [inline] |
Return the wire position vector.
Definition at line 187 of file glc_geometry.h.
Referenced by GLC_WorldTo3dxml::writeEdges().
bool GLC_Geometry::m_GeometryIsValid [protected] |
Geometry validity.
Definition at line 316 of file glc_geometry.h.
Referenced by GLC_Mesh::addTriangles(), GLC_Mesh::addTrianglesFan(), GLC_Mesh::addTrianglesStrip(), clearGeometry(), GLC_Mesh::glDraw(), operator=(), render(), GLC_Mesh::reverseNormals(), and GLC_PointSprite::setSize().
GLC_uint GLC_Geometry::m_Id [private] |
The Unique id of an Geometry.
Generated on creation
Definition at line 353 of file glc_geometry.h.
Referenced by operator=().
bool GLC_Geometry::m_IsSelected [protected] |
Selection state.
Definition at line 328 of file glc_geometry.h.
Referenced by GLC_Mesh::activateVboAndIbo(), GLC_Mesh::activateVertexArray(), clearGeometry(), GLC_Mesh::clearMeshWireAndBoundingBox(), GLC_Mesh::glDraw(), GLC_Mesh::normalRenderLoop(), operator=(), GLC_Mesh::OverwriteMaterialRenderLoop(), GLC_Mesh::OverwriteTransparencyRenderLoop(), and render().
bool GLC_Geometry::m_IsWire [private] |
Geometry type is wire.
Definition at line 346 of file glc_geometry.h.
Referenced by addMaterial(), clearGeometry(), glPropGeom(), operator=(), render(), and replaceMasterMaterial().
GLfloat GLC_Geometry::m_LineWidth [protected] |
The line width.
Definition at line 337 of file glc_geometry.h.
Referenced by glPropGeom(), and operator=().
MaterialHash GLC_Geometry::m_MaterialHash [protected] |
Material Hash table.
Definition at line 322 of file glc_geometry.h.
Referenced by addMaterial(), clearGeometry(), GLC_Geometry(), glLoadTexture(), glPropGeom(), GLC_Mesh::normalRenderLoop(), operator=(), GLC_Mesh::OverwriteTransparencyRenderLoop(), GLC_Mesh::primitiveRenderLoop(), GLC_Mesh::primitiveSelectedRenderLoop(), removeMaterial(), GLC_PointSprite::render(), render(), replaceMasterMaterial(), GLC_Mesh::replaceMaterial(), updateTransparentMaterialNumber(), and ~GLC_Geometry().
QString GLC_Geometry::m_Name [private] |
Name of geometry.
Definition at line 356 of file glc_geometry.h.
Referenced by clearGeometry(), and operator=().
GLC_BoundingBox* GLC_Geometry::m_pBoundingBox [protected] |
Bounding box.
Definition at line 319 of file glc_geometry.h.
Referenced by GLC_Polylines::boundingBox(), GLC_PointSprite::boundingBox(), GLC_Point::boundingBox(), GLC_Mesh::boundingBox(), GLC_Line::boundingBox(), GLC_Circle::boundingBox(), GLC_Arrow::boundingBox(), clearGeometry(), GLC_Geometry(), operator=(), and ~GLC_Geometry().
int GLC_Geometry::m_TransparentMaterialNumber [private] |
The number of transparent materials.
Definition at line 349 of file glc_geometry.h.
Referenced by addMaterial(), clearGeometry(), operator=(), removeMaterial(), setWireColor(), and updateTransparentMaterialNumber().
bool GLC_Geometry::m_UseColorPerVertex [protected] |
Color per vertex usage.
Definition at line 325 of file glc_geometry.h.
Referenced by clearGeometry(), and operator=().
QColor GLC_Geometry::m_WireColor [protected] |
The wire color.
Definition at line 334 of file glc_geometry.h.
Referenced by GLC_Mesh::glDraw(), glPropGeom(), operator=(), GLC_Line::setColor(), setWireColor(), and updateTransparentMaterialNumber().
GLC_WireData GLC_Geometry::m_WireData [protected] |
Wire Data.
Definition at line 331 of file glc_geometry.h.
Referenced by GLC_Polylines::addPolyline(), GLC_Polylines::boundingBox(), GLC_Mesh::boundingBox(), GLC_Circle::boundingBox(), GLC_Arrow::boundingBox(), GLC_Polylines::clear(), clearGeometry(), GLC_Disc::createMeshAndWire(), GLC_Cylinder::createMeshAndWire(), GLC_Circle::createWire(), GLC_Box::createWire(), GLC_Arrow::createWire(), GLC_Polylines::glDraw(), GLC_Mesh::glDraw(), GLC_Circle::glDraw(), GLC_Arrow::glDraw(), GLC_Polylines::isEmpty(), GLC_Mesh::loadFromDataStream(), operator=(), and GLC_Mesh::saveToDataStream().