Class RWObj_ObjWriterContext
Methods
ActiveMaterial
- ActiveMaterial(): XCAFDoc_PartId
FlushFace
- FlushFace(theNbNodes: Graphic3d_ZLayerId): void
Parameters
theNbNodes: Graphic3d_ZLayerId
Returns void
SetNormals
- SetNormals(theHasNormals: boolean): void
SetTexCoords
- SetTexCoords(theHasTexCoords: boolean): void
WriteActiveMaterial
- WriteActiveMaterial(theMaterial: XCAFDoc_PartId): boolean
Parameters
theMaterial: XCAFDoc_PartId
Returns boolean
WriteGroup
- WriteGroup(theValue: XCAFDoc_PartId): boolean
Parameters
Returns boolean
WriteHeader
Parameters
theNbNodes: Graphic3d_ZLayerId
theNbElems: Graphic3d_ZLayerId
theMatLib: XCAFDoc_PartId
Returns boolean
WriteNormal
- WriteNormal(theValue: OpenGl_Vec3): boolean
Parameters
Returns boolean
WriteQuad
- WriteQuad(theQuad: OpenGl_Vec4i): boolean
Parameters
Returns boolean
WriteTexCoord
- WriteTexCoord(theValue: OpenGl_Vec2): boolean
Parameters
Returns boolean
WriteTriangle
- WriteTriangle(theTri: OpenGl_Vec3i): boolean
Parameters
Returns boolean
WriteVertex
- WriteVertex(theValue: OpenGl_Vec3): boolean
Parameters
Returns boolean