Demonstration class to visualize vector data on a surface mesh.
|
Inherits from:
|
Mesh3DVecViewer
|
|
Derived classes:
|
|
|
Include file:
|
MeshViewer/Mesh3DVecViewer.h
|
This is only a demonstration class, given with source code.
As it uses only some of the features of 3D-data master, the limitations
of this class are not necessary limitation of 3D-data Master.
This class is a part of the MeshViewer class. It cannot be instantiate
apart from MeshViewer. It controls the representation of a vector field
on a volume mesh (derived from PbMesh3D).
The associated dialog box controls
- the visibility of the vectors on a cross section inside the mesh.
(see PoMesh3DVecGridCrossSection)
- the fineness of the grid on which the vectors are drawn.
- the length of the vectors.
- the type of projection of the vectors.
The position of the cross section on which the vectors are drawn is
relative to the position and orientation of the dragger. But this one
can be deconnected with a toggle button. In this case, the position
of the cross section is not affected by the motion of the dragger.
This class can be easily extended to manage more attributes of the
vector representation (see the different field members of PoMesh3DVec)