33 #ifndef __H__UG_measure_tools
34 #define __H__UG_measure_tools
39 #define TOOLTIP_MEASURE_GRID_LENGTH "Measures the length of all edges of a grid"
40 #define TOOLTIP_MEASURE_GRID_AREA "Measures the area of all faces of a grid"
41 #define TOOLTIP_MEASURE_GRID_VOLUME "Measures the volume of all volume elements of a grid"
43 #define TOOLTIP_MEASURE_SUBSET_LENGTH "Measures the length of all edges of the given subset"
44 #define TOOLTIP_MEASURE_SUBSET_AREA "Measures the area of all faces of the given subset"
45 #define TOOLTIP_MEASURE_SUBSET_VOLUME "Measures the volume of all volume elements of the given subset"
47 #define TOOLTIP_MEASURE_SELECTION_LENGTH "Measures the length of all edges of the current selection"
48 #define TOOLTIP_MEASURE_SELECTION_AREA "Measures the area of all faces of the current selection"
49 #define TOOLTIP_MEASURE_SELECTION_VOLUME "Measures the volume of all volume elements of the current selection"
51 #define TOOLTIP_PROJECTED_DISTANCE "Measures the distance of the projection of two selected vertices into the plane with the specified normal."
geometry_traits< TGeomObj >::iterator begin()
geometry_traits< TGeomObj >::iterator end()
geometry_traits< TElem >::iterator end(int subsetIndex)
geometry_traits< TElem >::iterator begin(int subsetIndex)
geometry_traits< TElem >::iterator end()
geometry_traits< TElem >::iterator begin()
position_accessor_t & position_accessor()
returns accessor to vertex positions
Definition: mesh.h:113
Grid & grid()
Definition: mesh.h:99
SubsetHandler & subset_handler()
Definition: mesh.h:100
Selector & selector()
Definition: mesh.h:102
number CalculateVolume(Volume *elem, TAAPos aaPos)
number MeasureSelectionVolume(Mesh *obj)
Definition: measure_tools.h:118
number ProjectedDistance(Mesh *obj, const vector3 &projectionNormal)
Definition: measure_tools.cpp:39
number MeasureSelectionLength(Mesh *obj)
Definition: measure_tools.h:104
number MeasureGridArea(Mesh *obj)
Definition: measure_tools.h:65
number MeasureSelectionArea(Mesh *obj)
Definition: measure_tools.h:111
number MeasureSubsetVolume(Mesh *obj, int subsetInd)
Definition: measure_tools.h:95
number MeasureSubsetLength(Mesh *obj, int subsetInd)
Definition: measure_tools.h:81
number MeasureGridLength(Mesh *obj)
Definition: measure_tools.h:58
number MeasureGridVolume(Mesh *obj)
Definition: measure_tools.h:72
number MeasureSubsetArea(Mesh *obj, int subsetInd)
Definition: measure_tools.h:88