CFx SDK Documentation  2020SP3
Public Types | Public Member Functions | List of all members
FacetModeler::BinaryStream Class Reference

#include <FMDataSerialize.h>

Public Types

enum  OdaObjectMarker {
  ePoint2dMarker = 1, eContour2dMarker = 2, eProfile2dMarker = 3, eBodyMarker = 4,
  eFaceMarker = 5, ePoint3dMarker = 6
}
 

Public Member Functions

 BinaryStream ()
 
 ~BinaryStream ()
 
bool Create (const OdString &szFile)
 
bool Open (const OdString &szFile)
 
void Write (const void *pData, size_t length)
 
void Read (void *pData, size_t length)
 
template<typename T >
void Write (const T val)
 
void Write (const OdGePoint2d &val)
 
void Write (const FacetModeler::Contour2D &val)
 
void Write (const FacetModeler::Profile2D &val)
 
void Write (const OdGePoint3d &val)
 
void Write (const FacetModeler::Face &val)
 
void Write (const FacetModeler::Body &val)
 
void WriteVertexList (FacetModeler::Vertex *pVertexList, OdUInt32 uVtxCount)
 
void WriteVertex (FacetModeler::Vertex *pVertex)
 
void WriteEdgesList (const FacetModeler::Body &val)
 
void WriteEdge (FacetModeler::Edge *pEdge)
 
template<typename T >
void Read (T &val)
 
void Read (OdGePoint2d &val)
 
void Read (FacetModeler::Contour2D &val)
 
void Read (FacetModeler::Profile2D &val)
 
void Read (OdGePoint3d &val)
 
void ReadFaceToBody (FacetModeler::Body &val)
 
void Read (FacetModeler::Body &val)
 
void ReadVertexImages (VertexImages &vertexImages, FacetModeler::Body *pBody)
 
void SetVertexListForBody (VertexImages &vertexImages, FacetModeler::Body &val)
 
void ReadEdgeImages (EdgeImages &edgeImages)
 
void ReadFaceImages (FaceImages &faceImages)
 

Detailed Description

Definition at line 95 of file FMDataSerialize.h.

Member Enumeration Documentation

◆ OdaObjectMarker

Enumerator
ePoint2dMarker 
eContour2dMarker 
eProfile2dMarker 
eBodyMarker 
eFaceMarker 
ePoint3dMarker 

Definition at line 100 of file FMDataSerialize.h.

Constructor & Destructor Documentation

◆ BinaryStream()

FacetModeler::BinaryStream::BinaryStream ( )

◆ ~BinaryStream()

FacetModeler::BinaryStream::~BinaryStream ( )

Member Function Documentation

◆ Create()

bool FacetModeler::BinaryStream::Create ( const OdString szFile)

◆ Open()

bool FacetModeler::BinaryStream::Open ( const OdString szFile)

◆ Read() [1/7]

void FacetModeler::BinaryStream::Read ( FacetModeler::Body val)

◆ Read() [2/7]

void FacetModeler::BinaryStream::Read ( FacetModeler::Contour2D val)

◆ Read() [3/7]

void FacetModeler::BinaryStream::Read ( FacetModeler::Profile2D val)

◆ Read() [4/7]

void FacetModeler::BinaryStream::Read ( OdGePoint2d val)

◆ Read() [5/7]

void FacetModeler::BinaryStream::Read ( OdGePoint3d val)

◆ Read() [6/7]

template<typename T >
void FacetModeler::BinaryStream::Read ( T &  val)
inline

Definition at line 140 of file FMDataSerialize.h.

◆ Read() [7/7]

void FacetModeler::BinaryStream::Read ( void pData,
size_t  length 
)

◆ ReadEdgeImages()

void FacetModeler::BinaryStream::ReadEdgeImages ( EdgeImages edgeImages)

◆ ReadFaceImages()

void FacetModeler::BinaryStream::ReadFaceImages ( FaceImages faceImages)

◆ ReadFaceToBody()

void FacetModeler::BinaryStream::ReadFaceToBody ( FacetModeler::Body val)

◆ ReadVertexImages()

void FacetModeler::BinaryStream::ReadVertexImages ( VertexImages vertexImages,
FacetModeler::Body pBody 
)

◆ SetVertexListForBody()

void FacetModeler::BinaryStream::SetVertexListForBody ( VertexImages vertexImages,
FacetModeler::Body val 
)

◆ Write() [1/8]

void FacetModeler::BinaryStream::Write ( const FacetModeler::Body val)

◆ Write() [2/8]

void FacetModeler::BinaryStream::Write ( const FacetModeler::Contour2D val)

◆ Write() [3/8]

void FacetModeler::BinaryStream::Write ( const FacetModeler::Face val)

◆ Write() [4/8]

void FacetModeler::BinaryStream::Write ( const FacetModeler::Profile2D val)

◆ Write() [5/8]

void FacetModeler::BinaryStream::Write ( const OdGePoint2d val)

◆ Write() [6/8]

void FacetModeler::BinaryStream::Write ( const OdGePoint3d val)

◆ Write() [7/8]

template<typename T >
void FacetModeler::BinaryStream::Write ( const T  val)
inline

Definition at line 121 of file FMDataSerialize.h.

◆ Write() [8/8]

void FacetModeler::BinaryStream::Write ( const void pData,
size_t  length 
)

◆ WriteEdge()

void FacetModeler::BinaryStream::WriteEdge ( FacetModeler::Edge pEdge)

◆ WriteEdgesList()

void FacetModeler::BinaryStream::WriteEdgesList ( const FacetModeler::Body val)

◆ WriteVertex()

void FacetModeler::BinaryStream::WriteVertex ( FacetModeler::Vertex pVertex)

◆ WriteVertexList()

void FacetModeler::BinaryStream::WriteVertexList ( FacetModeler::Vertex pVertexList,
OdUInt32  uVtxCount 
)

The documentation for this class was generated from the following file: