3DCoat  3D-COAT 4.9.xx
3DCoat is the one application that has all the tools you need to take your 3D idea from a block of digital clay all the way to a production ready, fully textured organic or hard surface model.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
coat::scripto::PolyMesh Class Reference

Class for working with the 3DCoat's scene. More...

#include <SPolyMesh.h>

Classes

class  FaceInfo
 Info about face. More...
 
class  LayerInfo
 Info about layer. More...
 
class  LayerOnFace
 Represent a layer on face. More...
 
class  LayerPoint
 Info about layer point. More...
 
class  RenderTarget
 Represent a render target. More...
 
class  SubObject
 Represent a subobject. More...
 
class  SurfacePoint
 Represent a surface point. More...
 
class  VertexPos
 Represent a vertex position. More...
 
class  VertexUV
 Represent a vertex of UV. More...
 

Public Types

enum  FreezeState : BYTE
 State for freeze. More...
 
enum  UVEdgeMask : BYTE
 Mask for edge. More...
 

Public Member Functions

PolyMeshinsertFaces (DWORD k, DWORD v)
 Work with faces. More...
 
PolyMeshbeginFaces ()
 For moving forward by faces. More...
 
bool endFaces () const
 
bool nextFaces () const
 
DWORD currentKeyFaces () const
 
DWORD currentValueFaces () const
 
PolyMeshrenderTarget (int i, const PolyMesh::RenderTarget &v)
 
PolyMeshsubObject (int i, const PolyMesh::SubObject &v)
 
PolyMeshvertexPos (int i, const PolyMesh::VertexPos &v)
 
PolyMeshvertexUV (int i, const PolyMesh::VertexUV &v)
 
PolyMeshclear ()
 Clear the meshes from the 3DCoat's scene. More...
 

Detailed Description

Class for working with the 3DCoat's scene.

polymesh.jpg
Since
4.5.35

Member Enumeration Documentation

State for freeze.

Warning
When changed then change freezeStateStr() also.
Debug dbg;
DebugLog log = dbg.log();
log += "PolyMesh::FreezeState";
log += PolyMesh::FreezeState::Mixed;
log += PolyMesh::FreezeState::Fully;

Mask for edge.

Debug dbg;
DebugLog log = dbg.log();
log += "PolyMesh::UVEdgeMask";
log += PolyMesh::UVEdgeMask::Top;
log += PolyMesh::UVEdgeMask::Bottom;

Member Function Documentation

PolyMesh & PolyMesh::beginFaces ( )

For moving forward by faces.

See Also
insertFaces()

References nextFaces().

PolyMesh& coat::scripto::PolyMesh::clear ( )
inline

Clear the meshes from the 3DCoat's scene.

PolyMesh pm;
pm.clear();
DWORD PolyMesh::currentKeyFaces ( ) const
See Also
insertFaces()
DWORD PolyMesh::currentValueFaces ( ) const
See Also
insertFaces()
bool PolyMesh::endFaces ( ) const
See Also
insertFaces()
PolyMesh & PolyMesh::insertFaces ( DWORD  k,
DWORD  v 
)

Work with faces.

PolyMesh pm;
pm.insertFaces( 12, 222 );
pm.insertFaces( 13, 333 );
pm.insertFaces( 11, 111 );
for ( pm.beginFaces(); !pm.endFaces(); pm.nextFaces() ) {
const auto fk = pm.currentKeyFaces();
const auto fv = pm.currentValueFaces();
...
}
bool PolyMesh::nextFaces ( ) const
See Also
insertFaces()

Referenced by beginFaces().

PolyMesh& coat::scripto::PolyMesh::renderTarget ( int  i,
const PolyMesh::RenderTarget v 
)
inline
See Also
Note for FaceInfo above.
PolyMesh& coat::scripto::PolyMesh::subObject ( int  i,
const PolyMesh::SubObject v 
)
inline
See Also
Note for FaceInfo above.
PolyMesh& coat::scripto::PolyMesh::vertexPos ( int  i,
const PolyMesh::VertexPos v 
)
inline
See Also
Note for FaceInfo above.
PolyMesh& coat::scripto::PolyMesh::vertexUV ( int  i,
const PolyMesh::VertexUV v 
)
inline
See Also
Note for FaceInfo above.

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