33 #ifndef __H__LIBGRID__MARKER_POINTS__
34 #define __H__LIBGRID__MARKER_POINTS__
94 const char* filename);
Manages the elements of a grid and their interconnection.
Definition: grid.h:132
The base class for all geometric objects, such as vertices, edges, faces, volumes,...
Definition: grid_base_objects.h:157
Definition: marker_points.h:69
void set_marker(size_t index, const MarkerPoint &marker)
Definition: marker_points.h:81
size_t num_markers() const
Definition: marker_points.h:76
void add_marker(const MarkerPoint &marker)
Definition: marker_points.h:74
MarkerPoint & get_marker(size_t index)
Definition: marker_points.h:78
void clear()
Definition: marker_points.h:71
MarkerPoint const * get_array()
Definition: marker_points.h:84
const MarkerPoint & get_marker(size_t index) const
Definition: marker_points.h:79
void add_markers(size_t num=1)
Definition: marker_points.h:73
void add_marker()
Definition: marker_points.h:72
std::vector< MarkerPoint > m_markers
Definition: marker_points.h:87
double number
Definition: types.h:124
bool LoadMarkerPointsFromFile(MarkerPointManager &manager, const char *filename)
Loads marker points from a file.
Definition: marker_points.cpp:61
void SnapMarkerPointToGridVertex(MarkerPoint &markerInOut, Grid &grid, number normalOffset, Grid::VertexAttachmentAccessor< APosition > &aaPos, Grid::VertexAttachmentAccessor< ANormal > *paaNorm)
Snaps a marker point to a grid vertex.
Definition: marker_points.cpp:94
Definition: marker_points.h:52
std::string name
Definition: marker_points.h:56
vector3 localCoord
Definition: marker_points.h:60
vector3 norm
Definition: marker_points.h:59
vector3 pos
Definition: marker_points.h:58
GridObject * associatedObj
Definition: marker_points.h:61
MarkerPoint()
Definition: marker_points.cpp:43