SMILX  1.01
Functions
Generate Display Members

Members for generating certain types of things from the models. More...

Functions

void milx::Model::GenerateVertices ()
 Generate (only) vertices for display from point data. Good for when only points in mesh.
 
void milx::Model::GenerateVertexScalars ()
 Generate vertex scalars for display from point data. This colours the mesh by point ids.
 
void milx::Model::GenerateVerticesAs2DGlyphs (const GlyphType glyphType)
 Generate (only) vertices (as 2D glyphs like crosses etc.) for display from point data. Good for when only points in mesh.
 
void milx::Model::GenerateTubes ()
 Generate tubes along edges of the mesh.
 
void milx::Model::GeneratePointModel (const double newScale)
 Generate spheres of scaling for each point of the mesh.
 
void milx::Model::GenerateSpheres (const double newScale)
 Generate spheres of scaling for each point of the mesh. Same as GeneratePointModel().
 
void milx::Model::GenerateSampledPoints (const double distance)
 Generate sampled points (only points) for the mesh at given spacing on triangles.
 
void milx::Model::GenerateVectorField (const double newScale=0.0, const bool useNormals=false)
 Generate vector field for vectors present (as an array) in the mesh at given scaling. More...
 
void milx::Model::GenerateTensorField (const double newScale=0.0)
 Generate tensor field for tensors present (as an array) in the mesh at given scaling. More...
 
void milx::Model::GenerateHedgehog (const double newScale=0.0)
 Generate a line field for vectors present (as an array) in the mesh at given scaling. More...
 
void milx::Model::GenerateNormals (const int pointNormals=0)
 Generate normal vectors for each point on the mesh. If pointNormals is (0,1,2), then normals are for (points,cells,both).
 
void milx::Model::GenerateKMeansClustering (int numberOfClusters)
 Generate k-means clustering for the point positions in the mesh.
 
void milx::Model::GenerateQuantisedPoints (float quantiseFactor)
 Generate points of the mesh to have integral cordinates.
 
void milx::Model::GenerateCappedBoundaries ()
 Generate capped boundaries for open meshes. This closes off open ends of a mesh.
 
void milx::Model::GenerateRegions ()
 Generate connected regions for the mesh labelled by scalar values.
 
void milx::Model::GenerateElevation (double x, double y, double z)
 Generate scalar field for the mesh proportional to the elevation (dot product) with a given vector/direction.
 
void milx::Model::GenerateElevation ()
 Generate scalar field for the mesh proportional to the elevation in the z-direction.
 

Detailed Description

Members for generating certain types of things from the models.

Function Documentation

◆ GenerateHedgehog()

void milx::Model::GenerateHedgehog ( const double  newScale = 0.0)

Generate a line field for vectors present (as an array) in the mesh at given scaling.

Set scale to zero (default) if auto scaling needed.

Definition at line 1137 of file milxModel.cxx.

◆ GenerateTensorField()

void milx::Model::GenerateTensorField ( const double  newScale = 0.0)

Generate tensor field for tensors present (as an array) in the mesh at given scaling.

Set scale to zero (default) if auto scaling needed.

Definition at line 1108 of file milxModel.cxx.

◆ GenerateVectorField()

void milx::Model::GenerateVectorField ( const double  newScale = 0.0,
const bool  useNormals = false 
)

Generate vector field for vectors present (as an array) in the mesh at given scaling.

If useNormals is true, then normals will be shown. Set scale to zero (default) if auto scaling needed.

Definition at line 1071 of file milxModel.cxx.