ug4
|
this class can be used if one wants to create a custom element from a set of vertices. More...
#include <grid_base_objects.h>
Public Member Functions | |
void | clear () |
CustomVertexGroup () | |
CustomVertexGroup (size_t numVrts) | |
virtual size_t | num_vertices () const |
void | push_back (Vertex *vrt) |
void | resize (size_t newSize) |
void | set_num_vertices (size_t newSize) |
void | set_vertex (size_t index, Vertex *vrt) |
virtual Vertex * | vertex (size_t index) const |
virtual ConstVertexArray | vertices () const |
virtual | ~CustomVertexGroup () |
Public Member Functions inherited from ug::IVertexGroup | |
Vertex * | operator[] (size_t index) const |
returns the i-th vertex. More... | |
size_t | size () const |
returns the number of vertices. More... | |
virtual | ~IVertexGroup () |
Private Attributes | |
std::vector< Vertex * > | m_vrts |
Additional Inherited Members | |
Public Types inherited from ug::IVertexGroup | |
typedef Vertex *const * | ConstVertexArray |
this class can be used if one wants to create a custom element from a set of vertices.
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Implements ug::IVertexGroup.
|
inline |
|
inline |
Referenced by ug::CopyGridElements(), ug::CopyGridLevelElements(), and ug::CopySelectedElements().
|
inline |
|
inline |
Referenced by ug::CopyGridElements(), ug::CopyGridLevelElements(), and ug::CopySelectedElements().
|
inlinevirtual |
Implements ug::IVertexGroup.
|
inlinevirtual |
Implements ug::IVertexGroup.
|
private |