OpenLexocad  27.1
Geom::IndexedMesh Class Reference

#include <IndexedMesh.h>

Public Member Functions

 IndexedMesh (void)
 
 IndexedMesh (const IndexedMesh &other)
 
 IndexedMesh (const std::vector< int > &model, const std::vector< Geom::Pnt > &points)
 
virtual ~IndexedMesh (void)
 
IndexedMeshoperator= (const IndexedMesh &)
 
bool operator== (const IndexedMesh &c) const
 
virtual void transform (const Geom::Trsf &t)
 
void createEdges (const std::vector< int > &model, const std::vector< Geom::Pnt > &points)
 
bool restore (const std::string &s)
 

Static Public Member Functions

static bool setBinaryReadMode (bool on)
 
static bool setBinaryWriteMode (bool on)
 

Public Attributes

std::vector< Geom::Pntface_vertices
 
std::vector< long > face_coordinateIndices
 
std::vector< Geom::Dirface_per_vertex_normals
 
std::vector< unsigned int > face_color_per_vertex
 
std::vector< Geom::Pntwire_vertices
 
std::vector< long > wire_coordinateIndices
 
std::vector< unsigned int > wire_color_per_vertex
 

Constructor & Destructor Documentation

◆ IndexedMesh() [1/3]

Geom::IndexedMesh::IndexedMesh ( void  )

◆ IndexedMesh() [2/3]

Geom::IndexedMesh::IndexedMesh ( const IndexedMesh other)

◆ IndexedMesh() [3/3]

Geom::IndexedMesh::IndexedMesh ( const std::vector< int > &  model,
const std::vector< Geom::Pnt > &  points 
)

◆ ~IndexedMesh()

virtual Geom::IndexedMesh::~IndexedMesh ( void  )
virtual

Member Function Documentation

◆ createEdges()

void Geom::IndexedMesh::createEdges ( const std::vector< int > &  model,
const std::vector< Geom::Pnt > &  points 
)

◆ operator=()

IndexedMesh& Geom::IndexedMesh::operator= ( const IndexedMesh )

◆ operator==()

bool Geom::IndexedMesh::operator== ( const IndexedMesh c) const

◆ restore()

bool Geom::IndexedMesh::restore ( const std::string &  s)

◆ setBinaryReadMode()

static bool Geom::IndexedMesh::setBinaryReadMode ( bool  on)
static

◆ setBinaryWriteMode()

static bool Geom::IndexedMesh::setBinaryWriteMode ( bool  on)
static

◆ transform()

virtual void Geom::IndexedMesh::transform ( const Geom::Trsf t)
virtual

Member Data Documentation

◆ face_color_per_vertex

std::vector<unsigned int> Geom::IndexedMesh::face_color_per_vertex

◆ face_coordinateIndices

std::vector<long> Geom::IndexedMesh::face_coordinateIndices

◆ face_per_vertex_normals

std::vector<Geom::Dir> Geom::IndexedMesh::face_per_vertex_normals

◆ face_vertices

std::vector<Geom::Pnt> Geom::IndexedMesh::face_vertices

◆ wire_color_per_vertex

std::vector<unsigned int> Geom::IndexedMesh::wire_color_per_vertex

◆ wire_coordinateIndices

std::vector<long> Geom::IndexedMesh::wire_coordinateIndices

◆ wire_vertices

std::vector<Geom::Pnt> Geom::IndexedMesh::wire_vertices

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