All Frameworks  Class Hierarchy  This Framework  Indexes   

PolyhedralInterfaces Interface CATPolyCurveVertexPositionLayerSerializer

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATPolyCurveVertexPositionLayerSerializer

CATIPolyCurve::GetNbVertices ()).


Method Index


o Serialize(CATIPolyCurve&,float*)
Serializes the vertex coordinate layer into a float buffer.
o Serialize(CATIPolyCurve&,double*)
Serializes the vertex normal layer into a double buffer.
o Serialize(CATIPolyCurve&,float*&,int&)
Serializes the vertex coordinate layer into a float buffer.
o Serialize(CATIPolyCurve&,double*&,int&)
Serializes the vertex coordinate layer into a double buffer.

Methods


o Serialize
public Serialize( iCurve,
VertexPositionBuffer)
Serializes the vertex coordinate layer into a float buffer. The buffer must be pre-allocated and its size should be at least 3 * CATIPolyCurve::GetNbVertices ().
o Serialize
public Serialize( iCurve,
VertexPositionBuffer)
Serializes the vertex normal layer into a double buffer. The buffer must be pre-allocated and its size should be at least 3 * CATIPolyCurve::GetNbVertices ().
o Serialize
public Serialize( iCurve,
oVertexPositionBuffer,
oVertexPositionBufferSize)
Serializes the vertex coordinate layer into a float buffer. This specific method allocates the buffer. It must be deleted by a call to delete [].
Parameters:
iCurve
The input curve whose vertex position layer is to be serialized.
oVertexPositionBuffer
The output buffer allocated by the method. It must be deleted.
oVertexPositionBufferSize
The size of the vertex buffer.
o Serialize
public Serialize( iCurve,
oVertexPositionBuffer,
oVertexPositionBufferSize)
Serializes the vertex coordinate layer into a double buffer. This specific method allocates the buffer. It must be deleted by a call to delete [].
Parameters:
iCurve
The input curve whose vertex position layer is to be serialized.
oVertexPositionBuffer
The output buffer allocated by the method. It must be deleted.
oVertexPositionBufferSize
The size of the vertex buffer.

This object is included in the file: CATPolyCurveVertexPositionLayerSerializer.h
If needed, your Imakefile.mk should include the module: CATPolyhedralInterfaces

Copyright © 2003, Dassault Systèmes. All rights reserved.