Inheritance diagram for HPS.MeshKit:
HPS.Kit HPS.Object

Public Member Functions

void Consume (HPS.MeshKit in_kit)
 
override void Dispose ()
 
override bool Empty ()
 
override bool Equals (System.Object obj)
 
bool Equals (HPS.MeshKit in_kit)
 
override int GetHashCode ()
 
ulong GetPointCount ()
 
 MeshKit ()
 
 MeshKit (HPS.MeshKit in_kit)
 
override HPS.Type ObjectType ()
 
void Set (HPS.MeshKit in_kit)
 
HPS.MeshKit SetColumns (ulong in_columns)
 
HPS.MeshKit SetEdgeIndexColorsByList (ulong[] in_vertices1, ulong[] in_vertices2, float[] in_indices)
 
HPS.MeshKit SetEdgeIndexColorsByList (ulong[] in_vertices1, ulong[] in_vertices2, float in_index)
 
HPS.MeshKit SetEdgeRGBColorsByList (ulong[] in_vertices1, ulong[] in_vertices2, HPS.RGBColor[] in_rgb_colors)
 
HPS.MeshKit SetEdgeRGBColorsByList (ulong[] in_vertices1, ulong[] in_vertices2, HPS.RGBColor in_rgb_color)
 
HPS.MeshKit SetEdgeVisibilitiesByList (ulong[] in_vertices1, ulong[] in_vertices2, bool[] in_visibilities)
 
HPS.MeshKit SetEdgeVisibilitiesByList (ulong[] in_vertices1, ulong[] in_vertices2, bool in_visibility)
 
HPS.MeshKit SetFaceIndexColorsByList (ulong[] in_faces, float[] in_indices)
 
HPS.MeshKit SetFaceIndexColorsByList (ulong[] in_faces, float in_index)
 
HPS.MeshKit SetFaceIndexColorsByRange (ulong in_start, float[] in_indices)
 
HPS.MeshKit SetFaceIndexColorsByRange (ulong in_start, ulong in_count, float in_index)
 
HPS.MeshKit SetFaceNormalsByList (ulong[] in_faces, HPS.Vector[] in_normals)
 
HPS.MeshKit SetFaceNormalsByList (ulong[] in_faces, HPS.Vector in_normal)
 
HPS.MeshKit SetFaceNormalsByRange (ulong in_start, HPS.Vector[] in_normals)
 
HPS.MeshKit SetFaceNormalsByRange (ulong in_start, ulong in_count, HPS.Vector in_normal)
 
HPS.MeshKit SetFaceRGBColorsByList (ulong[] in_faces, HPS.RGBColor[] in_rgb_colors)
 
HPS.MeshKit SetFaceRGBColorsByList (ulong[] in_faces, HPS.RGBColor in_rgb_color)
 
HPS.MeshKit SetFaceRGBColorsByRange (ulong in_start, HPS.RGBColor[] in_rgb_colors)
 
HPS.MeshKit SetFaceRGBColorsByRange (ulong in_start, ulong in_count, HPS.RGBColor in_rgb_color)
 
HPS.MeshKit SetFaceVisibilitiesByList (ulong[] in_faces, bool[] in_visibilities)
 
HPS.MeshKit SetFaceVisibilitiesByList (ulong[] in_faces, bool in_visibility)
 
HPS.MeshKit SetFaceVisibilitiesByRange (ulong in_start, bool[] in_visibilities)
 
HPS.MeshKit SetFaceVisibilitiesByRange (ulong in_start, ulong in_count, bool in_visibility)
 
HPS.MeshKit SetMaterialMapping (HPS.MaterialMappingKit in_kit)
 
HPS.MeshKit SetPoints (HPS.Point[] in_points)
 
HPS.MeshKit SetPoints (ulong in_rows, ulong in_columns, HPS.Point[] in_points)
 
HPS.MeshKit SetPriority (int in_priority)
 
HPS.MeshKit SetRows (ulong in_rows)
 
HPS.MeshKit SetUserData (IntPtr in_index, ulong in_bytes, byte[] in_data)
 
HPS.MeshKit SetUserData (IntPtr in_index, byte[] in_data)
 
HPS.MeshKit SetUserData (IntPtr[] in_indices, byte[][] in_data)
 
