24 #ifndef __ODGIGEOMETRY_H__
25 #define __ODGIGEOMETRY_H__
70 OdDbStub** m_pLayerIds;
71 OdDbStub** m_pLinetypeIds;
79 , m_pLinetypeIds(
NULL)
80 , m_pSelectionMarkers(
NULL)
81 , m_pVisibilities(
NULL)
168 const OdUInt8* visibilities) { m_pVisibilities = visibilities; }
195 OdDbStub**
layerIds()
const {
return m_pLayerIds; }
248 OdDbStub** m_pLayerIds;
250 const OdUInt8* m_pVisibilities;
252 OdDbStub** m_pMaterialIds;
260 , m_pTrueColors(
NULL)
262 , m_pSelectionMarkers(
NULL)
263 , m_pVisibilities(
NULL)
265 , m_pMaterialIds(
NULL)
267 , m_pTransparency(
NULL)
268 , m_pFillOrigins(
NULL)
269 , m_pFillDirections(
NULL)
355 const OdUInt8* visibilities) { m_pVisibilities = visibilities; }
367 OdDbStub* *materialIds) { m_pMaterialIds = materialIds; }
390 const OdCmTransparency *transparencies) { m_pTransparency = transparencies; }
441 OdDbStub**
layerIds()
const {
return m_pLayerIds; }
558 , m_pTrueColors(
NULL)
559 , m_pMappingCoords(
NULL)
892 virtual void polygon(
1176 virtual void pushClipBoundary(
1195 virtual void polypoint(
1254 virtual void rowOfDots(
1271 polygon(numVertices, vertexList);
1279 for (
OdInt32 nPoint = 0; nPoint < numPoints; nPoint++)
1282 const OdGsMarker baseSubEntMarker = (pSubEntMarkers) ? pSubEntMarkers[nPoint] : -1;
1283 tmpVerts[1] = tmpVerts[0] = vertexList[nPoint];
1284 polyline(2, tmpVerts, pNormal, baseSubEntMarker);
1291 polypoint(numPoints, vertexList, pColors,
NULL, pNormals, pSubEntMarkers);
1297 polypoint(numPoints, vertexList,
NULL, pNormals, pSubEntMarkers);
1303 for (
OdInt32 nPoint = 0; nPoint < numPoints; nPoint++)
1305 tmpVerts[1] = tmpVerts[0] = startPoint + dirToNextPoint * double(nPoint);
OdArray< OdGeCurve2d *, OdMemoryAllocator< OdGeCurve2d * > > OdGiEdge2dArray
bool isEqualTo(const OdGeMatrix3d &matrix, const OdGeTol &tol=OdGeContext::gTol) const
static GE_STATIC_EXPORT const OdGeMatrix3d kIdentity
OdGiClipBoundarySaver(OdGiGeometry &geom, bool bSave)
OdDbStub ** layerIds() const
OdDbStub ** linetypeIds() const
void setTrueColors(const OdCmEntityColor *colors)
void setColors(const OdUInt16 *colors)
const OdGsMarker * selectionMarkers() const
const OdCmEntityColor * trueColors() const
void setVisibility(const OdUInt8 *visibilities)
const OdUInt16 * colors() const
void setSelectionMarkers(const OdGsMarker *selectionMarkers)
const OdUInt8 * visibility() const
void setLayers(OdDbStub **layerIds)
void setLinetypes(OdDbStub **linetypeIds)
const OdGePoint2d * fillOrigins() const
const OdGeVector3d * normals() const
const OdUInt8 * visibility() const
void setFillOrigins(const OdGePoint2d *fillOrigins)
void setLayers(OdDbStub **layerIds)
void setNormals(const OdGeVector3d *normals)
void setSelectionMarkers(const OdGsMarker *selectionMarkers)
void setMaterials(OdDbStub **materialIds)
void setColors(const OdUInt16 *colors)
void setTrueColors(const OdCmEntityColor *colors)
void setFillDirections(const OdGeVector2d *fillDirections)
void setMappers(const OdGiMapper *mappers)
const OdCmEntityColor * trueColors() const
OdDbStub ** materials() const
void setTransparency(const OdCmTransparency *transparencies)
const OdUInt16 * colors() const
const OdGiMapper * mappers() const
const OdGsMarker * selectionMarkers() const
const OdCmTransparency * transparency() const
OdDbStub ** layerIds() const
const OdGeVector2d * fillDirections() const
void setVisibility(const OdUInt8 *visibilities)
virtual void circle(const OdGePoint3d ¢er, double radius, const OdGeVector3d &normal)=0
virtual void circularArc(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple)=0
virtual void edge(const OdGiEdge2dArray &edges)=0
virtual OdGeMatrix3d getModelToWorldTransform() const =0
virtual void image(const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)=0
virtual void ray(const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)=0
virtual void polypoint(OdInt32 numPoints, const OdGePoint3d *vertexList, const OdCmEntityColor *pColors, const OdCmTransparency *pTransparency, const OdGeVector3d *pNormals=NULL, const OdGsMarker *pSubEntMarkers=NULL, OdInt32 nPointSize=0)
virtual void popModelTransform()=0
virtual void shell(OdInt32 numVertices, const OdGePoint3d *vertexList, OdInt32 faceListSize, const OdInt32 *faceList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)=0
virtual void pline(const OdGiPolyline &polyline, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)=0
virtual void text(const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle)=0
virtual const OdGiPathNode * currentGiPath() const
virtual OdGeMatrix3d getWorldToModelTransform() const =0
ODRX_DECLARE_MEMBERS(OdGiGeometry)
virtual void circularArc(const OdGePoint3d ¢er, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)=0
virtual void text(const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)=0
virtual void polyline(OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, OdGsMarker baseSubEntMarker=-1)=0
virtual void nurbs(const OdGeNurbCurve3d &nurbsCurve)=0
virtual void pushClipBoundary(OdGiClipBoundary *pBoundary)=0
virtual void xline(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)=0
virtual void worldLine(const OdGePoint3d points[2])=0
virtual void pushModelTransform(const OdGeMatrix3d &xfm)=0
virtual void ellipArc(const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)=0
virtual void circle(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)=0
virtual void polygon(OdInt32 numVertices, const OdGePoint3d *vertexList)=0
virtual void draw(const OdGiDrawable *pDrawable)=0
virtual void popClipBoundary()=0
virtual void pushModelTransform(const OdGeVector3d &normal)=0
virtual void mesh(OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)=0
virtual void rowOfDots(OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
void setMappingCoords(MapChannel channel, const OdGePoint3d *coords)
void setOrientationFlag(const OdGiOrientationType orientationType)
OdGiOrientationType orientationFlag() const
const OdCmEntityColor * trueColors() const
void setNormals(const OdGeVector3d *normals)
const OdGePoint3d * mappingCoords(MapChannel channel) const
void setTrueColors(const OdCmEntityColor *colors)
const OdGeVector3d * normals() const
GLint GLenum GLsizei width
GLuint GLsizei GLsizei * length
GLint GLenum GLsizei GLsizei height