3D Mesh Viewer Functions

In this section:

 

vxViewGenericMesh()

vxViewMeshIndices()

vxViewMeshIndicesColor()

vxViewPointCloudColor()

vxViewPointCloud()

vxViewHeightMapXY()

vxViewHeightMap()

vxXYZtoMeshView()

 

 

DESCRIPTION

ViXL3D.DLL

ViXL3D.XLL

Display Generic Points in Viewer

Display a generic mesh. Opens a 3D viewer window to display a 2D mesh surface comprised of points KnownPoints; this function displays only points. May include an optional title, ChartTitle.

ViXL_DLL_API int _vxViewGenericMesh(

   const vector<C3DPoint> &KnownPoints,

   const std::string &ChartTitle,

);

 

Launches visualizer window.

vxViewGenericMesh(

   const Matrix &_KnownPoints,

   std::string &_ChartTitle

);

 

KnownPoints = n rows x 3 columns

ChartTitle = 1 cell (string)

 

Launches visualizer window.

 

Display Generic Mesh in Viewer

Display a 3D object surface mesh. Opens a 3D viewer window to display a mesh surface of a 3D object comprised of points KnownPoints, and triangles (indices) KnownIndices. May include an optional viewer window title, ChartTitle.

ViXL_DLL_API int _vxViewMeshIndices(

   const vector<C3DPoint> &KnownPoints,

   const vector<int> &KnownIndices,

   const std::string &ChartTitle,

);

 

Launches visualizer window.

vxViewMeshIndices(

   const Matrix &_KnownPoints,

   const Matrix &_KnownIndices,

   std::string &_ChartTitle

);

 

KnownPoints = n rows x 3 columns

KnownIndices = j rows x 3 columns

ChartTitle = 1 cell (string)

 

Display a Mesh Surface with Color

Display a 3D object surface mesh with color KnownColors. Opens a 3D viewer window to display a mesh surface of a 3D object comprised of points KnownPoints, and triangles (indices) KnownIndices. May include an optional title, ChartTitle.

 

ViXL_DLL_API int _vxViewMeshIndicesColor(

   const vector<C3DPoint> &KnownPoints,

   const vector<CVertex> &KnownColors,

   const vector<int> &KnownIndices,

   const std::string &ChartTitle,

);

 

Launches visualizer window.

vxViewMeshIndicesColor(

   const Matrix &_KnownPoints,

   const Matrix &_KnownColors,

   const Matrix &_KnownIndices,

   std::string &_ChartTitle

);

 

KnownPoints = n rows x 3 columns

KnownColors = n rows x 3 columns

KnownIndices = j rows x 3 columns

ChartTitle = 1 cell (string)

 

Display 3D Point Cloud in Color

Display a 3D point cloud with color, enclosed within a convex hull. Opens a 3D viewer window to display a point cloud of KnownPoints, with colors KnownColors, and encloses within a hull. May include an optional viewer window title, ChartTitle.

 

ViXL_DLL_API int _vxViewPointCloudColor(

   const vector<C3DPoint> &KnownPoints,

   const vector<CVertex> &KnownColors,

   const std::string &ChartTitle,

);

 

Launches visualizer window.

vxViewPointCloudColor(

   const Matrix &_KnownPoints,

   const Matrix &_KnownColors,

   std::string &_ChartTitle

);

 

KnownPoints = n rows x 3 columns

KnownColors = n rows x 3 columns

ChartTitle = 1 cell (string)

 

Display 3D Point Cloud in Viewer

Display a 3D point cloud enclosed within a convex hull. Opens a 3D viewer window to display a point cloud of KnownPoints, and encloses within a convex hull. May include an optional title, ChartTitle.

ViXL_DLL_API int _vxViewPointCloud(

   const vector<C3DPoint> &KnownPoints,

   const std::string &ChartTitle,

);

 

Launches visualizer window.

 

vxViewPointCloud(

   const Matrix &_KnownPoints,

   std::string &_ChartTitle

);

 

KnownPoints = n rows x 3 columns

ChartTitle = 1 cell (string)

 

Display a Uniform 3D Surface Mesh

Display a height map with points PointsXY, of equidistant spacing. Opens a 3D viewer window to display a 2D table of Z values distributed on a grid, where X and Y values are evenly distributed between the minimum and maximum respective range. May include an optional title, ChartTitle.

ViXL_DLL_API int _vxViewHeightMapXY(

   const vector<C3DPoint> &PointsXY,

   const vector<CColor> &ColorsMinMax,

   double X0,

   double Y0,

   double Xn,

   double Yn,

   const std::string &ChartTitle

);

 

Launches visualizer window.

 

vxViewHeightMapXY(

   const Matrix &_ PointsXY,

   const Matrix &_ ColorsMinMax,

   double _X0,

   double _Y0,

   double _Xn,

   double _Yn,

   std::string &_ChartTitle

);

 

KnownPoints = n rows x 3 columns

ColorsMinMax = 2 rows x 3 columns

X0, Y0, Xn, Yn = 1 cell (float)

ChartTitle = 1 cell (string)

 

Display an Arbitrary 3D Surface Mesh

Display a height map with points PointsXY, of arbitrary spacing. Opens a 3D viewer window to display a 2D table of Z values distributed on a grid, where row 0 = X values and column 0 = Y values (0,0 is null). May include an optional viewer window title, ChartTitle.

 

ViXL_DLL_API int _vxViewHeightMap(

   const vector<C3DPoint> &PointsXY,

   const vector<CColor> &ColorsMinMax,

   const std::string &ChartTitle,

);

 

Launches visualizer window.

 

vxViewHeightMap(

   const Matrix &_ PointsXY,

   const Matrix &_ ColorsMinMax,

   std::string &_ChartTitle

);

 

KnownPoints = n rows x 3 columns

ColorsMinMax = 2 rows x 3 columns

ChartTitle = 1 cell (string)

 

Display XYZ Points as a 2D Height Map

Display a table of XYZ points KnownPoints, as a 2D height map where Z = height; parameters Xn and Yn define the size of the height map. Opens a 3D viewer window to display a 2D table of Z values on a grid. May include an optional viewer window title, ChartTitle.

 

ViXL_DLL_API int _vxXYZtoMeshView(

   const vector<C3DPoint> & KnownPoints,

   int Xn,

   int Yn,

   double Zscale,

   const vector<CColor> &ColorsMinMax,

   const std::string &ChartTitle

);

 

Launches visualizer window.

 

vxXYZtoMeshView(

   const Matrix &_ PointsXY,

   int _Xn,

   int _Yn,

   double _Zscale,

   const vector<CColor> &_ColorsMinMax,

   std::string &_ChartTitle

);

 

KnownPoints = n rows x 3 columns

Xn, Yn = 1 cell (float)

ColorsMinMax = 2 rows x 3 columns

ChartTitle = 1 cell (string)

 

 

 

Return to Function Reference

 

Return to Viewer Controls Overview