CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
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);
OdDbStub ** materials() const
virtual void text(const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, double height, double width, double oblique, const OdString &msg)=0
virtual void ray(const OdGePoint3d &basePoint, const OdGePoint3d &throughPoint)=0
virtual void worldLine(const OdGePoint3d points[2])=0
bool isEqualTo(const OdGeMatrix3d &matrix, const OdGeTol &tol=OdGeContext::gTol) const
void setVisibility(const OdUInt8 *visibilities)
const OdGsMarker * selectionMarkers() const
virtual void pushModelTransform(const OdGeMatrix3d &xfm)=0
virtual void circle(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint)=0
OdDbStub ** layerIds() const
void setMappers(const OdGiMapper *mappers)
virtual const OdGiPathNode * currentGiPath() const
virtual void text(const OdGePoint3d &position, const OdGeVector3d &normal, const OdGeVector3d &direction, const OdChar *msg, OdInt32 length, bool raw, const OdGiTextStyle *pTextStyle)=0
virtual void popModelTransform()=0
ODRX_DECLARE_MEMBERS(OdGiGeometry)
void setTrueColors(const OdCmEntityColor *colors)
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 pline(const OdGiPolyline &polyline, OdUInt32 fromIndex=0, OdUInt32 numSegs=0)=0
const OdUInt16 * colors() const
void setLayers(OdDbStub **layerIds)
OdGiClipBoundarySaver(OdGiGeometry &geom, bool bSave)
const OdGeVector3d * normals() const
void setMaterials(OdDbStub **materialIds)
const OdCmEntityColor * trueColors() const
virtual void edge(const OdGiEdge2dArray &edges)=0
virtual void circle(const OdGePoint3d ¢er, double radius, const OdGeVector3d &normal)=0
virtual OdGeMatrix3d getModelToWorldTransform() const =0
virtual void pushClipBoundary(OdGiClipBoundary *pBoundary)=0
void setTransparency(const OdCmTransparency *transparencies)
const OdGsMarker * selectionMarkers() const
virtual void popClipBoundary()=0
const OdGeVector2d * fillDirections() const
virtual OdGeMatrix3d getWorldToModelTransform() const =0
void setFillOrigins(const OdGePoint2d *fillOrigins)
virtual void xline(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint)=0
const OdUInt16 * colors() const
virtual void draw(const OdGiDrawable *pDrawable)=0
virtual void circularArc(const OdGePoint3d &firstPoint, const OdGePoint3d &secondPoint, const OdGePoint3d &thirdPoint, OdGiArcType arcType=kOdGiArcSimple)=0
OdArray< OdGeCurve2d *, OdMemoryAllocator< OdGeCurve2d * > > OdGiEdge2dArray
const OdGeVector3d * normals() const
void setTrueColors(const OdCmEntityColor *colors)
virtual void rowOfDots(OdInt32 numPoints, const OdGePoint3d &startPoint, const OdGeVector3d &dirToNextPoint)
virtual void circularArc(const OdGePoint3d ¢er, double radius, const OdGeVector3d &normal, const OdGeVector3d &startVector, double sweepAngle, OdGiArcType arcType=kOdGiArcSimple)=0
virtual void polygon(OdInt32 numVertices, const OdGePoint3d *vertexList)=0
void setVisibility(const OdUInt8 *visibilities)
void setFillDirections(const OdGeVector2d *fillDirections)
void setTrueColors(const OdCmEntityColor *colors)
GLint GLenum GLsizei GLsizei height
GLuint GLsizei GLsizei * length
GLint GLenum GLsizei width
void setLinetypes(OdDbStub **linetypeIds)
OdDbStub ** linetypeIds() const
const OdUInt8 * visibility() const
virtual void ellipArc(const OdGeEllipArc3d &ellipArc, const OdGePoint3d *endPointsOverrides=0, OdGiArcType arcType=kOdGiArcSimple)=0
void setOrientationFlag(const OdGiOrientationType orientationType)
const OdGePoint2d * fillOrigins() const
void setColors(const OdUInt16 *colors)
void setMappingCoords(MapChannel channel, const OdGePoint3d *coords)
const OdCmEntityColor * trueColors() const
virtual void nurbs(const OdGeNurbCurve3d &nurbsCurve)=0
const OdUInt8 * visibility() const
void setSelectionMarkers(const OdGsMarker *selectionMarkers)
virtual void pushModelTransform(const OdGeVector3d &normal)=0
void setSelectionMarkers(const OdGsMarker *selectionMarkers)
const OdCmEntityColor * trueColors() const
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
void setNormals(const OdGeVector3d *normals)
const OdGePoint3d * mappingCoords(MapChannel channel) const
virtual void image(const OdGiImageBGRA32 &img, const OdGePoint3d &origin, const OdGeVector3d &uVec, const OdGeVector3d &vVec, OdGiRasterImage::TransparencyMode trpMode=OdGiRasterImage::kTransparency8Bit)=0
OdDbStub ** layerIds() const
void setColors(const OdUInt16 *colors)
virtual void polyline(OdInt32 numVertices, const OdGePoint3d *vertexList, const OdGeVector3d *pNormal=0, OdGsMarker baseSubEntMarker=-1)=0
static GE_STATIC_EXPORT const OdGeMatrix3d kIdentity
virtual void mesh(OdInt32 numRows, OdInt32 numColumns, const OdGePoint3d *vertexList, const OdGiEdgeData *pEdgeData=0, const OdGiFaceData *pFaceData=0, const OdGiVertexData *pVertexData=0)=0
OdGiOrientationType orientationFlag() const
void setLayers(OdDbStub **layerIds)
void setNormals(const OdGeVector3d *normals)
const OdGiMapper * mappers() const
const OdCmTransparency * transparency() const