HPS.MeshKit SetVertexIndexColorsByList (ulong[] in_vertices, float[] in_indices, HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit SetVertexIndexColorsByList (ulong[] in_vertices, float[] in_indices)
 
HPS.MeshKit SetVertexIndexColorsByList (ulong[] in_vertices, float in_index, HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit SetVertexIndexColorsByList (ulong[] in_vertices, float in_index)
 
HPS.MeshKit SetVertexIndexColorsByRange (ulong in_start, float[] in_indices, HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit SetVertexIndexColorsByRange (ulong in_start, float[] in_indices)
 
HPS.MeshKit SetVertexIndexColorsByRange (ulong in_start, ulong in_count, float in_index, HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit SetVertexIndexColorsByRange (ulong in_start, ulong in_count, float in_index)
 
HPS.MeshKit SetVertexNormalsByList (ulong[] in_vertices, HPS.Vector[] in_normals)
 
HPS.MeshKit SetVertexNormalsByList (ulong[] in_vertices, HPS.Vector in_normal)
 
HPS.MeshKit SetVertexNormalsByRange (ulong in_start, HPS.Vector[] in_normals)
 
HPS.MeshKit SetVertexNormalsByRange (ulong in_start, ulong in_count, HPS.Vector in_normal)
 
HPS.MeshKit SetVertexParametersByList (ulong[] in_vertices, float[] in_params, ulong in_param_width)
 
HPS.MeshKit SetVertexParametersByList (ulong[] in_vertices, float[] in_params)
 
HPS.MeshKit SetVertexParametersByRange (ulong in_start, float[] in_params, ulong in_param_width)
 
HPS.MeshKit SetVertexParametersByRange (ulong in_start, float[] in_params)
 
HPS.MeshKit SetVertexRGBAColorsByList (ulong[] in_vertices, HPS.RGBAColor[] in_rgba_colors, HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit SetVertexRGBAColorsByList (ulong[] in_vertices, HPS.RGBAColor[] in_rgba_colors)
 
HPS.MeshKit SetVertexRGBAColorsByList (ulong[] in_vertices, HPS.RGBAColor in_rgba_color, HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit SetVertexRGBAColorsByList (ulong[] in_vertices, HPS.RGBAColor in_rgba_color)
 
HPS.MeshKit SetVertexRGBAColorsByRange (ulong in_start, HPS.RGBAColor[] in_rgba_colors, HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit SetVertexRGBAColorsByRange (ulong in_start, HPS.RGBAColor[] in_rgba_colors)
 
HPS.MeshKit SetVertexRGBAColorsByRange (ulong in_start, ulong in_count, HPS.RGBAColor in_rgba_color, HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit SetVertexRGBAColorsByRange (ulong in_start, ulong in_count, HPS.RGBAColor in_rgba_color)
 
HPS.MeshKit SetVertexRGBColorsByList (ulong[] in_vertices, HPS.RGBColor[] in_rgb_colors, HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit SetVertexRGBColorsByList (ulong[] in_vertices, HPS.RGBColor[] in_rgb_colors)
 
HPS.MeshKit SetVertexRGBColorsByList (ulong[] in_vertices, HPS.RGBColor in_rgb_color, HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit SetVertexRGBColorsByList (ulong[] in_vertices, HPS.RGBColor in_rgb_color)
 
HPS.MeshKit SetVertexRGBColorsByRange (ulong in_start, HPS.RGBColor[] in_rgb_colors, HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit SetVertexRGBColorsByRange (ulong in_start, HPS.RGBColor[] in_rgb_colors)
 
HPS.MeshKit SetVertexRGBColorsByRange (ulong in_start, ulong in_count, HPS.RGBColor in_rgb_color, HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit SetVertexRGBColorsByRange (ulong in_start, ulong in_count, HPS.RGBColor in_rgb_color)
 
HPS.MeshKit SetVertexVisibilitiesByList (ulong[] in_vertices, bool[] in_visibilities)
 
HPS.MeshKit SetVertexVisibilitiesByList (ulong[] in_vertices, bool in_visibility)
 
HPS.MeshKit SetVertexVisibilitiesByRange (ulong in_start, bool[] in_visibilities)
 
HPS.MeshKit SetVertexVisibilitiesByRange (ulong in_start, ulong in_count, bool in_visibility)
 
void Show (out HPS.MeshKit out_kit)
 
bool ShowColumns (out ulong out_columns)
 
bool ShowEdgeColors (out ulong[] out_vertices1, out ulong[] out_vertices2, out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out float[] out_indices)
 
bool ShowEdgeColorsByList (ulong[] in_vertices1, ulong[] in_vertices2, out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out float[] out_indices)
 
bool ShowEdgeVisibilitiesByList (ulong[] in_vertices1, ulong[] in_vertices2, out bool[] out_validities, out bool[] out_visibilities)
 
bool ShowFaceColors (out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out float[] out_indices)
 
bool ShowFaceColorsByList (ulong[] in_faces, out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out float[] out_indices)
 
bool ShowFaceColorsByRange (ulong in_start, ulong in_count, out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out float[] out_indices)
 
bool ShowFaceNormals (out bool[] out_validities, out HPS.Vector[] out_normals)
 
bool ShowFaceNormalsByList (ulong[] in_faces, out bool[] out_validities, out HPS.Vector[] out_normals)
 
bool ShowFaceNormalsByRange (ulong in_start, ulong in_count, out bool[] out_validities, out HPS.Vector[] out_normals)
 
bool ShowFaceVisibilities (out bool[] out_validities, out bool[] out_visibilities)
 
bool ShowFaceVisibilitiesByList (ulong[] in_faces, out bool[] out_validities, out bool[] out_visibilities)
 
bool ShowFaceVisibilitiesByRange (ulong in_start, ulong in_count, out bool[] out_validities, out bool[] out_visibilities)
 
bool ShowMaterialMapping (out HPS.MaterialMappingKit out_kit)
 
bool ShowPoints (out HPS.Point[] out_points)
 
bool ShowPoints (out ulong out_rows, out ulong out_columns, out HPS.Point[] out_points)
 
bool ShowPointsByList (ulong[] in_indices, out HPS.Point[] out_points)
 
bool ShowPointsByRange (ulong in_start_index, ulong in_count, out HPS.Point[] out_points)
 
bool ShowPriority (out int out_priority)
 
bool ShowRows (out ulong out_rows)
 
bool ShowUserData (IntPtr in_index, out byte[] out_data)
 
bool ShowUserData (out IntPtr[] out_indices, out byte[][] out_data)
 
ulong ShowUserDataCount ()
 
bool ShowUserDataIndices (out IntPtr[] out_indices)
 
bool ShowVertexColors (HPS.Mesh.Component in_apply_to, out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out HPS.RGBAColor[] out_rgba_colors, out float[] out_indices)
 
bool ShowVertexColorsByList (ulong[] in_vertices, HPS.Mesh.Component in_apply_to, out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out HPS.RGBAColor[] out_rgba_colors, out float[] out_indices)
 
bool ShowVertexColorsByRange (ulong in_start, ulong in_count, HPS.Mesh.Component in_apply_to, out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out HPS.RGBAColor[] out_rgba_colors, out float[] out_indices)
 
bool ShowVertexNormals (out bool[] out_validities, out HPS.Vector[] out_normals)
 
bool ShowVertexNormalsByList (ulong[] in_vertices, out bool[] out_validities, out HPS.Vector[] out_normals)
 
bool ShowVertexNormalsByRange (ulong in_start, ulong in_count, out bool[] out_validities, out HPS.Vector[] out_normals)
 
bool ShowVertexParameters (out bool[] out_validities, out float[] out_params)
 
bool ShowVertexParameters (out bool[] out_validities, out float[] out_params, out ulong out_param_width)
 
bool ShowVertexParametersByList (ulong[] in_vertices, out bool[] out_validities, out float[] out_params)
 
bool ShowVertexParametersByList (ulong[] in_vertices, out bool[] out_validities, out float[] out_params, out ulong out_param_width)
 
bool ShowVertexParametersByRange (ulong in_start, ulong in_count, out bool[] out_validities, out float[] out_params)
 
bool ShowVertexParametersByRange (ulong in_start, ulong in_count, out bool[] out_validities, out float[] out_params, out ulong out_param_width)
 
bool ShowVertexVisibilities (out bool[] out_validities, out bool[] out_visibilities)
 
bool ShowVertexVisibilitiesByList (ulong[] in_vertices, out bool[] out_validities, out bool[] out_visibilities)
 
bool ShowVertexVisibilitiesByRange (ulong in_start, ulong in_count, out bool[] out_validities, out bool[] out_visibilities)
 
HPS.MeshKit UnsetAllUserData ()
 
HPS.MeshKit UnsetColumns ()
 
HPS.MeshKit UnsetEdgeColors ()
 
HPS.MeshKit UnsetEdgeColorsByList (ulong[] in_vertices1, ulong[] in_vertices2)
 
HPS.MeshKit UnsetEdgeEverything ()
 
HPS.MeshKit UnsetEdgeVisibilities ()
 
HPS.MeshKit UnsetEdgeVisibilitiesByList (ulong[] in_vertices1, ulong[] in_vertices2)
 
HPS.MeshKit UnsetEverything ()
 
HPS.MeshKit UnsetFaceColors ()
 
HPS.MeshKit UnsetFaceColorsByList (ulong[] in_faces)
 
HPS.MeshKit UnsetFaceColorsByRange (ulong in_start, ulong in_count)
 
HPS.MeshKit UnsetFaceEverything ()
 
HPS.MeshKit UnsetFaceNormals ()
 
HPS.MeshKit UnsetFaceNormalsByList (ulong[] in_vertices)
 
HPS.MeshKit UnsetFaceNormalsByRange (ulong in_start, ulong in_count)
 
HPS.MeshKit UnsetFaceVisibilities ()
 
HPS.MeshKit UnsetFaceVisibilitiesByList (ulong[] in_faces)
 
HPS.MeshKit UnsetFaceVisibilitiesByRange (ulong in_start, ulong in_count)
 
HPS.MeshKit UnsetMaterialMapping ()
 
HPS.MeshKit UnsetPoints ()
 
HPS.MeshKit UnsetPriority ()
 
HPS.MeshKit UnsetRows ()
 
HPS.MeshKit UnsetUserData (IntPtr in_index)
 
HPS.MeshKit UnsetUserData (IntPtr[] in_indices)
 
HPS.MeshKit UnsetVertexColors ()
 
HPS.MeshKit UnsetVertexColors (HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit UnsetVertexColorsByList (ulong[] in_vertices)
 
HPS.MeshKit UnsetVertexColorsByList (ulong[] in_vertices, HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit UnsetVertexColorsByRange (ulong in_start, ulong in_count)
 
HPS.MeshKit UnsetVertexColorsByRange (ulong in_start, ulong in_count, HPS.Mesh.Component in_apply_to)
 
HPS.MeshKit UnsetVertexEverything ()
 
HPS.MeshKit UnsetVertexNormals ()
 
HPS.MeshKit UnsetVertexNormalsByList (ulong[] in_vertices)
 
HPS.MeshKit UnsetVertexNormalsByRange (ulong in_start, ulong in_count)
 
HPS.MeshKit UnsetVertexParameters ()
 
HPS.MeshKit UnsetVertexParametersByList (ulong[] in_vertices)
 
HPS.MeshKit UnsetVertexParametersByRange (ulong in_start, ulong in_count)
 
HPS.MeshKit UnsetVertexVisibilities ()
 
HPS.MeshKit UnsetVertexVisibilitiesByList (ulong[] in_vertices)
 
HPS.MeshKit UnsetVertexVisibilitiesByRange (ulong in_start, ulong in_count)
 
- Public Member Functions inherited from HPS.Kit
 Kit (HPS.Kit in_that)
 
override HPS.Type Type ()
 
- Public Member Functions inherited from HPS.Object
IntPtr GetClassID ()
 
IntPtr GetInstanceID ()
 
bool HasType (HPS.Type in_mask)
 
 Object (HPS.Object that)
 
virtual void Reset ()
 

Static Public Member Functions

static bool operator!= (HPS.MeshKit a, HPS.MeshKit b)
 
static bool operator== (HPS.MeshKit a, HPS.MeshKit b)
 
- Static Public Member Functions inherited from HPS.Object
static IntPtr ClassID< T > ()
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.Object
virtual IntPtr GetNonDirectorClassID ()
 

Additional Inherited Members

- Protected Attributes inherited from HPS.Object
bool cMemOwn
 
HandleRef cptr
 

Detailed Description

The MeshKit class is a user space object. It is a kit analog to a MeshKey.

Constructor & Destructor Documentation

◆ MeshKit() [1/2]

HPS.MeshKit.MeshKit ( )
inline

The default constructor creates an empty MeshKit object.

◆ MeshKit() [2/2]

HPS.MeshKit.MeshKit ( HPS.MeshKit  in_kit)
inline

The copy constructor creates a new MeshKit object that contains the same settings as the source MeshKit.

Parameters
in_kitThe source MeshKit to copy.

Member Function Documentation

◆ Consume()

void HPS.MeshKit.Consume ( HPS.MeshKit  in_kit)
inline

Copies the source MeshKit into this MeshKit and resets the source kit.

Parameters
in_kitThe source MeshKit to consume.

◆ Empty()

override bool HPS.MeshKit.Empty ( )
inlinevirtual

Indicates whether this MeshKit has any values set on it.

Returns
true if no values are set on this MeshKit, false otherwise.

Reimplemented from HPS.Object.

◆ Equals()

bool HPS.MeshKit.Equals ( HPS.MeshKit  in_kit)
inline

Check if the source MeshKit is equivalent to this MeshKit.

Parameters
in_kitThe source MeshKit to compare to this MeshKit.
Returns
true if the objects are equivalent, false otherwise.

◆ GetPointCount()

ulong HPS.MeshKit.GetPointCount ( )
inline

Retrieves the number of points in this mesh.

Returns
The number of points in this mesh.

◆ ObjectType()

override HPS.Type HPS.MeshKit.ObjectType ( )
inlinevirtual

This function returns the type the object, as declared (if the object is derived, this does not give the true type of the derived object).

Returns
The declared type of the object in question, which may differ from the true, underlying type.

Reimplemented from HPS.Kit.

◆ Set()

void HPS.MeshKit.Set ( HPS.MeshKit  in_kit)
inline

Copies the source MeshKit into this MeshKit.

Parameters
in_kitThe source MeshKit to copy.

◆ SetColumns()

HPS.MeshKit HPS.MeshKit.SetColumns ( ulong  in_columns)
inline

Sets the number of columns for this MeshKit.

Parameters
in_columnsThe number of columns for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetEdgeIndexColorsByList() [1/2]

HPS.MeshKit HPS.MeshKit.SetEdgeIndexColorsByList ( ulong []  in_vertices1,
ulong []  in_vertices2,
float []  in_indices 
)
inline

Sets edge material indices on a selection of arbitrary edges.

Parameters
in_vertices1The vertex indices that correspond to the start position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_vertices2The vertex indices that correspond to the end position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_indicesThe material indices to set on the edges.
Returns
A reference to this MeshKit.

◆ SetEdgeIndexColorsByList() [2/2]

HPS.MeshKit HPS.MeshKit.SetEdgeIndexColorsByList ( ulong []  in_vertices1,
ulong []  in_vertices2,
float  in_index 
)
inline

Sets edge material indices on a selection of arbitrary edges.

Parameters
in_vertices1The vertex indices that correspond to the start position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_vertices2The vertex indices that correspond to the end position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_indexThe material index to set on the edges.
Returns
A reference to this MeshKit.

◆ SetEdgeRGBColorsByList() [1/2]

HPS.MeshKit HPS.MeshKit.SetEdgeRGBColorsByList ( ulong []  in_vertices1,
ulong []  in_vertices2,
HPS.RGBColor []  in_rgb_colors 
)
inline

Sets edge colors on a selection of arbitrary edges.

Parameters
in_vertices1The vertex indices that correspond to the start position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_vertices2The vertex indices that correspond to the end position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_rgb_colorsThe colors to set on the edges.
Returns
A reference to this MeshKit.

◆ SetEdgeRGBColorsByList() [2/2]

HPS.MeshKit HPS.MeshKit.SetEdgeRGBColorsByList ( ulong []  in_vertices1,
ulong []  in_vertices2,
HPS.RGBColor  in_rgb_color 
)
inline

Sets edge colors on a selection of arbitrary edges.

Parameters
in_vertices1The vertex indices that correspond to the start position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_vertices2The vertex indices that correspond to the end position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_rgb_colorThe color to set on the edges.
Returns
A reference to this MeshKit.

◆ SetEdgeVisibilitiesByList() [1/2]

HPS.MeshKit HPS.MeshKit.SetEdgeVisibilitiesByList ( ulong []  in_vertices1,
ulong []  in_vertices2,
bool []  in_visibilities 
)
inline

Sets edge visibilities on a selection of arbitrary edges.

Parameters
in_vertices1The vertex indices that correspond to the start position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_vertices2The vertex indices that correspond to the end position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_visibilitiesThe visibilities that should be set for each edge specified.
Returns
A reference to this MeshKit.

◆ SetEdgeVisibilitiesByList() [2/2]

HPS.MeshKit HPS.MeshKit.SetEdgeVisibilitiesByList ( ulong []  in_vertices1,
ulong []  in_vertices2,
bool  in_visibility 
)
inline

Sets edge visibilities on a selection of arbitrary edges.

Parameters
in_vertices1The vertex indices that correspond to the start position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_vertices2The vertex indices that correspond to the end position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_visibilityThe visibility to apply to each edge specified.
Returns
A reference to this MeshKit.

◆ SetFaceIndexColorsByList() [1/2]

HPS.MeshKit HPS.MeshKit.SetFaceIndexColorsByList ( ulong []  in_faces,
float []  in_indices 
)
inline

Sets face material indices on a selection of arbitrary faces. If the sizes of the face index and material index arrays are different, the smaller size will be used.

Parameters
in_facesThe indices of the faces on which to set the colors.
in_indicesThe material indices to set on the faces.
Returns
A reference to this MeshKit.

◆ SetFaceIndexColorsByList() [2/2]

HPS.MeshKit HPS.MeshKit.SetFaceIndexColorsByList ( ulong []  in_faces,
float  in_index 
)
inline

Sets a single material index on a selection of arbitrary faces.

Parameters
in_facesThe indices of the faces on which to set the color.
in_indexThe material index to set on the faces.
Returns
A reference to this MeshKit.

◆ SetFaceIndexColorsByRange() [1/2]

HPS.MeshKit HPS.MeshKit.SetFaceIndexColorsByRange ( ulong  in_start,
float []  in_indices 
)
inline

Sets face material indices on a range of faces starting at the specified offset.

Parameters
in_startThe offset into the faces for this MeshKit at which to start setting colors.
in_indicesThe material indices to set on the faces for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetFaceIndexColorsByRange() [2/2]

HPS.MeshKit HPS.MeshKit.SetFaceIndexColorsByRange ( ulong  in_start,
ulong  in_count,
float  in_index 
)
inline

Sets a single material index on a range of faces starting at the specified offset.

Parameters
in_startThe offset into the faces for this MeshKit at which to start setting the color.
in_countThe number of faces on which to set the color.
in_indexThe material index to set on the faces for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetFaceNormalsByList() [1/2]

HPS.MeshKit HPS.MeshKit.SetFaceNormalsByList ( ulong []  in_faces,
HPS.Vector []  in_normals 
)
inline

Sets face normals on a selection of arbitrary faces. If the sizes of the face index and normal arrays are different, the smaller size will be used.

Parameters
in_facesThe indices of the faces on which to set the normals.
in_normalsThe normals to set on the faces.
Returns
A reference to this MeshKit.

◆ SetFaceNormalsByList() [2/2]

HPS.MeshKit HPS.MeshKit.SetFaceNormalsByList ( ulong []  in_faces,
HPS.Vector  in_normal 
)
inline

Sets a single normal on a selection of arbitrary faces.

Parameters
in_facesThe indices of the faces on which to set the normal.
in_normalThe normal to set on the faces.
Returns
A reference to this MeshKit.

◆ SetFaceNormalsByRange() [1/2]

HPS.MeshKit HPS.MeshKit.SetFaceNormalsByRange ( ulong  in_start,
HPS.Vector []  in_normals 
)
inline

Sets face normals on a range of faces starting at the specified offset.

Parameters
in_startThe offset into the faces for this MeshKit at which to start setting normals.
in_normalsThe normals to set on the faces for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetFaceNormalsByRange() [2/2]

HPS.MeshKit HPS.MeshKit.SetFaceNormalsByRange ( ulong  in_start,
ulong  in_count,
HPS.Vector  in_normal 
)
inline

Sets a single normal on a range of faces starting at the specified offset.

Parameters
in_startThe offset into the faces for this MeshKit at which to start setting the normal.
in_countThe number of faces on which to set the normal.
in_normalThe normal to set on the faces for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetFaceRGBColorsByList() [1/2]

HPS.MeshKit HPS.MeshKit.SetFaceRGBColorsByList ( ulong []  in_faces,
HPS.RGBColor []  in_rgb_colors 
)
inline

Sets face RGB colors on a selection of arbitrary faces. If the sizes of the face index array and the color array different, the smaller size will be used.

Parameters
in_facesThe indices of the faces on which to set the colors.
in_rgb_colorsThe RGB colors to set on the faces.
Returns
A reference to this MeshKit.

◆ SetFaceRGBColorsByList() [2/2]

HPS.MeshKit HPS.MeshKit.SetFaceRGBColorsByList ( ulong []  in_faces,
HPS.RGBColor  in_rgb_color 
)
inline

Sets a single RGB color on a selection of arbitrary faces.

Parameters
in_facesThe indices of the faces on which to set the color.
in_rgb_colorThe RGB color to set on the faces.
Returns
A reference to this MeshKit.

◆ SetFaceRGBColorsByRange() [1/2]

HPS.MeshKit HPS.MeshKit.SetFaceRGBColorsByRange ( ulong  in_start,
HPS.RGBColor []  in_rgb_colors 
)
inline

Sets face RGB colors on a range of faces starting at the specified offset.

Parameters
in_startThe offset into the faces for this MeshKit at which to start setting colors.
in_rgb_colorsThe RGB colors to set on the faces for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetFaceRGBColorsByRange() [2/2]

HPS.MeshKit HPS.MeshKit.SetFaceRGBColorsByRange ( ulong  in_start,
ulong  in_count,
HPS.RGBColor  in_rgb_color 
)
inline

Sets a single RGB color on a range of faces starting at the specified offset.

Parameters
in_startThe offset into the faces for this MeshKit at which to start setting the color.
in_countThe number of faces on which to set the color.
in_rgb_colorThe RGB color to set on the faces for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetFaceVisibilitiesByList() [1/2]

HPS.MeshKit HPS.MeshKit.SetFaceVisibilitiesByList ( ulong []  in_faces,
bool []  in_visibilities 
)
inline

Sets face visibilities on a selection of arbitrary faces. If the sizes of the face index and visibility arrays are different, the smaller size will be used.

Parameters
in_facesThe indices of the faces on which to set the visibilities.
in_visibilitiesThe visibilities to set on the faces.
Returns
A reference to this MeshKit.

◆ SetFaceVisibilitiesByList() [2/2]

HPS.MeshKit HPS.MeshKit.SetFaceVisibilitiesByList ( ulong []  in_faces,
bool  in_visibility 
)
inline

Sets a single visibility on a selection of arbitrary faces.

Parameters
in_facesThe indices of the faces on which to set the visibility.
in_visibilityThe visibility to set on the faces.
Returns
A reference to this MeshKit.

◆ SetFaceVisibilitiesByRange() [1/2]

HPS.MeshKit HPS.MeshKit.SetFaceVisibilitiesByRange ( ulong  in_start,
bool []  in_visibilities 
)
inline

Sets face visibilities on a range of faces starting at the specified offset.

Parameters
in_startThe offset into the faces for this MeshKit at which to start setting visibilities.
in_visibilitiesThe visibilities to set on the faces for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetFaceVisibilitiesByRange() [2/2]

HPS.MeshKit HPS.MeshKit.SetFaceVisibilitiesByRange ( ulong  in_start,
ulong  in_count,
bool  in_visibility 
)
inline

Sets a single visibility on a range of faces starting at the specified offset.

Parameters
in_startThe offset into the faces for this MeshKit at which to start setting the visibility.
in_countThe number of faces on which to set the visibility.
in_visibilityThe visibility to set on the faces for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetMaterialMapping()

HPS.MeshKit HPS.MeshKit.SetMaterialMapping ( HPS.MaterialMappingKit  in_kit)
inline

Sets the specified material mappings on this MeshKit. If this kit is used to insert a mesh, only face, back face, cut edge, cut face, edge, and vertex materials will be set on the inserted mesh. These material settings will be "global" for the mesh, i.e., all types will get the material for that type. To get different materials for the same types, e.g., faces with different colors, it is necessary to use the per-vertex or per-face functions.

Parameters
in_kitThe material mappings to set on this MeshKey.
Returns
A reference to this MeshKey.

◆ SetPoints() [1/2]

HPS.MeshKit HPS.MeshKit.SetPoints ( HPS.Point []  in_points)
inline

Sets the points for this MeshKit.

Parameters
in_pointsThe points for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetPoints() [2/2]

HPS.MeshKit HPS.MeshKit.SetPoints ( ulong  in_rows,
ulong  in_columns,
HPS.Point []  in_points 
)
inline

Sets the points, rows and columns for this MeshKit.

Parameters
in_rowsThe number of rows for this MeshKit.
in_columnsThe number of columns for this MeshKit.
in_pointsThe points to use to replace those on this MeshKit.
Returns
A reference to this MeshKit.

◆ SetPriority()

HPS.MeshKit HPS.MeshKit.SetPriority ( int  in_priority)
inline

Assigns a specific drawing priority value to the MeshKit. It affects the order in which the contents of this segment are drawn if and only if the rendering algorithm is set to Priority.

Parameters
in_priorityThe drawing priority, higher priority items are drawn on top of lower priority items.
Returns
A reference to this object.
See also
SubwindowKit.SetPriority()
SubwindowKit.SetRenderingAlgorithm()

◆ SetRows()

HPS.MeshKit HPS.MeshKit.SetRows ( ulong  in_rows)
inline

Sets the number of rows for this MeshKit.

Parameters
in_rowsThe number of rows for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetUserData() [1/3]

HPS.MeshKit HPS.MeshKit.SetUserData ( IntPtr  in_index,
ulong  in_bytes,
byte []  in_data 
)
inline

Sets user data on this kit.

Parameters
in_indexThe index of the user data to set.
in_bytesThe number of bytes of user data to set.
in_dataThe bytes of user data to set.
Returns
A reference to this kit.

◆ SetUserData() [2/3]

HPS.MeshKit HPS.MeshKit.SetUserData ( IntPtr  in_index,
byte []  in_data 
)
inline

Sets user data on this kit.

Parameters
in_indexThe index of the user data to set.
in_dataThe bytes of user data to set.
Returns
A reference to this kit.

◆ SetUserData() [3/3]

HPS.MeshKit HPS.MeshKit.SetUserData ( IntPtr []  in_indices,
byte  in_data[][] 
)
inline

Sets user data on this kit.

Parameters
in_indicesAn array of user data indices to set.
in_dataAn array of bytes of user data to set.
Returns
A reference to this kit.

◆ SetVertexIndexColorsByList() [1/4]

HPS.MeshKit HPS.MeshKit.SetVertexIndexColorsByList ( ulong []  in_vertices,
float []  in_indices,
HPS.Mesh.Component  in_apply_to 
)
inline

Sets vertex material indices on a selection of arbitrary vertices which apply to the specified mesh component. If the sizes of the vertex index and material index arrays are different, the smaller size will be used.

Parameters
in_verticesThe indices of the vertices on which to set the colors.
in_indicesThe material indices to set on the vertices.
in_apply_toThe mesh component the colors should apply to. Defaults to Mesh.Component.Faces.
Returns
A reference to this MeshKit.

◆ SetVertexIndexColorsByList() [2/4]

HPS.MeshKit HPS.MeshKit.SetVertexIndexColorsByList ( ulong []  in_vertices,
float []  in_indices 
)
inline

Sets vertex material indices on a selection of arbitrary vertices which apply to the specified mesh component. If the sizes of the vertex index and material index arrays are different, the smaller size will be used.

Parameters
in_verticesThe indices of the vertices on which to set the colors.
in_indicesThe material indices to set on the vertices.
Returns
A reference to this MeshKit.

◆ SetVertexIndexColorsByList() [3/4]

HPS.MeshKit HPS.MeshKit.SetVertexIndexColorsByList ( ulong []  in_vertices,
float  in_index,
HPS.Mesh.Component  in_apply_to 
)
inline

Sets a single material index on a selection of arbitrary vertices which apply to the specified mesh component.

Parameters
in_verticesThe indices of the vertices on which to set the color.
in_indexThe material index to set on the vertices.
in_apply_toThe mesh component the colors should apply to. Defaults to Mesh.Component.Faces.
Returns
A reference to this MeshKit.

◆ SetVertexIndexColorsByList() [4/4]

HPS.MeshKit HPS.MeshKit.SetVertexIndexColorsByList ( ulong []  in_vertices,
float  in_index 
)
inline

Sets a single material index on a selection of arbitrary vertices which apply to the specified mesh component.

Parameters
in_verticesThe indices of the vertices on which to set the color.
in_indexThe material index to set on the vertices.
Returns
A reference to this MeshKit.

◆ SetVertexIndexColorsByRange() [1/4]

HPS.MeshKit HPS.MeshKit.SetVertexIndexColorsByRange ( ulong  in_start,
float []  in_indices,
HPS.Mesh.Component  in_apply_to 
)
inline

Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified mesh component.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting colors.
in_indicesThe material indices to set on the vertices for this MeshKit.
in_apply_toThe mesh component the colors should apply to. Defaults to Mesh.Component.Faces.
Returns
A reference to this MeshKit.

◆ SetVertexIndexColorsByRange() [2/4]

HPS.MeshKit HPS.MeshKit.SetVertexIndexColorsByRange ( ulong  in_start,
float []  in_indices 
)
inline

Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified mesh component.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting colors.
in_indicesThe material indices to set on the vertices for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetVertexIndexColorsByRange() [3/4]

HPS.MeshKit HPS.MeshKit.SetVertexIndexColorsByRange ( ulong  in_start,
ulong  in_count,
float  in_index,
HPS.Mesh.Component  in_apply_to 
)
inline

Sets a single material index on a range of vertices starting at the specified offset which apply to the specified mesh component.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting the color.
in_countThe number of vertices on which to set the color.
in_indexThe material index to set on the vertices for this MeshKit.
in_apply_toThe mesh component the colors should apply to. Defaults to Mesh.Component.Faces.
Returns
A reference to this MeshKit.

◆ SetVertexIndexColorsByRange() [4/4]

HPS.MeshKit HPS.MeshKit.SetVertexIndexColorsByRange ( ulong  in_start,
ulong  in_count,
float  in_index 
)
inline

Sets a single material index on a range of vertices starting at the specified offset which apply to the specified mesh component.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting the color.
in_countThe number of vertices on which to set the color.
in_indexThe material index to set on the vertices for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetVertexNormalsByList() [1/2]

HPS.MeshKit HPS.MeshKit.SetVertexNormalsByList ( ulong []  in_vertices,
HPS.Vector []  in_normals 
)
inline

Sets vertex normals on a selection of arbitrary vertices. If the sizes of the vertex index and normal arrays are different, the smaller size will be used.

Parameters
in_verticesThe indices of the vertices on which to set the normals.
in_normalsThe normals to set on the vertices.
Returns
A reference to this MeshKit.

◆ SetVertexNormalsByList() [2/2]

HPS.MeshKit HPS.MeshKit.SetVertexNormalsByList ( ulong []  in_vertices,
HPS.Vector  in_normal 
)
inline

Sets a single normal on a selection of arbitrary vertices.

Parameters
in_verticesThe indices of the vertices on which to set the normal.
in_normalThe normal to set on the vertices.
Returns
A reference to this MeshKit.

◆ SetVertexNormalsByRange() [1/2]

HPS.MeshKit HPS.MeshKit.SetVertexNormalsByRange ( ulong  in_start,
HPS.Vector []  in_normals 
)
inline

Sets vertex normals on a range of vertices starting at the specified offset.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting normals.
in_normalsThe normals to set on the vertices for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetVertexNormalsByRange() [2/2]

HPS.MeshKit HPS.MeshKit.SetVertexNormalsByRange ( ulong  in_start,
ulong  in_count,
HPS.Vector  in_normal 
)
inline

Sets a single normal on a range of vertices starting at the specified offset.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting the normal.
in_countThe number of vertices on which to set the normal.
in_normalThe normal to set on the vertices for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetVertexParametersByList() [1/2]

HPS.MeshKit HPS.MeshKit.SetVertexParametersByList ( ulong []  in_vertices,
float []  in_params,
ulong  in_param_width 
)
inline

Sets texture parameters on a selection of arbitrary vertices. If the sizes of the vertex index array and the texture paramter array (divided by the parameter width) are different, the smaller size will be used.

Parameters
in_verticesThe indices of the vertices on which to set the texture parameters.
in_paramsThe texture parameters to set on the vertices for this MeshKit. The size of the array should be divisible by the parameter width, if it is not, some parameters will get ignored.
in_param_widthThe number of texture parameters per vertex. Defaults to 2.
Returns
A reference to this MeshKit.

◆ SetVertexParametersByList() [2/2]

HPS.MeshKit HPS.MeshKit.SetVertexParametersByList ( ulong []  in_vertices,
float []  in_params 
)
inline

Sets texture parameters on a selection of arbitrary vertices. If the sizes of the vertex index array and the texture paramter array (divided by the parameter width) are different, the smaller size will be used.

Parameters
in_verticesThe indices of the vertices on which to set the texture parameters.
in_paramsThe texture parameters to set on the vertices for this MeshKit. The size of the array should be divisible by the parameter width, if it is not, some parameters will get ignored.
Returns
A reference to this MeshKit.

◆ SetVertexParametersByRange() [1/2]

HPS.MeshKit HPS.MeshKit.SetVertexParametersByRange ( ulong  in_start,
float []  in_params,
ulong  in_param_width 
)
inline

Sets texture parameters on a range of vertices starting at the specified offset.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting texture parameters.
in_paramsThe texture parameters to set on the vertices for this MeshKit. The size of the array should be divisible by the parameter width, if it is not, some parameters will get ignored.
in_param_widthThe number of texture parameters per vertex. Defaults to 2.
Returns
A reference to this MeshKit.

◆ SetVertexParametersByRange() [2/2]

HPS.MeshKit HPS.MeshKit.SetVertexParametersByRange ( ulong  in_start,
float []  in_params 
)
inline

Sets texture parameters on a range of vertices starting at the specified offset.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting texture parameters.
in_paramsThe texture parameters to set on the vertices for this MeshKit. The size of the array should be divisible by the parameter width, if it is not, some parameters will get ignored.
Returns
A reference to this MeshKit.

◆ SetVertexRGBAColorsByList() [1/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBAColorsByList ( ulong []  in_vertices,
HPS.RGBAColor []  in_rgba_colors,
HPS.Mesh.Component  in_apply_to 
)
inline

Sets vertex RGBA colors on a selection of arbitrary vertices which apply to the specified mesh component. If the sizes of the vertex index array and color array are different, the smaller size will be used.

Parameters
in_verticesThe indices of the vertices on which to set the colors.
in_rgba_colorsThe RGBA colors to set on the vertices.
in_apply_toThe mesh component the colors should apply to. Defaults to Mesh.Component.Faces.
Returns
A reference to this MeshKit.

◆ SetVertexRGBAColorsByList() [2/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBAColorsByList ( ulong []  in_vertices,
HPS.RGBAColor []  in_rgba_colors 
)
inline

Sets vertex RGBA colors on a selection of arbitrary vertices which apply to the specified mesh component. If the sizes of the vertex index array and color array are different, the smaller size will be used.

Parameters
in_verticesThe indices of the vertices on which to set the colors.
in_rgba_colorsThe RGBA colors to set on the vertices.
Returns
A reference to this MeshKit.

◆ SetVertexRGBAColorsByList() [3/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBAColorsByList ( ulong []  in_vertices,
HPS.RGBAColor  in_rgba_color,
HPS.Mesh.Component  in_apply_to 
)
inline

Sets a single RGBA color on a selection of arbitrary vertices which apply to the specified mesh component.

Parameters
in_verticesThe indices of the vertices on which to set the color.
in_rgba_colorThe RGBA color to set on the vertices.
in_apply_toThe mesh component the colors should apply to. Defaults to Mesh.Component.Faces.
Returns
A reference to this MeshKit.

◆ SetVertexRGBAColorsByList() [4/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBAColorsByList ( ulong []  in_vertices,
HPS.RGBAColor  in_rgba_color 
)
inline

Sets a single RGBA color on a selection of arbitrary vertices which apply to the specified mesh component.

Parameters
in_verticesThe indices of the vertices on which to set the color.
in_rgba_colorThe RGBA color to set on the vertices.
Returns
A reference to this MeshKit.

◆ SetVertexRGBAColorsByRange() [1/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBAColorsByRange ( ulong  in_start,
HPS.RGBAColor []  in_rgba_colors,
HPS.Mesh.Component  in_apply_to 
)
inline

Sets vertex RGBA colors on a range of vertices starting at the specified offset which apply to the specified mesh component.

Parameters
in_startThe offset into the vertices for this MeshKey at which to start setting colors.
in_rgba_colorsThe RGBA colors to set on the vertices for this MeshKit.
in_apply_toThe mesh component the colors should apply to. Defaults to Mesh.Component.Faces.
Returns
A reference to this MeshKit.

◆ SetVertexRGBAColorsByRange() [2/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBAColorsByRange ( ulong  in_start,
HPS.RGBAColor []  in_rgba_colors 
)
inline

Sets vertex RGBA colors on a range of vertices starting at the specified offset which apply to the specified mesh component.

Parameters
in_startThe offset into the vertices for this MeshKey at which to start setting colors.
in_rgba_colorsThe RGBA colors to set on the vertices for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetVertexRGBAColorsByRange() [3/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBAColorsByRange ( ulong  in_start,
ulong  in_count,
HPS.RGBAColor  in_rgba_color,
HPS.Mesh.Component  in_apply_to 
)
inline

Sets a single RGBA color on a range of vertices starting at the specified offset which apply to the specified mesh component.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting the color.
in_countThe number of vertices on which to set the color.
in_rgba_colorThe RGBA color to set on the vertices for this MeshKit.
in_apply_toThe mesh component the colors should apply to. Defaults to Mesh.Component.Faces.
Returns
A reference to this MeshKit.

◆ SetVertexRGBAColorsByRange() [4/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBAColorsByRange ( ulong  in_start,
ulong  in_count,
HPS.RGBAColor  in_rgba_color 
)
inline

Sets a single RGBA color on a range of vertices starting at the specified offset which apply to the specified mesh component.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting the color.
in_countThe number of vertices on which to set the color.
in_rgba_colorThe RGBA color to set on the vertices for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetVertexRGBColorsByList() [1/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBColorsByList ( ulong []  in_vertices,
HPS.RGBColor []  in_rgb_colors,
HPS.Mesh.Component  in_apply_to 
)
inline

Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified mesh component. If the sizes of the vertex index array and the color array different, the smaller size will be used.

Parameters
in_verticesThe indices of the vertices on which to set the colors.
in_rgb_colorsThe RGB colors to set on the vertices.
in_apply_toThe mesh component the colors should apply to. Defaults to Mesh.Component.Faces.
Returns
A reference to this MeshKit.

◆ SetVertexRGBColorsByList() [2/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBColorsByList ( ulong []  in_vertices,
HPS.RGBColor []  in_rgb_colors 
)
inline

Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified mesh component. If the sizes of the vertex index array and the color array different, the smaller size will be used.

Parameters
in_verticesThe indices of the vertices on which to set the colors.
in_rgb_colorsThe RGB colors to set on the vertices.
Returns
A reference to this MeshKit.

◆ SetVertexRGBColorsByList() [3/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBColorsByList ( ulong []  in_vertices,
HPS.RGBColor  in_rgb_color,
HPS.Mesh.Component  in_apply_to 
)
inline

Sets a single RGB color on a selection of arbitrary vertices which apply to the specified mesh component.

Parameters
in_verticesThe indices of the vertices on which to set the color.
in_rgb_colorThe RGB color to set on the vertices.
in_apply_toThe mesh component the colors should apply to. Defaults to Mesh.Component.Faces.
Returns
A reference to this MeshKit.

◆ SetVertexRGBColorsByList() [4/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBColorsByList ( ulong []  in_vertices,
HPS.RGBColor  in_rgb_color 
)
inline

Sets a single RGB color on a selection of arbitrary vertices which apply to the specified mesh component.

Parameters
in_verticesThe indices of the vertices on which to set the color.
in_rgb_colorThe RGB color to set on the vertices.
Returns
A reference to this MeshKit.

◆ SetVertexRGBColorsByRange() [1/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBColorsByRange ( ulong  in_start,
HPS.RGBColor []  in_rgb_colors,
HPS.Mesh.Component  in_apply_to 
)
inline

Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified mesh component.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting colors.
in_rgb_colorsThe RGB colors to set on the vertices for this MeshKit.
in_apply_toThe mesh component the colors should apply to. Defaults to Mesh.Component.Faces.
Returns
A reference to this MeshKit.

◆ SetVertexRGBColorsByRange() [2/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBColorsByRange ( ulong  in_start,
HPS.RGBColor []  in_rgb_colors 
)
inline

Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified mesh component.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting colors.
in_rgb_colorsThe RGB colors to set on the vertices for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetVertexRGBColorsByRange() [3/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBColorsByRange ( ulong  in_start,
ulong  in_count,
HPS.RGBColor  in_rgb_color,
HPS.Mesh.Component  in_apply_to 
)
inline

Sets a single RGB color on a range of vertices starting at the specified offset which apply to the specified mesh component.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting the color.
in_countThe number of vertices on which to set the color.
in_rgb_colorThe RGB color to set on the vertices for this MeshKit.
in_apply_toThe mesh component the colors should apply to. Defaults to Mesh.Component.Faces.
Returns
A reference to this MeshKit.

◆ SetVertexRGBColorsByRange() [4/4]

HPS.MeshKit HPS.MeshKit.SetVertexRGBColorsByRange ( ulong  in_start,
ulong  in_count,
HPS.RGBColor  in_rgb_color 
)
inline

Sets a single RGB color on a range of vertices starting at the specified offset which apply to the specified mesh component.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting the color.
in_countThe number of vertices on which to set the color.
in_rgb_colorThe RGB color to set on the vertices for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetVertexVisibilitiesByList() [1/2]

HPS.MeshKit HPS.MeshKit.SetVertexVisibilitiesByList ( ulong []  in_vertices,
bool []  in_visibilities 
)
inline

Sets vertex visibilities on a selection of arbitrary vertices. If the sizes of the vertex index and visibility arrays are different, the smaller size will be used.

Parameters
in_verticesThe indices of the vertices on which to set the visibilities.
in_visibilitiesThe visibilities to set on the vertices.
Returns
A reference to this MeshKit.

◆ SetVertexVisibilitiesByList() [2/2]

HPS.MeshKit HPS.MeshKit.SetVertexVisibilitiesByList ( ulong []  in_vertices,
bool  in_visibility 
)
inline

Sets a single visibility on a selection of arbitrary vertices.

Parameters
in_verticesThe indices of the vertices on which to set the visibility.
in_visibilityThe visibility to set on the vertices.
Returns
A reference to this MeshKit.

◆ SetVertexVisibilitiesByRange() [1/2]

HPS.MeshKit HPS.MeshKit.SetVertexVisibilitiesByRange ( ulong  in_start,
bool []  in_visibilities 
)
inline

Sets vertex visibilities on a range of vertices starting at the specified offset.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting visibilities.
in_visibilitiesThe visibilities to set on the vertices for this MeshKit.
Returns
A reference to this MeshKit.

◆ SetVertexVisibilitiesByRange() [2/2]

HPS.MeshKit HPS.MeshKit.SetVertexVisibilitiesByRange ( ulong  in_start,
ulong  in_count,
bool  in_visibility 
)
inline

Sets a single visibility on a range of vertices starting at the specified offset.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start setting the visibility.
in_countThe number of vertices on which to set the visibility.
in_visibilityThe visibility to set on the vertices for this MeshKit.
Returns
A reference to this MeshKit.

◆ Show()

void HPS.MeshKit.Show ( out HPS.MeshKit  out_kit)
inline

Copies this MeshKit into the given MeshKit.

Parameters
out_kitThe MeshKit to populate with the contents of this MeshKit.

◆ ShowColumns()

bool HPS.MeshKit.ShowColumns ( out ulong  out_columns)
inline

Shows the number of columns for this MeshKit.

Parameters
out_columnsThe number of columns for this MeshKit.
Returns
true if a number of columns was set, false otherwise.

◆ ShowEdgeColors()

bool HPS.MeshKit.ShowEdgeColors ( out ulong []  out_vertices1,
out ulong []  out_vertices2,
out HPS.Material.Type []  out_types,
out HPS.RGBColor []  out_rgb_colors,
out float []  out_indices 
)
inline

Sets edge colors on a selection of arbitrary edges.

Parameters
out_vertices1The vertex indices that correspond to the start position of each edge for which the visibilities are being changed.
out_vertices2The vertex indices that correspond to the end position of each edge for which the visibilities are being changed.
out_typesThe types of edge colors for each edge.
out_rgb_colorsThe colors that have been set on each edge. A given element of this array is valid only if the equivalent element of out_types is RGBColor.
out_indicesThe colors that have been set on each edge. A given element of this array is valid only if the equivalent element of out_types is MaterialIndex.
Returns
A reference to this MeshKit.

◆ ShowEdgeColorsByList()

bool HPS.MeshKit.ShowEdgeColorsByList ( ulong []  in_vertices1,
ulong []  in_vertices2,
out HPS.Material.Type []  out_types,
out HPS.RGBColor []  out_rgb_colors,
out float []  out_indices 
)
inline

Sets edge colors on a selection of arbitrary edges.

Parameters
in_vertices1The vertex indices that correspond to the start position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_vertices2The vertex indices that correspond to the end position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
out_typesThe types of edge colors for each edge.
out_rgb_colorsThe colors that have been set on each edge. A given element of this array is valid only if the equivalent element of out_types is Material.Type.RGBColor.
out_indicesThe colors that have been set on each edge. A given element of this array is valid only if the equivalent element of out_types is Material.Type.MaterialIndex.
Returns
A reference to this MeshKit.

◆ ShowEdgeVisibilitiesByList()

bool HPS.MeshKit.ShowEdgeVisibilitiesByList ( ulong []  in_vertices1,
ulong []  in_vertices2,
out bool []  out_validities,
out bool []  out_visibilities 
)
inline

Shows all the edge visibilities on this ShellKey.

Parameters
in_vertices1The vertex indices that correspond to the start position of each edge for which the visibilities are being shown. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_vertices2The vertex indices that correspond to the end position of each edge for which the visibilities are being shown. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
out_validitiesThe validities of the visibilities for each edge. If an edge has a visibility set on it, the entry in this array will be true, otherwise it will be false.
out_visibilitiesThe edge visibilities for each edge. out_visibilities[i] is only valid if out_validities[i] is true.
Returns
true if any vertex had a vertex visibility set, false otherwise.

◆ ShowFaceColors()

bool HPS.MeshKit.ShowFaceColors ( out HPS.Material.Type []  out_types,
out HPS.RGBColor []  out_rgb_colors,
out float []  out_indices 
)
inline

Shows all the face colors on this MeshKit.

Parameters
out_typesThe types of face colors for each face. If a face does not have a face color set, the entry in this array will be Material.Type.None.
out_rgb_colorsThe RGB colors for each face. out_rgb_colors[i] is only valid if out_types[i] is Material.Type.RGBColor.
out_indicesThe material indices for each face. The out_indices[i] is only valid if out_types[i] is Material.Type.MaterialIndex.
Returns
true if any face had a face color set, false otherwise.

◆ ShowFaceColorsByList()

bool HPS.MeshKit.ShowFaceColorsByList ( ulong []  in_faces,
out HPS.Material.Type []  out_types,
out HPS.RGBColor []  out_rgb_colors,
out float []  out_indices 
)
inline

Shows the face colors on a selection of arbitrary faces. The order of the values in the ouput arrays is the same as the input face index array, i.e., the values of out_types[i], out_rgb_colors[i], and out_indices[i], correspond to the face at index in_faces[i].

Parameters
in_facesThe indices of the faces on which to show the colors.
out_typesThe types of face colors for each face at the specified index. If a face at a specified index does not have a face color set, the entry in this array will be Material.Type.None.
out_rgb_colorsThe RGB colors for each face at the specified index. out_rgb_colors[i] is only valid if out_types[i] is Material.Type.RGBColor.
out_indicesThe material indices for each face at the specified index. The out_indices[i] is only valid if out_types[i] is Material.Type.MaterialIndex.
Returns
true if any specified face had a face color set, false otherwise.

◆ ShowFaceColorsByRange()

bool HPS.MeshKit.ShowFaceColorsByRange ( ulong  in_start,
ulong  in_count,
out HPS.Material.Type []  out_types,
out HPS.RGBColor []  out_rgb_colors,
out float []  out_indices 
)
inline

Shows the face colors on a range of faces starting at the specified offset.

Parameters
in_startThe offset into the faces for this MeshKit at which to start showing colors.
in_countThe number of colors to show.
out_typesThe types of face colors for each face in the specified range. If a face in the specified range does not have a face color set, the entry in this array will be Material.Type.None.
out_rgb_colorsThe RGB colors for each face in the specified range. out_rgb_colors[i] is only valid if out_types[i] is Material.Type.RGBColor.
out_indicesThe material indices for each face in the specified range. The out_indices[i] is only valid if out_types[i] is Material.Type.MaterialIndex.
Returns
true if any face in the specified range had a face color set, false otherwise.

◆ ShowFaceNormals()

bool HPS.MeshKit.ShowFaceNormals ( out bool []  out_validities,
out HPS.Vector []  out_normals 
)
inline

Shows the all face normals on this MeshKit.

Parameters
out_validitiesThe validities of the normals for each face. If a face had a normal set on it, the entry in this array will be true, otherwise it will be false.
out_normalsThe face normals for each face. out_normals[i] is only valid if out_validities[i] is true.
Returns
true if any face had a face normal set, false otherwise.

◆ ShowFaceNormalsByList()

bool HPS.MeshKit.ShowFaceNormalsByList ( ulong []  in_faces,
out bool []  out_validities,
out HPS.Vector []  out_normals 
)
inline

Shows the face normals on a selection of arbitrary faces. The order of the values in the output arrays is the same as the input face index array, i.e., the values of out_validities[i] and out_normals[i] correspond to the face at index in_faces[i].

Parameters
in_facesThe indices of the faces on which to show the normals.
out_validitiesThe validities of the normals for each face at the specified index. If a face at a specified index had a normal set on it, the entry in this array will be true, otherwise it will be false.
out_normalsThe face normals for each face at the specified index. out_normals[i] is only valid if out_validities[i] is true.
Returns
true if any specified face had a face normal set, false otherwise.

◆ ShowFaceNormalsByRange()

bool HPS.MeshKit.ShowFaceNormalsByRange ( ulong  in_start,
ulong  in_count,
out bool []  out_validities,
out HPS.Vector []  out_normals 
)
inline

Shows the face normals on a range of faces starting at the specified offset.

Parameters
in_startThe offset into the faces for this MeshKit at which to start showing normals.
in_countThe number of normals to show.
out_validitiesThe validities of the normals for each face in the specified range. If a face in the specified range had a normal set on it, the entry in this array will be true, otherwise it will be false.
out_normalsThe face normals for each face in the specified range. out_normals[i] is only valid if out_validities[i] is true.
Returns
true if any face in the specified range had a face normal set, false otherwise.

◆ ShowFaceVisibilities()

bool HPS.MeshKit.ShowFaceVisibilities ( out bool []  out_validities,
out bool []  out_visibilities 
)
inline

Shows all the face visibilities on this MeshKit.

Parameters
out_validitiesThe validities of the visibilities for each face. If a face had a visibility set on it, the entry in this array will be true, otherwise it will be false.
out_visibilitiesThe face visibilities for each face. out_visibilities[i] is only valid if out_validities[i] is true.
Returns
true if any face had a face visibility set, false otherwise.

◆ ShowFaceVisibilitiesByList()

bool HPS.MeshKit.ShowFaceVisibilitiesByList ( ulong []  in_faces,
out bool []  out_validities,
out bool []  out_visibilities 
)
inline

Shows the face visibilities on a selection of arbitrary faces. The order of the values in the output arrays is the same as the input face index array, i.e., the values of out_validities[i] and out_visibilities[i] correspond to the face at index in_faces[i].

Parameters
in_facesThe indices of the faces on which to show the normals.
out_validitiesThe validities of the normals for each face at the specified index. If a face at a specified index had a visibility set on it, the entry in this array will be true, otherwise it will be false.
out_visibilitiesThe face visibilities for each face at the specified index. out_visibilities[i] is only valid if out_validities[i] is true.
Returns
true if any specified face had a face visibility set, false otherwise.

◆ ShowFaceVisibilitiesByRange()

bool HPS.MeshKit.ShowFaceVisibilitiesByRange ( ulong  in_start,
ulong  in_count,
out bool []  out_validities,
out bool []  out_visibilities 
)
inline

Shows the face visibilities on a range of faces starting at the specified offset.

Parameters
in_startThe offset into the faces for this MeshKit at which to start showing visibilities.
in_countThe number of visibilities to show.
out_validitiesThe validities of the visibilities for each face in the specified range. If a face in the specified range had a visibility set on it, the entry in this array will be true, otherwise it will be false.
out_visibilitiesThe face visibilities for each face in the specified range. out_visibilities[i] is only valid if out_validities[i] is true.
Returns
true if any face in the specified range had a face visibility set, false otherwise.

◆ ShowMaterialMapping()

bool HPS.MeshKit.ShowMaterialMapping ( out HPS.MaterialMappingKit  out_kit)
inline

Shows the material mappings set on this MeshKit. These are the "global" material settings, not the per-vertex and per-face material settings.

Parameters
out_kitThe material mappings set on this MeshKit.
Returns
true if material mappings were set, false otherwise.

◆ ShowPoints() [1/2]

bool HPS.MeshKit.ShowPoints ( out HPS.Point []  out_points)
inline

Shows the points for this MeshKit.

Parameters
out_pointsThe points for this MeshKit.
Returns
true if points were set, false otherwise.

◆ ShowPoints() [2/2]

bool HPS.MeshKit.ShowPoints ( out ulong  out_rows,
out ulong  out_columns,
out HPS.Point []  out_points 
)
inline

Shows the number of rows, number of columns, and points for this MeshKit.

Parameters
out_rowsThe number of rows for this MeshKit.
out_columnsThe number of columns for this MeshKit.
out_pointsThe points for this MeshKit.
Returns
true if a number of rows, a number of columns, and points were set, false otherwise.

◆ ShowPointsByList()

bool HPS.MeshKit.ShowPointsByList ( ulong []  in_indices,
out HPS.Point []  out_points 
)
inline

Show a subset of the points for this MeshKit by list.

Parameters
in_indicesThe list of point indices to show.
out_pointsThe requested points for this MeshKit.
Returns
true if all requested points were set, false otherwise.

◆ ShowPointsByRange()

bool HPS.MeshKit.ShowPointsByRange ( ulong  in_start_index,
ulong  in_count,
out HPS.Point []  out_points 
)
inline

Show a subset of the points for this MeshKit by range.

Parameters
in_start_indexThe first point to show.
in_countThe number of points to show.
out_pointsThe requested points for this MeshKit.
Returns
true if all requested points were set, false otherwise.

◆ ShowPriority()

bool HPS.MeshKit.ShowPriority ( out int  out_priority)
inline

Shows the drawing priority.

Parameters
out_priorityThe drawing priority, higher priority items are drawn on top of lower priority items.
Returns
true if the setting is valid, false otherwise.

◆ ShowRows()

bool HPS.MeshKit.ShowRows ( out ulong  out_rows)
inline

Shows the number of rows for this MeshKit.

Parameters
out_rowsThe number of rows for this MeshKit.
Returns
true if a number of rows was set, false otherwise.

◆ ShowUserData() [1/2]

bool HPS.MeshKit.ShowUserData ( IntPtr  in_index,
out byte []  out_data 
)
inline

Shows the user data at a given index for this kit.

Parameters
in_indexThe index of the user data to show.
out_dataThe user data at the given index.
Returns
true if there is user data at the given index, false otherwise.

◆ ShowUserData() [2/2]

bool HPS.MeshKit.ShowUserData ( out IntPtr []  out_indices,
out byte  out_data[][] 
)
inline

Shows all user data for this kit.

Parameters
out_indicesAn array of all user data indices set on this kit.
out_dataAn array of all user data set on this kit.
Returns
true if there is user data on this kit, false otherwise.

◆ ShowUserDataCount()

ulong HPS.MeshKit.ShowUserDataCount ( )
inline

Get the number of user data indices set on this kit.

◆ ShowUserDataIndices()

bool HPS.MeshKit.ShowUserDataIndices ( out IntPtr []  out_indices)
inline

Shows the indices of all user data set on this kit.

Parameters
out_indicesThe user data indices set on this kit.
Returns
The number of user data indices set on this kit.

◆ ShowVertexColors()

bool HPS.MeshKit.ShowVertexColors ( HPS.Mesh.Component  in_apply_to,
out HPS.Material.Type []  out_types,
out HPS.RGBColor []  out_rgb_colors,
out HPS.RGBAColor []  out_rgba_colors,
out float []  out_indices 
)
inline

Shows all the vertex colors on the specified mesh component.

Parameters
in_apply_toThe mesh component the colors should apply to.
out_typesThe types of vertex colors for each vertex. If a vertex does not have a vertex color set for the specified mesh component, the entry in this array will be Material.Type.None.
out_rgb_colorsThe RGB colors for each vertex. out_rgb_colors[i] is only valid if out_types[i] is Material.Type.RGBColor.
out_rgba_colorsThe RGBA colors for each vertex. out_rgba_colors[i] is only valid if out_types[i] is Material.Type.RGBAColor.
out_indicesThe material indices for each vertex. The out_indices[i] is only valid if out_types[i] is Material.Type.MaterialIndex.
Returns
true if any vertex colors were shown, false otherwise.

◆ ShowVertexColorsByList()

bool HPS.MeshKit.ShowVertexColorsByList ( ulong []  in_vertices,
HPS.Mesh.Component  in_apply_to,
out HPS.Material.Type []  out_types,
out HPS.RGBColor []  out_rgb_colors,
out HPS.RGBAColor []  out_rgba_colors,
out float []  out_indices 
)
inline

Shows the vertex colors on a selection of arbitrary vertices which apply to the specified mesh component. The order of the values in the ouput arrays is the same as the input vertex index array, i.e., the values of out_types[i], out_rgb_colors[i], out_rgba_colors[i], and out_indices[i], correspond to the vertex at index in_vertices[i].

Parameters
in_verticesThe indices of the vertices on which to show the colors.
in_apply_toThe mesh component the colors should apply to.
out_typesThe types of vertex colors for each vertex at the specified index. If a vertex at a specified index does not have a vertex color set for the specified component, the entry in this array will be Material.Type.None.
out_rgb_colorsThe RGB colors for each vertex at the specified index. out_rgb_colors[i] is only valid if out_types[i] is Material.Type.RGBColor.
out_rgba_colorsThe RGBA colors for each vertex at the specified index. out_rgba_colors[i] is only valid if out_types[i] is Material.Type.RGBAColor.
out_indicesThe material indices for each vertex at the specified index. The out_indices[i] is only valid if out_types[i] is Material.Type.MaterialIndex.
Returns
true if any specified vertex had a vertex color on the specified component set, false otherwise.

◆ ShowVertexColorsByRange()

bool HPS.MeshKit.ShowVertexColorsByRange ( ulong  in_start,
ulong  in_count,
HPS.Mesh.Component  in_apply_to,
out HPS.Material.Type []  out_types,
out HPS.RGBColor []  out_rgb_colors,
out HPS.RGBAColor []  out_rgba_colors,
out float []  out_indices 
)
inline

Shows the vertex colors on a range of vertices starting at the specified offset which apply to the specified mesh component.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start showing colors.
in_countThe number of colors to show.
in_apply_toThe mesh component the colors should apply to.
out_typesThe types of vertex colors for each vertex in the specified range. If a vertex in the specified range does not have a vertex color set for the specified mesh component, the entry in this array will be Material.Type.None.
out_rgb_colorsThe RGB colors for each vertex in the specified range. out_rgb_colors[i] is only valid if out_types[i] is Material.Type.RGBColor.
out_rgba_colorsThe RGBA colors for each vertex in the specified range. out_rgba_colors[i] is only valid if out_types[i] is Material.Type.RGBAColor.
out_indicesThe material indices for each vertex in the specified range. The out_indices[i] is only valid if out_types[i] is Material.Type.MaterialIndex.
Returns
true if any vertex in the specified range had a vertex color on the specified component set, false otherwise.

◆ ShowVertexNormals()

bool HPS.MeshKit.ShowVertexNormals ( out bool []  out_validities,
out HPS.Vector []  out_normals 
)
inline

Shows all the vertex normals on this MeshKit.

Parameters
out_validitiesThe validities of the normals for each vertex. If a vertex had a normal set on it, the entry in this array will be true, otherwise it will be false.
out_normalsThe vertex normals for each vertex. out_normals[i] is only valid if out_validities[i] is true.
Returns
true if any vertex normals were shown, false otherwise.

◆ ShowVertexNormalsByList()

bool HPS.MeshKit.ShowVertexNormalsByList ( ulong []  in_vertices,
out bool []  out_validities,
out HPS.Vector []  out_normals 
)
inline

Shows the vertex normals on a selection of arbitrary vertices. The order of the values in the output arrays is the same as the input vertex index array, i.e., the values of out_validities[i] and out_normals[i] correspond to the vertex at index in_vertices[i].

Parameters
in_verticesThe indices of the vertices on which to show the normals.
out_validitiesThe validities of the normals for each vertex at the specified index. If a vertex at a specified index had a normal set on it, the entry in this array will be true, otherwise it will be false.
out_normalsThe vertex normals for each vertex at the specified index. out_normals[i] is only valid if out_validities[i] is true.
Returns
true if any specified vertex had a vertex normal set, false otherwise.

◆ ShowVertexNormalsByRange()

bool HPS.MeshKit.ShowVertexNormalsByRange ( ulong  in_start,
ulong  in_count,
out bool []  out_validities,
out HPS.Vector []  out_normals 
)
inline

Shows the vertex normals on a range of vertices starting at the specified offset.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start showing normals.
in_countThe number of normals to show.
out_validitiesThe validities of the normals for each vertex in the specified range. If a vertex in the specified range had a normal set on it, the entry in this array will be true, otherwise it will be false.
out_normalsThe vertex normals for each vertex in the specified range. out_normals[i] is only valid if out_validities[i] is true.
Returns
true if any vertex in the specified range had a vertex normal set, false otherwise.

◆ ShowVertexParameters() [1/2]

bool HPS.MeshKit.ShowVertexParameters ( out bool []  out_validities,
out float []  out_params 
)
inline

Shows the texture parameters for all of the vertices starting in this MeshKit. For this particular show function, the parameter width is returned implicitly and could be determined by out_params.size()/in_count.

Parameters
out_validitiesThe validities of the texture parameters for each vertex. If a vertex had a texture parameter set on it, the entry in this array will be true, otherwise it will be false.
out_paramsThe texture parameters for each vertex. (out_params[i],...,out_params[i+param_width-1]) are only valid if out_validities[i] is true.
Returns
true if any vertex had a texture parameter set, false otherwise.

◆ ShowVertexParameters() [2/2]

bool HPS.MeshKit.ShowVertexParameters ( out bool []  out_validities,
out float []  out_params,
out ulong  out_param_width 
)
inline

Shows the texture parameters for all of the vertices starting in this MeshKit.

Parameters
out_validitiesThe validities of the texture parameters for each vertex. If a vertex had a texture parameter set on it, the entry in this array will be true, otherwise it will be false.
out_paramsThe texture parameters for each vertex. (out_params[i],...,out_params[i+param_width-1]) are only valid if out_validities[i] is true.
out_param_widthThe number of texture parameters per vertex.
Returns
true if any vertex had a texture parameter set, false otherwise.

◆ ShowVertexParametersByList() [1/2]

bool HPS.MeshKit.ShowVertexParametersByList ( ulong []  in_vertices,
out bool []  out_validities,
out float []  out_params 
)
inline

Shows the texture parameters on a selection of arbitrary vertices. For this particular show function, the parameter width is returned implicitly and could be determined by out_params.size()/in_vertices.size(). The order of the output arrays is the same as the input vertex index array, i.e., out_validities[i] and (out_params[i],...,out_params[i+param_width-1]) correspond to the vertex at index in_vertices[i].

Parameters
in_verticesThe indices of the vertices on which to show the texture parameters.
out_validitiesThe validities of the texture parameters for each vertex at the specified index. If a vertex at a specified index had a texture parameter set on it, the entry in this array will be true, otherwise it will be false.
out_paramsThe texture parameters for each vertex at the specified index. (out_params[i],...,out_params[i+param_width-1]) are only valid if out_validities[i] is true.
Returns
true if any specified vertex had a texture parameter set, false otherwise.

◆ ShowVertexParametersByList() [2/2]

bool HPS.MeshKit.ShowVertexParametersByList ( ulong []  in_vertices,
out bool []  out_validities,
out float []  out_params,
out ulong  out_param_width 
)
inline

Shows the texture parameters on a selection of arbitrary vertices. The order of the output arrays is the same as the input vertex index array, i.e., out_validities[i] and (out_params[i],...,out_params[i+param_width-1]) correspond to the vertex at index in_vertices[i].

Parameters
in_verticesThe indices of the vertices on which to show the texture parameters.
out_validitiesThe validities of the texture parameters for each vertex at the specified index. If a vertex at a specified index had a texture parameter set on it, the entry in this array will be true, otherwise it will be false.
out_paramsThe texture parameters for each vertex at the specified index. (out_params[i],...,out_params[i+param_width-1]) are only valid if out_validities[i] is true.
out_param_widthThe number of texture parameters per vertex.
Returns
true if any specified vertex had a texture parameter set, false otherwise.

◆ ShowVertexParametersByRange() [1/2]

bool HPS.MeshKit.ShowVertexParametersByRange ( ulong  in_start,
ulong  in_count,
out bool []  out_validities,
out float []  out_params 
)
inline

Shows the texture parameters on a range of vertices starting at the specified offset. For this particular show function, the parameter width is returned implicitly and could be determined by out_params.size()/in_count.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start showing texture parameters.
in_countThe number of vertices for which to show the texture parameters.
out_validitiesThe validities of the texture parameters for each vertex in the specified range. If a vertex in the specified range had a texture parameter set on it, the entry in this array will be true, otherwise it will be false.
out_paramsThe texture parameters for each vertex in the specified range. (out_params[i],...,out_params[i+param_width-1]) are only valid if out_validities[i] is true.
Returns
true if any vertex in the specified range had a texture parameter set, false otherwise.

◆ ShowVertexParametersByRange() [2/2]

bool HPS.MeshKit.ShowVertexParametersByRange ( ulong  in_start,
ulong  in_count,
out bool []  out_validities,
out float []  out_params,
out ulong  out_param_width 
)
inline

Shows the texture parameters on a range of vertices starting at the specified offset.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start showing texture parameters.
in_countThe number of vertices for which to show the texture parameters.
out_validitiesThe validities of the texture parameters for each vertex in the specified range. If a vertex in the specified range had a texture parameter set on it, the entry in this array will be true, otherwise it will be false.
out_paramsThe texture parameters for each vertex in the specified range. (out_params[i],...,out_params[i+param_width-1]) are only valid if out_validities[i] is true.
out_param_widthThe number of texture parameters per vertex.
Returns
true if any vertex in the specified range had a texture parameter set, false otherwise.

◆ ShowVertexVisibilities()

bool HPS.MeshKit.ShowVertexVisibilities ( out bool []  out_validities,
out bool []  out_visibilities 
)
inline

Shows all the vertex visibilities on this MeshKit.

Parameters
out_validitiesThe validities of the visibilities for each vertex. If a vertex had a visibility set on it, the entry in this array will be true, otherwise it will be false.
out_visibilitiesThe vertex visibilities for each vertex. out_visibilities[i] is only valid if out_validities[i] is true.
Returns
true if any vertex had a vertex visibility set, false otherwise.

◆ ShowVertexVisibilitiesByList()

bool HPS.MeshKit.ShowVertexVisibilitiesByList ( ulong []  in_vertices,
out bool []  out_validities,
out bool []  out_visibilities 
)
inline

Shows the vertex visibilities on a selection of arbitrary vertices. The order of the values in the output arrays is the same as the input vertex index array, i.e., the values of out_validities[i] and out_visibilities[i] correspond to the vertex at index in_vertices[i].

Parameters
in_verticesThe indices of the vertices on which to show the normals.
out_validitiesThe validities of the normals for each vertex at the specified index. If a vertex at a specified index had a visibility set on it, the entry in this array will be true, otherwise it will be false.
out_visibilitiesThe vertex visibilities for each vertex at the specified index. out_visibilities[i] is only valid if out_validities[i] is true.
Returns
true if any specified vertex had a vertex visibility set, false otherwise.

◆ ShowVertexVisibilitiesByRange()

bool HPS.MeshKit.ShowVertexVisibilitiesByRange ( ulong  in_start,
ulong  in_count,
out bool []  out_validities,
out bool []  out_visibilities 
)
inline

Shows the vertex visibilities on a range of vertices starting at the specified offset.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start showing visibilities.
in_countThe number of visibilities to show.
out_validitiesThe validities of the visibilities for each vertex in the specified range. If a vertex in the specified range had a visibility set on it, the entry in this array will be true, otherwise it will be false.
out_visibilitiesThe vertex visibilities for each vertex in the specified range. out_visibilities[i] is only valid if out_validities[i] is true.
Returns
true if any vertex in the specified range had a vertex visibility set, false otherwise.

◆ UnsetAllUserData()

HPS.MeshKit HPS.MeshKit.UnsetAllUserData ( )
inline

Removes all user data from this kit.

Returns
A reference to this kit.

◆ UnsetColumns()

HPS.MeshKit HPS.MeshKit.UnsetColumns ( )
inline

Removes the number of columns for this MeshKit.

Returns
A reference to this MeshKit.

◆ UnsetEdgeColors()

HPS.MeshKit HPS.MeshKit.UnsetEdgeColors ( )
inline

Unsets edge colors on all edges.

Returns
A reference to this MeshKit.

◆ UnsetEdgeColorsByList()

HPS.MeshKit HPS.MeshKit.UnsetEdgeColorsByList ( ulong []  in_vertices1,
ulong []  in_vertices2 
)
inline

Unsets edge colors on a selection of arbitrary edges.

Parameters
in_vertices1The vertex indices that correspond to the start position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_vertices2The vertex indices that correspond to the end position of each edge for which the visibilities are being changed. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
Returns
A reference to this MeshKit.

◆ UnsetEdgeEverything()

HPS.MeshKit HPS.MeshKit.UnsetEdgeEverything ( )
inline

Removes all edge settings (edge colors and edge visibilities) from this MeshKit.

Returns
A reference to this MeshKit.

◆ UnsetEdgeVisibilities()

HPS.MeshKit HPS.MeshKit.UnsetEdgeVisibilities ( )
inline

Removes all vertex visibilities.

Returns
A reference to this MeshKit.

◆ UnsetEdgeVisibilitiesByList()

HPS.MeshKit HPS.MeshKit.UnsetEdgeVisibilitiesByList ( ulong []  in_vertices1,
ulong []  in_vertices2 
)
inline

Unsets edge visibilities on a selection of arbitrary edges.

Parameters
in_vertices1The vertex indices that correspond to the start position of each edge for which the visibilities are being unset. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
in_vertices2The vertex indices that correspond to the end position of each edge for which the visibilities are being unset. Each index in the array must be such that in_vertices[i]<point_count for setting to succeed.
Returns
A reference to this MeshKit.

◆ UnsetEverything()

HPS.MeshKit HPS.MeshKit.UnsetEverything ( )
inline

Removes all settings from this MeshKit.

Returns
A reference to this MeshKit.

◆ UnsetFaceColors()

HPS.MeshKit HPS.MeshKit.UnsetFaceColors ( )
inline

Removes all face colors (RGB colors or material indices).

Returns
A reference to this MeshKit.

◆ UnsetFaceColorsByRange()

HPS.MeshKit HPS.MeshKit.UnsetFaceColorsByRange ( ulong  in_start,
ulong  in_count 
)
inline

Removes the specified range of face colors (RGB colors or material indices) starting at the specified offset.

Parameters
in_startThe offset into the faces for this MeshKit at which to start removing colors.
in_countThe number of face colors to unset for this MeshKit.
Returns
A reference to this MeshKit.

◆ UnsetFaceEverything()

HPS.MeshKit HPS.MeshKit.UnsetFaceEverything ( )
inline

Removes all face settings (face colors, face normals, and face visibilities) from this MeshKit.

Returns
A reference to this MeshKit.

◆ UnsetFaceNormals()

HPS.MeshKit HPS.MeshKit.UnsetFaceNormals ( )
inline

Removes all face normals.

Returns
A reference to this MeshKit.

◆ UnsetFaceNormalsByList()

HPS.MeshKit HPS.MeshKit.UnsetFaceNormalsByList ( ulong []  in_vertices)
inline

Removes the face normals on a selection of arbitrary faces.

Parameters
in_verticesThe indices of the faces on which to remove the normals.
Returns
A reference to this MeshKit.

◆ UnsetFaceNormalsByRange()

HPS.MeshKit HPS.MeshKit.UnsetFaceNormalsByRange ( ulong  in_start,
ulong  in_count 
)
inline

Removes the specified range of face normals starting at the specified offset.

Parameters
in_startThe offset into the faces for this MeshKit at which to start removing normals.
in_countThe number of face normals to unset for this MeshKit.
Returns
A reference to this MeshKit.

◆ UnsetFaceVisibilities()

HPS.MeshKit HPS.MeshKit.UnsetFaceVisibilities ( )
inline

Removes all face visibilities.

Returns
A reference to this MeshKit.

◆ UnsetFaceVisibilitiesByRange()

HPS.MeshKit HPS.MeshKit.UnsetFaceVisibilitiesByRange ( ulong  in_start,
ulong  in_count 
)
inline

Removes the specified range of face visibilities starting at the specified offset.

Parameters
in_startThe offset into the faces for this MeshKit at which to start removing visibilities.
in_countThe number of face visibilities to unset for this MeshKit.
Returns
A reference to this MeshKit.

◆ UnsetMaterialMapping()

HPS.MeshKit HPS.MeshKit.UnsetMaterialMapping ( )
inline

Removes all material mappings on this MeshKey. This removes the "global" material settings and does not affect per-vertex or per-face materials.

Returns
A reference to this MeshKit.

◆ UnsetPoints()

HPS.MeshKit HPS.MeshKit.UnsetPoints ( )
inline

Removes the points for this MeshKit.

Returns
A reference to this MeshKit.

◆ UnsetPriority()

HPS.MeshKit HPS.MeshKit.UnsetPriority ( )
inline

Removes a drawing priority setting.

Returns
A reference to this object.

◆ UnsetRows()

HPS.MeshKit HPS.MeshKit.UnsetRows ( )
inline

Removes the number of rows for this MeshKit.

Returns
A reference to this MeshKit.

◆ UnsetUserData() [1/2]

HPS.MeshKit HPS.MeshKit.UnsetUserData ( IntPtr  in_index)
inline

Removes the user data at the given index from this kit.

Parameters
in_indexThe index of the user data to remove.
Returns
A reference to this kit.

◆ UnsetUserData() [2/2]

HPS.MeshKit HPS.MeshKit.UnsetUserData ( IntPtr []  in_indices)
inline

Removes the user data at the given indices from this kit.

Parameters
in_indicesThe indices of the user data to remove.
Returns
A reference to this kit.

◆ UnsetVertexColors() [1/2]

HPS.MeshKit HPS.MeshKit.UnsetVertexColors ( )
inline

Removes all vertex colors (RGB colors, RGBA colors, or material indices) for all mesh components.

Returns
A reference to this MeshKey.

◆ UnsetVertexColors() [2/2]

HPS.MeshKit HPS.MeshKit.UnsetVertexColors ( HPS.Mesh.Component  in_apply_to)
inline

Removes all vertex colors (RGB colors, RGBA colors, or material indices) for the specified mesh component.

Parameters
in_apply_toThe mesh component for which to remove the colors.
Returns
A reference to this MeshKit.

◆ UnsetVertexColorsByList() [1/2]

HPS.MeshKit HPS.MeshKit.UnsetVertexColorsByList ( ulong []  in_vertices)
inline

Removes the vertex colors (RGB colors, RGBA colors, or material indices) for all mesh components on a selection of arbitrary vertices.

Parameters
in_verticesThe indices of the vertices on which to remove the colors.
Returns
A reference to this MeshKit.

◆ UnsetVertexColorsByList() [2/2]

HPS.MeshKit HPS.MeshKit.UnsetVertexColorsByList ( ulong []  in_vertices,
HPS.Mesh.Component  in_apply_to 
)
inline

Removes the vertex colors (RGB colors, RGBA colors, or material indices) for the specificed mesh component on a selection of arbitrary vertices.

Parameters
in_verticesThe indices of the vertices on which to remove the colors.
in_apply_toThe mesh component for which to remove the colors.
Returns
A reference to this MeshKit.

◆ UnsetVertexColorsByRange() [1/2]

HPS.MeshKit HPS.MeshKit.UnsetVertexColorsByRange ( ulong  in_start,
ulong  in_count 
)
inline

Removes the specified range of vertex colors (RGB colors, RGBA colors, or material indices) for all mesh components starting at the specified offset.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start removing colors.
in_countThe number of vertex colors to unset for this MeshKit.
Returns
A reference to this MeshKit.

◆ UnsetVertexColorsByRange() [2/2]

HPS.MeshKit HPS.MeshKit.UnsetVertexColorsByRange ( ulong  in_start,
ulong  in_count,
HPS.Mesh.Component  in_apply_to 
)
inline

Removes the specified range of vertex colors (RGB colors, RGBA colors, or material indices) for the specified mesh component starting at the specified offset.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start removing colors.
in_countThe number of vertex colors to unset for this MeshKit.
in_apply_toThe mesh component for which to remove the colors.
Returns
A reference to this MeshKit.

◆ UnsetVertexEverything()

HPS.MeshKit HPS.MeshKit.UnsetVertexEverything ( )
inline

Removes all vertex settings (vertex colors, vertex normals, texture parameters, and vertex visibilities) from this MeshKey.

Returns
A reference to this MeshKit.

◆ UnsetVertexNormals()

HPS.MeshKit HPS.MeshKit.UnsetVertexNormals ( )
inline

Removes all vertex normals.

Returns
A reference to this MeshKit.

◆ UnsetVertexNormalsByList()

HPS.MeshKit HPS.MeshKit.UnsetVertexNormalsByList ( ulong []  in_vertices)
inline

Removes the vertex normals on a selection of arbitrary vertices.

Parameters
in_verticesThe indices of the vertices on which to remove the normals.
Returns
A reference to this MeshKit.

◆ UnsetVertexNormalsByRange()

HPS.MeshKit HPS.MeshKit.UnsetVertexNormalsByRange ( ulong  in_start,
ulong  in_count 
)
inline

Removes the specified range of vertex normals starting at the specified offset.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start removing normals.
in_countThe number of vertex normals to unset for this MeshKit.
Returns
A reference to this MeshKit.

◆ UnsetVertexParameters()

HPS.MeshKit HPS.MeshKit.UnsetVertexParameters ( )
inline

Removes all texture parameters.

Returns
A reference to this MeshKit.

◆ UnsetVertexParametersByList()

HPS.MeshKit HPS.MeshKit.UnsetVertexParametersByList ( ulong []  in_vertices)
inline

Removes the texture parameters on a selection of arbitrary vertices.

Parameters
in_verticesThe indices of the vertices on which to remove the texture parameters.
Returns
A reference to this MeshKit.

◆ UnsetVertexParametersByRange()

HPS.MeshKit HPS.MeshKit.UnsetVertexParametersByRange ( ulong  in_start,
ulong  in_count 
)
inline

Removes the specified range of texture parameters starting at the specified offset.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start removing texture parameters.
in_countThe number of texture parameters to unset for this MeshKit.
Returns
A reference to this MeshKit.

◆ UnsetVertexVisibilities()

HPS.MeshKit HPS.MeshKit.UnsetVertexVisibilities ( )
inline

Removes all vertex visibilities.

Returns
A reference to this MeshKit.

◆ UnsetVertexVisibilitiesByList()

HPS.MeshKit HPS.MeshKit.UnsetVertexVisibilitiesByList ( ulong []  in_vertices)
inline

Removes the vertex visibilities on a selection of arbitrary vertices.

Parameters
in_verticesThe indices of the vertices on which to remove the visibilities.
Returns
A reference to this MeshKit.

◆ UnsetVertexVisibilitiesByRange()

HPS.MeshKit HPS.MeshKit.UnsetVertexVisibilitiesByRange ( ulong  in_start,
ulong  in_count 
)
inline

Removes the specified range of vertex visibilities starting at the specified offset.

Parameters
in_startThe offset into the vertices for this MeshKit at which to start removing visibilities.
in_countThe number of vertex visibilities to unset for this MeshKit.
Returns
A reference to this MeshKit.

The documentation for this class was generated from the following file:
  • internals/hps_core/source/cs/HPS.MeshKit.cs