Mesh::Segment Class Reference
#include <Segment.h>
Classes | |
class const_facet_iterator | |
Public Member Functions | |
void addIndices (const std::vector< unsigned long > &inds) | |
const_facet_iterator facets_begin () const | |
const_facet_iterator facets_end () const | |
const std::string & getColor () const | |
const std::vector< unsigned long > & getIndices () const | |
const std::string & getName () const | |
bool isEmpty () const | |
bool isSaved () const | |
const Segment & operator= (const Segment &) | |
bool operator== (const Segment &) const | |
void removeIndices (const std::vector< unsigned long > &inds) | |
void save (bool on) | |
Segment (const Segment &) | |
Segment (MeshObject *, bool mod) | |
Segment (MeshObject *, const std::vector< unsigned long > &inds, bool mod) | |
void setColor (const std::string &c) | |
void setName (const std::string &n) | |
Friends | |
class MeshObject | |
Constructor & Destructor Documentation
◆ Segment() [1/3]
Segment::Segment | ( | MeshObject * | mesh, |
bool | mod | ||
) |
◆ Segment() [2/3]
Segment::Segment | ( | MeshObject * | mesh, |
const std::vector< unsigned long > & | inds, | ||
bool | mod | ||
) |
◆ Segment() [3/3]
Segment::Segment | ( | const Segment & | s | ) |
Member Function Documentation
◆ addIndices()
void Segment::addIndices | ( | const std::vector< unsigned long > & | inds | ) |
Referenced by MeshPart::Mesher::createMesh().
◆ facets_begin()
const_facet_iterator Mesh::Segment::facets_begin | ( | ) | const |
◆ facets_end()
const_facet_iterator Mesh::Segment::facets_end | ( | ) | const |
◆ getColor()
const std::string& Mesh::Segment::getColor | ( | ) | const |
Referenced by MeshGui::ViewProviderMesh::highlightSegments().
◆ getIndices()
const std::vector< unsigned long > & Segment::getIndices | ( | ) | const |
◆ getName()
const std::string& Mesh::Segment::getName | ( | ) | const |
Referenced by Mesh::MergeExporter::addMeshFeat().
◆ isEmpty()
bool Mesh::Segment::isEmpty | ( | ) | const |
◆ isSaved()
bool Mesh::Segment::isSaved | ( | ) | const |
Referenced by Mesh::MergeExporter::addMeshFeat().
◆ operator=()
◆ operator==()
Referenced by Mesh::Segment::const_facet_iterator::operator!=().
◆ removeIndices()
void Segment::removeIndices | ( | const std::vector< unsigned long > & | inds | ) |
◆ save()
void Mesh::Segment::save | ( | bool | on | ) |
Referenced by shipGZ.TaskPanel.TaskPanel::accept(), shipAreasCurve.TaskPanel.TaskPanel::accept(), shipHydrostatics.TaskPanel.TaskPanel::accept(), MeshPart::Mesher::createMesh(), Mod.Show.mTempoVis.TempoVis::modify(), Mod.Show.mTempoVis.TempoVis::modifyVPProperty(), Mod.Show.mTempoVis.TempoVis::saveCamera(), and Mesh::MergeExporter::~MergeExporter().
◆ setColor()
void Mesh::Segment::setColor | ( | const std::string & | c | ) |
Referenced by MeshPart::Mesher::createMesh().
◆ setName()
void Mesh::Segment::setName | ( | const std::string & | n | ) |
Friends And Related Function Documentation
◆ MeshObject
|
friend |
The documentation for this class was generated from the following files:
- src/Mod/Mesh/App/Segment.h
- src/Mod/Mesh/App/Segment.cpp