| 
    Open CASCADE Technology 7.8.2.dev
    
   | 
 
Auxiliary low-level tool writing OBJ file. More...
#include <RWObj_ObjWriterContext.hxx>
Data Fields | |
| Standard_Integer | NbFaces | 
Auxiliary low-level tool writing OBJ file.
| RWObj_ObjWriterContext::RWObj_ObjWriterContext | ( | const TCollection_AsciiString & | theName | ) | 
Main constructor.
| RWObj_ObjWriterContext::~RWObj_ObjWriterContext | ( | ) | 
Destructor, will emit error message if file was not closed.
      
  | 
  inline | 
Return active material or empty string if not set.
| bool RWObj_ObjWriterContext::Close | ( | ) | 
Correctly close the file.
| void RWObj_ObjWriterContext::FlushFace | ( | Standard_Integer | theNbNodes | ) | 
Increment indices shift.
      
  | 
  inline | 
Return true if normals are defined.
      
  | 
  inline | 
Return true if normals are defined.
      
  | 
  inline | 
Return true if file has been opened.
Set if normals are defined.
Set if normals are defined.
| bool RWObj_ObjWriterContext::WriteActiveMaterial | ( | const TCollection_AsciiString & | theMaterial | ) | 
Set active material.
| bool RWObj_ObjWriterContext::WriteGroup | ( | const TCollection_AsciiString & | theValue | ) | 
Writing a group name.
| bool RWObj_ObjWriterContext::WriteHeader | ( | const Standard_Integer | theNbNodes, | 
| const Standard_Integer | theNbElems, | ||
| const TCollection_AsciiString & | theMatLib, | ||
| const TColStd_IndexedDataMapOfStringString & | theFileInfo | ||
| ) | 
Write the header.
| bool RWObj_ObjWriterContext::WriteNormal | ( | const Graphic3d_Vec3 & | theValue | ) | 
Writing a vector.
| bool RWObj_ObjWriterContext::WriteQuad | ( | const Graphic3d_Vec4i & | theQuad | ) | 
Writing a quad.
| bool RWObj_ObjWriterContext::WriteTexCoord | ( | const Graphic3d_Vec2 & | theValue | ) | 
Writing a vector.
| bool RWObj_ObjWriterContext::WriteTriangle | ( | const Graphic3d_Vec3i & | theTri | ) | 
Writing a triangle.
| bool RWObj_ObjWriterContext::WriteVertex | ( | const Graphic3d_Vec3 & | theValue | ) | 
Writing a vector.
| Standard_Integer RWObj_ObjWriterContext::NbFaces |