The MeshKit class is a user space object. It is a kit analog to a MeshKey. More...
Public Member Functions | |
override void | Dispose () |
MeshKit () | |
The default constructor creates an empty MeshKit object. More... | |
MeshKit (HPS.MeshKit in_kit) | |
The copy constructor creates a new MeshKit object that contains the same settings as the source MeshKit. More... | |
override HPS.Type | ObjectType () |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object. More... | |
void | Consume (HPS.MeshKit in_kit) |
Copies the source MeshKit into this MeshKit and resets the source kit. More... | |
void | Set (HPS.MeshKit in_kit) |
Copies the source MeshKit into this MeshKit. More... | |
void | Show (out HPS.MeshKit out_kit) |
Copies this MeshKit into the given MeshKit. More... | |
override bool | Empty () |
Indicates whether this MeshKit has any values set on it. More... | |
override bool | Equals (System.Object obj) |
override int | GetHashCode () |
bool | Equals (HPS.MeshKit in_kit) |
Check if the source MeshKit is equivalent to this MeshKit. More... | |
ulong | GetPointCount () |
Retrieves the number of points in this mesh. More... | |
HPS.MeshKit | SetPriority (int in_priority) |
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. More... | |
HPS.MeshKit | UnsetPriority () |
Removes a drawing priority setting. More... | |
bool | ShowPriority (out int out_priority) |
Shows the drawing priority. More... | |
HPS.MeshKit | SetPoints (HPS.Point[] in_points) |
Sets the points for this MeshKit. More... | |
HPS.MeshKit | SetPoints (ulong in_rows, ulong in_columns, HPS.Point[] in_points) |
Sets the points, rows and columns for this MeshKit. More... | |
HPS.MeshKit | SetRows (ulong in_rows) |
Sets the number of rows for this MeshKit. More... | |
HPS.MeshKit | SetColumns (ulong in_columns) |
Sets the number of columns for this MeshKit. More... | |
HPS.MeshKit | UnsetPoints () |
Removes the points for this MeshKit. More... | |
HPS.MeshKit | UnsetRows () |
Removes the number of rows for this MeshKit. More... | |
HPS.MeshKit | UnsetColumns () |
Removes the number of columns for this MeshKit. More... | |
HPS.MeshKit | UnsetEverything () |
Removes all settings from this MeshKit. More... | |
bool | ShowPoints (out HPS.Point[] out_points) |
Shows the points for this MeshKit. More... | |
bool | ShowPoints (out ulong out_rows, out ulong out_columns, out HPS.Point[] out_points) |
Shows the number of rows, number of columns, and points for this MeshKit. More... | |
bool | ShowPointsByRange (ulong in_start_index, ulong in_count, out HPS.Point[] out_points) |
Show a subset of the points for this MeshKit by range. More... | |
bool | ShowPointsByList (ulong[] in_indices, out HPS.Point[] out_points) |
Show a subset of the points for this MeshKit by list. More... | |
bool | ShowRows (out ulong out_rows) |
Shows the number of rows for this MeshKit. More... | |
bool | ShowColumns (out ulong out_columns) |
Shows the number of columns for this MeshKit. More... | |
HPS.MeshKit | SetMaterialMapping (HPS.MaterialMappingKit in_kit) |
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. More... | |
HPS.MeshKit | SetVertexRGBColorsByRange (ulong in_start, HPS.RGBColor[] in_rgb_colors, HPS.Mesh.Component in_apply_to) |
Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBColorsByRange (ulong in_start, HPS.RGBColor[] in_rgb_colors) |
Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBColorsByRange (ulong in_start, ulong in_count, HPS.RGBColor in_rgb_color, HPS.Mesh.Component in_apply_to) |
Sets a single RGB color on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBColorsByRange (ulong in_start, ulong in_count, HPS.RGBColor in_rgb_color) |
Sets a single RGB color on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBColorsByList (ulong[] in_vertices, HPS.RGBColor[] in_rgb_colors, HPS.Mesh.Component in_apply_to) |
Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBColorsByList (ulong[] in_vertices, HPS.RGBColor[] in_rgb_colors) |
Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBColorsByList (ulong[] in_vertices, HPS.RGBColor in_rgb_color, HPS.Mesh.Component in_apply_to) |
Sets a single RGB color on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBColorsByList (ulong[] in_vertices, HPS.RGBColor in_rgb_color) |
Sets a single RGB color on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBAColorsByRange (ulong in_start, HPS.RGBAColor[] in_rgba_colors, HPS.Mesh.Component in_apply_to) |
Sets vertex RGBA colors on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBAColorsByRange (ulong in_start, HPS.RGBAColor[] in_rgba_colors) |
Sets vertex RGBA colors on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBAColorsByRange (ulong in_start, ulong in_count, HPS.RGBAColor in_rgba_color, HPS.Mesh.Component in_apply_to) |
Sets a single RGBA color on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBAColorsByRange (ulong in_start, ulong in_count, HPS.RGBAColor in_rgba_color) |
Sets a single RGBA color on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBAColorsByList (ulong[] in_vertices, HPS.RGBAColor[] in_rgba_colors, HPS.Mesh.Component in_apply_to) |
Sets vertex RGBA colors on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBAColorsByList (ulong[] in_vertices, HPS.RGBAColor[] in_rgba_colors) |
Sets vertex RGBA colors on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBAColorsByList (ulong[] in_vertices, HPS.RGBAColor in_rgba_color, HPS.Mesh.Component in_apply_to) |
Sets a single RGBA color on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexRGBAColorsByList (ulong[] in_vertices, HPS.RGBAColor in_rgba_color) |
Sets a single RGBA color on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexIndexColorsByRange (ulong in_start, float[] in_indices, HPS.Mesh.Component in_apply_to) |
Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexIndexColorsByRange (ulong in_start, float[] in_indices) |
Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexIndexColorsByRange (ulong in_start, ulong in_count, float in_index, HPS.Mesh.Component in_apply_to) |
Sets a single material index on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexIndexColorsByRange (ulong in_start, ulong in_count, float in_index) |
Sets a single material index on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexIndexColorsByList (ulong[] in_vertices, float[] in_indices, HPS.Mesh.Component in_apply_to) |
Sets vertex material indices on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexIndexColorsByList (ulong[] in_vertices, float[] in_indices) |
Sets vertex material indices on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexIndexColorsByList (ulong[] in_vertices, float in_index, HPS.Mesh.Component in_apply_to) |
Sets a single material index on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexIndexColorsByList (ulong[] in_vertices, float in_index) |
Sets a single material index on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
HPS.MeshKit | SetVertexNormalsByRange (ulong in_start, HPS.Vector[] in_normals) |
Sets vertex normals on a range of vertices starting at the specified offset. More... | |
HPS.MeshKit | SetVertexNormalsByRange (ulong in_start, ulong in_count, HPS.Vector in_normal) |
Sets a single normal on a range of vertices starting at the specified offset. More... | |
HPS.MeshKit | SetVertexNormalsByList (ulong[] in_vertices, HPS.Vector[] in_normals) |
Sets vertex normals on a selection of arbitrary vertices. More... | |
HPS.MeshKit | SetVertexNormalsByList (ulong[] in_vertices, HPS.Vector in_normal) |
Sets a single normal on a selection of arbitrary vertices. More... | |
HPS.MeshKit | SetVertexParametersByRange (ulong in_start, float[] in_params, ulong in_param_width) |
Sets texture parameters on a range of vertices starting at the specified offset. More... | |
HPS.MeshKit | SetVertexParametersByRange (ulong in_start, float[] in_params) |
Sets texture parameters on a range of vertices starting at the specified offset. More... | |
HPS.MeshKit | SetVertexParametersByList (ulong[] in_vertices, float[] in_params, ulong in_param_width) |
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. More... | |
HPS.MeshKit | SetVertexParametersByList (ulong[] in_vertices, float[] in_params) |
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. More... | |
HPS.MeshKit | SetVertexVisibilitiesByRange (ulong in_start, bool[] in_visibilities) |
Sets vertex visibilities on a range of vertices starting at the specified offset. More... | |
HPS.MeshKit | SetVertexVisibilitiesByRange (ulong in_start, ulong in_count, bool in_visibility) |
Sets a single visibility on a range of vertices starting at the specified offset. More... | |
HPS.MeshKit | SetVertexVisibilitiesByList (ulong[] in_vertices, bool[] in_visibilities) |
Sets vertex visibilities on a selection of arbitrary vertices. More... | |
HPS.MeshKit | SetVertexVisibilitiesByList (ulong[] in_vertices, bool in_visibility) |
Sets a single visibility on a selection of arbitrary vertices. More... | |
HPS.MeshKit | UnsetMaterialMapping () |
Removes all material mappings on this MeshKey. This removes the "global" material settings and does not affect per-vertex or per-face materials. More... | |
HPS.MeshKit | UnsetVertexColors () |
Removes all vertex colors (RGB colors, RGBA colors, or material indices) for all mesh components. More... | |
HPS.MeshKit | UnsetVertexColors (HPS.Mesh.Component in_apply_to) |
Removes all vertex colors (RGB colors, RGBA colors, or material indices) for the specified mesh component. More... | |
HPS.MeshKit | UnsetVertexColorsByRange (ulong in_start, ulong in_count) |
Removes the specified range of vertex colors (RGB colors, RGBA colors, or material indices) for all mesh components starting at the specified offset. More... | |
HPS.MeshKit | UnsetVertexColorsByRange (ulong in_start, ulong in_count, HPS.Mesh.Component in_apply_to) |
Removes the specified range of vertex colors (RGB colors, RGBA colors, or material indices) for the specified mesh component starting at the specified offset. More... | |
HPS.MeshKit | UnsetVertexColorsByList (ulong[] in_vertices) |
Removes the vertex colors (RGB colors, RGBA colors, or material indices) for all mesh components on a selection of arbitrary vertices. More... | |
HPS.MeshKit | UnsetVertexColorsByList (ulong[] in_vertices, HPS.Mesh.Component in_apply_to) |
Removes the vertex colors (RGB colors, RGBA colors, or material indices) for the specificed mesh component on a selection of arbitrary vertices. More... | |
HPS.MeshKit | UnsetVertexNormals () |
Removes all vertex normals. More... | |
HPS.MeshKit | UnsetVertexNormalsByRange (ulong in_start, ulong in_count) |
Removes the specified range of vertex normals starting at the specified offset. More... | |
HPS.MeshKit | UnsetVertexNormalsByList (ulong[] in_vertices) |
Removes the vertex normals on a selection of arbitrary vertices. More... | |
HPS.MeshKit | UnsetVertexParameters () |
Removes all texture parameters. More... | |
HPS.MeshKit | UnsetVertexParametersByRange (ulong in_start, ulong in_count) |
Removes the specified range of texture parameters starting at the specified offset. More... | |
HPS.MeshKit | UnsetVertexParametersByList (ulong[] in_vertices) |
Removes the texture parameters on a selection of arbitrary vertices. More... | |
HPS.MeshKit | UnsetVertexVisibilities () |
Removes all vertex visibilities. More... | |
HPS.MeshKit | UnsetVertexVisibilitiesByRange (ulong in_start, ulong in_count) |
Removes the specified range of vertex visibilities starting at the specified offset. More... | |
HPS.MeshKit | UnsetVertexVisibilitiesByList (ulong[] in_vertices) |
Removes the vertex visibilities on a selection of arbitrary vertices. More... | |
HPS.MeshKit | UnsetVertexEverything () |
Removes all vertex settings (vertex colors, vertex normals, texture parameters, and vertex visibilities) from this MeshKey. More... | |
bool | ShowMaterialMapping (out HPS.MaterialMappingKit out_kit) |
Shows the material mappings set on this MeshKit. These are the "global" material settings, not the per-vertex and per-face material settings. More... | |
bool | ShowVertexColorsByRange (ulong in_start, ulong in_count, HPS.Mesh.Component in_applied_to, out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out HPS.RGBAColor[] out_rgba_colors, out float[] out_indices) |
Shows the vertex colors on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
bool | ShowVertexColorsByList (ulong[] in_vertices, HPS.Mesh.Component in_applied_to, out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out HPS.RGBAColor[] out_rgba_colors, out float[] out_indices) |
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]. More... | |
bool | ShowVertexNormalsByRange (ulong in_start, ulong in_count, out bool[] out_validities, out HPS.Vector[] out_normals) |
Shows the vertex normals on a range of vertices starting at the specified offset. More... | |
bool | ShowVertexNormalsByList (ulong[] in_vertices, out bool[] out_validities, out HPS.Vector[] out_normals) |
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]. More... | |
bool | ShowVertexParametersByRange (ulong in_start, ulong in_count, out bool[] out_validities, out float[] out_params) |
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. More... | |
bool | ShowVertexParametersByRange (ulong in_start, ulong in_count, out bool[] out_validities, out float[] out_params, out ulong out_param_width) |
Shows the texture parameters on a range of vertices starting at the specified offset. More... | |
bool | ShowVertexParametersByList (ulong[] in_vertices, out bool[] out_validities, out float[] out_params) |
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]. More... | |
bool | ShowVertexParametersByList (ulong[] in_vertices, out bool[] out_validities, out float[] out_params, out ulong out_param_width) |
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]. More... | |
bool | ShowVertexVisibilitiesByRange (ulong in_start, ulong in_count, out bool[] out_validities, out bool[] out_visibilities) |
Shows the vertex visibilities on a range of vertices starting at the specified offset. More... | |
bool | ShowVertexVisibilitiesByList (ulong[] in_vertices, out bool[] out_validities, out bool[] out_visibilities) |
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]. More... | |
HPS.MeshKit | SetFaceRGBColorsByRange (ulong in_start, HPS.RGBColor[] in_rgb_colors) |
Sets face RGB colors on a range of faces starting at the specified offset. More... | |
HPS.MeshKit | SetFaceRGBColorsByRange (ulong in_start, ulong in_count, HPS.RGBColor in_rgb_color) |
Sets a single RGB color on a range of faces starting at the specified offset. More... | |
HPS.MeshKit | SetFaceRGBColorsByList (ulong[] in_faces, HPS.RGBColor[] in_rgb_colors) |
Sets face RGB colors on a selection of arbitrary faces. More... | |
HPS.MeshKit | SetFaceRGBColorsByList (ulong[] in_faces, HPS.RGBColor in_rgb_color) |
Sets a single RGB color on a selection of arbitrary faces. More... | |
HPS.MeshKit | SetFaceIndexColorsByRange (ulong in_start, float[] in_indices) |
Sets face material indices on a range of faces starting at the specified offset. More... | |
HPS.MeshKit | SetFaceIndexColorsByRange (ulong in_start, ulong in_count, float in_index) |
Sets a single material index on a range of faces starting at the specified offset. More... | |
HPS.MeshKit | SetFaceIndexColorsByList (ulong[] in_faces, float[] in_indices) |
Sets face material indices on a selection of arbitrary faces. More... | |
HPS.MeshKit | SetFaceIndexColorsByList (ulong[] in_faces, float in_index) |
Sets a single material index on a selection of arbitrary faces. More... | |
HPS.MeshKit | SetFaceNormalsByRange (ulong in_start, HPS.Vector[] in_normals) |
Sets face normals on a range of faces starting at the specified offset. More... | |
HPS.MeshKit | SetFaceNormalsByRange (ulong in_start, ulong in_count, HPS.Vector in_normal) |
Sets a single normal on a range of faces starting at the specified offset. More... | |
HPS.MeshKit | SetFaceNormalsByList (ulong[] in_faces, HPS.Vector[] in_normals) |
Sets face normals on a selection of arbitrary faces. More... | |
HPS.MeshKit | SetFaceNormalsByList (ulong[] in_faces, HPS.Vector in_normal) |
Sets a single normal on a selection of arbitrary faces. More... | |
HPS.MeshKit | SetFaceVisibilitiesByRange (ulong in_start, bool[] in_visibilities) |
Sets face visibilities on a range of faces starting at the specified offset. More... | |
HPS.MeshKit | SetFaceVisibilitiesByRange (ulong in_start, ulong in_count, bool in_visibility) |
Sets a single visibility on a range of faces starting at the specified offset. More... | |
HPS.MeshKit | SetFaceVisibilitiesByList (ulong[] in_faces, bool[] in_visibilities) |
Sets face visibilities on a selection of arbitrary faces. More... | |
HPS.MeshKit | SetFaceVisibilitiesByList (ulong[] in_faces, bool in_visibility) |
Sets a single visibility on a selection of arbitrary faces. More... | |
HPS.MeshKit | UnsetFaceColors () |
Removes all face colors (RGB colors or material indices). More... | |
HPS.MeshKit | UnsetFaceColorsByRange (ulong in_start, ulong in_count) |
Removes the specified range of face colors (RGB colors or material indices) starting at the specified offset. More... | |
HPS.MeshKit | UnsetFaceColorsByList (ulong[] in_vertices) |
Removes the face colors (RGB colors or material indices) on a selection of arbitrary vertices. More... | |
HPS.MeshKit | UnsetFaceNormals () |
Removes all face normals. More... | |
HPS.MeshKit | UnsetFaceNormalsByRange (ulong in_start, ulong in_count) |
Removes the specified range of face normals starting at the specified offset. More... | |
HPS.MeshKit | UnsetFaceNormalsByList (ulong[] in_vertices) |
Removes the face normals on a selection of arbitrary faces. More... | |
HPS.MeshKit | UnsetFaceVisibilities () |
Removes all face visibilities. More... | |
HPS.MeshKit | UnsetFaceVisibilitiesByRange (ulong in_start, ulong in_count) |
Removes the specified range of face visibilities starting at the specified offset. More... | |
HPS.MeshKit | UnsetFaceVisibilitiesByList (ulong[] in_vertices) |
Removes the face visibilities on a selection of arbitrary faces. More... | |
HPS.MeshKit | UnsetFaceEverything () |
Removes all face settings (face colors, face normals, and face visibilities) from this MeshKit. More... | |
bool | ShowFaceColorsByRange (ulong in_start, ulong in_count, out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out float[] out_indices) |
Shows the face colors on a range of faces starting at the specified offset. More... | |
bool | ShowFaceColorsByList (ulong[] in_faces, out HPS.Material.Type[] out_types, out HPS.RGBColor[] out_rgb_colors, out float[] out_indices) |
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]. More... | |
bool | ShowFaceNormalsByRange (ulong in_start, ulong in_count, out bool[] out_validities, out HPS.Vector[] out_normals) |
Shows the face normals on a range of faces starting at the specified offset. More... | |
bool | ShowFaceNormalsByList (ulong[] in_faces, out bool[] out_validities, out HPS.Vector[] out_normals) |
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]. More... | |
bool | ShowFaceVisibilitiesByRange (ulong in_start, ulong in_count, out bool[] out_validities, out bool[] out_visibilities) |
Shows the face visibilities on a range of faces starting at the specified offset. More... | |
bool | ShowFaceVisibilitiesByList (ulong[] in_faces, out bool[] out_validities, out bool[] out_visibilities) |
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]. More... | |
HPS.MeshKit | SetUserData (IntPtr in_index, ulong in_bytes, byte[] in_data) |
Sets user data on this kit. More... | |
HPS.MeshKit | SetUserData (IntPtr in_index, byte[] in_data) |
Sets user data on this kit. More... | |
HPS.MeshKit | SetUserData (IntPtr[] in_indices, byte[][] in_data) |
Sets user data on this kit. More... | |
HPS.MeshKit | UnsetUserData (IntPtr in_index) |
Removes the user data at the given index from this kit. More... | |
HPS.MeshKit | UnsetUserData (IntPtr[] in_indices) |
Removes the user data at the given indices from this kit. More... | |
HPS.MeshKit | UnsetAllUserData () |
Removes all user data from this kit. More... | |
ulong | ShowUserDataCount () |
Get the number of user data indices set on this kit. More... | |
bool | ShowUserDataIndices (out IntPtr[] out_indices) |
Shows the indices of all user data set on this kit. More... | |
bool | ShowUserData (IntPtr in_index, out byte[] out_data) |
Shows the user data at a given index for this kit. More... | |
bool | ShowUserData (out IntPtr[] out_indices, out byte[][] out_data) |
Shows all user data for this kit. More... | |
![]() | |
IntPtr | GetClassID () |
Object (HPS.Object in_that) | |
The move constructor creates an Object by transferring the underlying impl of the rvalue reference to this Object thereby avoiding a copy and allocation. More... | |
HPS.Type | Type () |
This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types. More... | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
IntPtr | GetInstanceID () |
Returns an identifier that can be used to identify which instance of a class an object is. Different keys and controls will return the same value if they are backed by the same database resource. More... | |
Static Public Member Functions | |
static bool | operator== (HPS.MeshKit a, HPS.MeshKit b) |
static bool | operator!= (HPS.MeshKit a, HPS.MeshKit b) |
![]() | |
static IntPtr | ClassID< T > () |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
HandleRef | cptr |
HandleRef | scptr |
bool | cMemOwn |
|
inline |
The default constructor creates an empty MeshKit object.
|
inline |
|
inline |
|
inlinevirtual |
Indicates whether this MeshKit has any values set on it.
Reimplemented from HPS.Object.
|
inline |
Check if the source MeshKit is equivalent to this MeshKit.
in_kit | The source <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> to compare to this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Retrieves the number of points in this mesh.
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from HPS.Object.
|
inline |
|
inline |
|
inline |
Sets face material indices on a selection of arbitrary faces.
in_count | Size of the following arrays. |
in_faces | The indices of the faces on which to set the colors. |
in_indices | The material indices to set on the faces. |
|
inline |
Sets a single material index on a selection of arbitrary faces.
in_count | Size of the following array. |
in_faces | The indices of the faces on which to set the color. |
in_index | The material index to set on the faces. |
|
inline |
Sets face material indices on a range of faces starting at the specified offset.
in_start | The offset into the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting colors. |
in_count | Size of the following array. |
in_indices | The material indices to set on the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets a single material index on a range of faces starting at the specified offset.
in_start | The offset into the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting the color. |
in_count | The number of faces on which to set the color. |
in_index | The material index to set on the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets face normals on a selection of arbitrary faces.
in_count | Size of the following arrays. |
in_faces | The indices of the faces on which to set the normals. |
in_normals | The normals to set on the faces. |
|
inline |
Sets a single normal on a selection of arbitrary faces.
in_count | Size of the following array. |
in_faces | The indices of the faces on which to set the normal. |
in_normal | The normal to set on the faces. |
|
inline |
Sets face normals on a range of faces starting at the specified offset.
in_start | The offset into the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting normals. |
in_count | Size of the following array. |
in_normals | The normals to set on the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets a single normal on a range of faces starting at the specified offset.
in_start | The offset into the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting the normal. |
in_count | The number of faces on which to set the normal. |
in_normal | The normal to set on the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets face RGB colors on a selection of arbitrary faces.
in_count | Size of the following arrays. |
in_faces | The indices of the faces on which to set the colors. |
in_rgb_colors | The RGB colors to set on the faces. |
|
inline |
Sets a single RGB color on a selection of arbitrary faces.
in_count | Size of the following array. |
in_faces | The indices of the faces on which to set the color. |
in_rgb_color | The RGB color to set on the faces. |
|
inline |
Sets face RGB colors on a range of faces starting at the specified offset.
in_start | The offset into the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting colors. |
in_count | Size of the following array. |
in_rgb_colors | The RGB colors to set on the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets a single RGB color on a range of faces starting at the specified offset.
in_start | The offset into the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting the color. |
in_count | The number of faces on which to set the color. |
in_rgb_color | The RGB color to set on the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets face visibilities on a selection of arbitrary faces.
in_count | Size of the following arrays. |
in_faces | The indices of the faces on which to set the visibilities. |
in_visibilities | The visibilities to set on the faces. |
|
inline |
Sets a single visibility on a selection of arbitrary faces.
in_count | Size of the following array. |
in_faces | The indices of the faces on which to set the visibility. |
in_visibility | The visibility to set on the faces. |
|
inline |
Sets face visibilities on a range of faces starting at the specified offset.
in_start | The offset into the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting visibilities. |
in_count | Size of the following array. |
in_visibilities | The visibilities to set on the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets a single visibility on a range of faces starting at the specified offset.
in_start | The offset into the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting the visibility. |
in_count | The number of faces on which to set the visibility. |
in_visibility | The visibility to set on the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
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.
in_kit | The material mappings to set on this <ref refid="class_h_p_s_1_1_mesh_key" kindref="compound">MeshKey</ref>. |
|
inline |
|
inline |
Sets the points, rows and columns for this MeshKit.
in_rows | The number of rows for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
in_columns | The number of columns for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
in_count | Size of the following array. |
in_points | The points to use to replace those on this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
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.
in_priority | The drawing priority, higher priority items are drawn on top of lower priority items. |
SubwindowKit::SetPriority()
|
inline |
|
inline |
Sets user data on this kit.
in_index | The index of the user data to set. |
in_bytes | The number of bytes of user data to set. |
in_data | The bytes of user data to set. |
|
inline |
Sets user data on this kit.
in_index | The index of the user data to set. |
in_data | The bytes of user data to set. |
|
inline |
Sets user data on this kit.
in_indices | An array of user data indices to set. |
in_data | An array of bytes of user data to set. |
|
inline |
Sets vertex material indices on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following arrays. |
in_vertices | The indices of the vertices on which to set the colors. |
in_indices | The material indices to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to <ref refid="class_h_p_s_1_1_mesh_1abdff64ab9d469919fe14e5571f302636a4f93ea0836ba76b6f9b81e3eee53a3af" kindref="member">Mesh::Component::Faces</ref>. |
|
inline |
Sets vertex material indices on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following arrays. |
in_vertices | The indices of the vertices on which to set the colors. |
in_indices | The material indices to set on the vertices. |
|
inline |
Sets a single material index on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the color. |
in_index | The material index to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to <ref refid="class_h_p_s_1_1_mesh_1abdff64ab9d469919fe14e5571f302636a4f93ea0836ba76b6f9b81e3eee53a3af" kindref="member">Mesh::Component::Faces</ref>. |
|
inline |
Sets a single material index on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the color. |
in_index | The material index to set on the vertices. |
|
inline |
Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting colors. |
in_count | Size of the following array. |
in_indices | The material indices to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
in_apply_to | The mesh component the colors should apply to. Defaults to <ref refid="class_h_p_s_1_1_mesh_1abdff64ab9d469919fe14e5571f302636a4f93ea0836ba76b6f9b81e3eee53a3af" kindref="member">Mesh::Component::Faces</ref>. |
|
inline |
Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting colors. |
in_count | Size of the following array. |
in_indices | The material indices to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets a single material index on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting the color. |
in_count | The number of vertices on which to set the color. |
in_index | The material index to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
in_apply_to | The mesh component the colors should apply to. Defaults to <ref refid="class_h_p_s_1_1_mesh_1abdff64ab9d469919fe14e5571f302636a4f93ea0836ba76b6f9b81e3eee53a3af" kindref="member">Mesh::Component::Faces</ref>. |
|
inline |
Sets a single material index on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting the color. |
in_count | The number of vertices on which to set the color. |
in_index | The material index to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets vertex normals on a selection of arbitrary vertices.
in_count | Size of the following arrays. |
in_vertices | The indices of the vertices on which to set the normals. |
in_normals | The normals to set on the vertices. |
|
inline |
Sets a single normal on a selection of arbitrary vertices.
in_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the normal. |
in_normal | The normal to set on the vertices. |
|
inline |
Sets vertex normals on a range of vertices starting at the specified offset.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting normals. |
in_count | Size of the following array. |
in_normals | The normals to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets a single normal on a range of vertices starting at the specified offset.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting the normal. |
in_count | The number of vertices on which to set the normal. |
in_normal | The normal to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
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.
in_vertex_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the texture parameters. |
in_param_count | Size of the following array. This should be divisible by the parameter width, if it is not, some parameters will get ignored. |
in_params | The texture parameters to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
in_param_width | The number of texture parameters per vertex. Defaults to 2. |
|
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.
in_vertex_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the texture parameters. |
in_param_count | Size of the following array. This should be divisible by the parameter width, if it is not, some parameters will get ignored. |
in_params | The texture parameters to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets texture parameters on a range of vertices starting at the specified offset.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting texture parameters. |
in_param_count | Size of the following array. This should be divisible by the parameter width, if it is not, some parameters will get ignored. |
in_params | The texture parameters to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
in_param_width | The number of texture parameters per vertex. Defaults to 2. |
|
inline |
Sets texture parameters on a range of vertices starting at the specified offset.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting texture parameters. |
in_param_count | Size of the following array. This should be divisible by the parameter width, if it is not, some parameters will get ignored. |
in_params | The texture parameters to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets vertex RGBA colors on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following arrays. |
in_vertices | The indices of the vertices on which to set the colors. |
in_rgba_colors | The RGBA colors to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to <ref refid="class_h_p_s_1_1_mesh_1abdff64ab9d469919fe14e5571f302636a4f93ea0836ba76b6f9b81e3eee53a3af" kindref="member">Mesh::Component::Faces</ref>. |
|
inline |
Sets vertex RGBA colors on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following arrays. |
in_vertices | The indices of the vertices on which to set the colors. |
in_rgba_colors | The RGBA colors to set on the vertices. |
|
inline |
Sets a single RGBA color on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the color. |
in_rgba_color | The RGBA color to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to <ref refid="class_h_p_s_1_1_mesh_1abdff64ab9d469919fe14e5571f302636a4f93ea0836ba76b6f9b81e3eee53a3af" kindref="member">Mesh::Component::Faces</ref>. |
|
inline |
Sets a single RGBA color on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the color. |
in_rgba_color | The RGBA color to set on the vertices. |
|
inline |
Sets vertex RGBA colors on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting colors. |
in_count | Size of the following array. |
in_rgba_colors | The RGBA colors to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
in_apply_to | The mesh component the colors should apply to. Defaults to <ref refid="class_h_p_s_1_1_mesh_1abdff64ab9d469919fe14e5571f302636a4f93ea0836ba76b6f9b81e3eee53a3af" kindref="member">Mesh::Component::Faces</ref>. |
|
inline |
Sets vertex RGBA colors on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting colors. |
in_count | Size of the following array. |
in_rgba_colors | The RGBA colors to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets a single RGBA color on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting the color. |
in_count | The number of vertices on which to set the color. |
in_rgba_color | The RGBA color to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
in_apply_to | The mesh component the colors should apply to. Defaults to <ref refid="class_h_p_s_1_1_mesh_1abdff64ab9d469919fe14e5571f302636a4f93ea0836ba76b6f9b81e3eee53a3af" kindref="member">Mesh::Component::Faces</ref>. |
|
inline |
Sets a single RGBA color on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting the color. |
in_count | The number of vertices on which to set the color. |
in_rgba_color | The RGBA color to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following arrays. |
in_vertices | The indices of the vertices on which to set the colors. |
in_rgb_colors | The RGB colors to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to <ref refid="class_h_p_s_1_1_mesh_1abdff64ab9d469919fe14e5571f302636a4f93ea0836ba76b6f9b81e3eee53a3af" kindref="member">Mesh::Component::Faces</ref>. |
|
inline |
Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following arrays. |
in_vertices | The indices of the vertices on which to set the colors. |
in_rgb_colors | The RGB colors to set on the vertices. |
|
inline |
Sets a single RGB color on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the color. |
in_rgb_color | The RGB color to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to <ref refid="class_h_p_s_1_1_mesh_1abdff64ab9d469919fe14e5571f302636a4f93ea0836ba76b6f9b81e3eee53a3af" kindref="member">Mesh::Component::Faces</ref>. |
|
inline |
Sets a single RGB color on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the color. |
in_rgb_color | The RGB color to set on the vertices. |
|
inline |
Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_key" kindref="compound">MeshKey</ref> at which to start setting colors. |
in_count | Size of the following array. |
in_rgb_colors | The RGB colors to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
in_apply_to | The mesh component the colors should apply to. Defaults to <ref refid="class_h_p_s_1_1_mesh_1abdff64ab9d469919fe14e5571f302636a4f93ea0836ba76b6f9b81e3eee53a3af" kindref="member">Mesh::Component::Faces</ref>. |
|
inline |
Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_key" kindref="compound">MeshKey</ref> at which to start setting colors. |
in_count | Size of the following array. |
in_rgb_colors | The RGB colors to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets a single RGB color on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting the color. |
in_count | The number of vertices on which to set the color. |
in_rgb_color | The RGB color to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
in_apply_to | The mesh component the colors should apply to. Defaults to <ref refid="class_h_p_s_1_1_mesh_1abdff64ab9d469919fe14e5571f302636a4f93ea0836ba76b6f9b81e3eee53a3af" kindref="member">Mesh::Component::Faces</ref>. |
|
inline |
Sets a single RGB color on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting the color. |
in_count | The number of vertices on which to set the color. |
in_rgb_color | The RGB color to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets vertex visibilities on a selection of arbitrary vertices.
in_count | Size of the following arrays. |
in_vertices | The indices of the vertices on which to set the visibilities. |
in_visibilities | The visibilities to set on the vertices. |
|
inline |
Sets a single visibility on a selection of arbitrary vertices.
in_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the visibility. |
in_visibility | The visibility to set on the vertices. |
|
inline |
Sets vertex visibilities on a range of vertices starting at the specified offset.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting visibilities. |
in_count | Size of the following array. |
in_visibilities | The visibilities to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Sets a single visibility on a range of vertices starting at the specified offset.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start setting the visibility. |
in_count | The number of vertices on which to set the visibility. |
in_visibility | The visibility to set on the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
|
inline |
|
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].
in_faces | The indices of the faces on which to show the colors. |
out_types | The 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 <ref refid="class_h_p_s_1_1_material_1a2ec9b893c8c5b2e37ec82aff0c82a18daf80a4ad87fee7c9fdc19b7769495fdb5" kindref="member">Material::Type::Nothing</ref>. |
out_rgb_colors | The RGB colors for each face at the specified index. out_rgb_colors[i] is only valid if out_types[i] is <ref refid="class_h_p_s_1_1_material_1a2ec9b893c8c5b2e37ec82aff0c82a18da675716a4db2321401bb4c4924e6ea710" kindref="member">Material::Type::ExplicitRGBColor</ref>. |
out_indices | The material indices for each face at the specified index. The out_indices[i] is only valid if out_types[i] is <ref refid="class_h_p_s_1_1_material_1a2ec9b893c8c5b2e37ec82aff0c82a18da3e21f60632b7774f92151ddc6b0c64b5" kindref="member">Material::Type::MaterialIndex</ref>. |
|
inline |
Shows the face colors on a range of faces starting at the specified offset.
in_start | The offset into the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start showing colors. |
in_count | The number of colors to show. |
out_types | The 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 <ref refid="class_h_p_s_1_1_material_1a2ec9b893c8c5b2e37ec82aff0c82a18daf80a4ad87fee7c9fdc19b7769495fdb5" kindref="member">Material::Type::Nothing</ref>. |
out_rgb_colors | The RGB colors for each face in the specified range. out_rgb_colors[i] is only valid if out_types[i] is <ref refid="class_h_p_s_1_1_material_1a2ec9b893c8c5b2e37ec82aff0c82a18da675716a4db2321401bb4c4924e6ea710" kindref="member">Material::Type::ExplicitRGBColor</ref>. |
out_indices | The material indices for each face in the specified range. The out_indices[i] is only valid if out_types[i] is <ref refid="class_h_p_s_1_1_material_1a2ec9b893c8c5b2e37ec82aff0c82a18da3e21f60632b7774f92151ddc6b0c64b5" kindref="member">Material::Type::MaterialIndex</ref>. |
|
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].
in_faces | The indices of the faces on which to show the normals. |
out_validities | The 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_normals | The face normals for each face at the specified index. out_normals[i] is only valid if out_validities[i] is true. |
|
inline |
Shows the face normals on a range of faces starting at the specified offset.
in_start | The offset into the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start showing normals. |
in_count | The number of normals to show. |
out_validities | The 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_normals | The face normals for each face in the specified range. out_normals[i] is only valid if out_validities[i] is true. |
|
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].
in_faces | The indices of the faces on which to show the normals. |
out_validities | The 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_visibilities | The face visibilities for each face at the specified index. out_visibilities[i] is only valid if out_validities[i] is true. |
|
inline |
Shows the face visibilities on a range of faces starting at the specified offset.
in_start | The offset into the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start showing visibilities. |
in_count | The number of visibilities to show. |
out_validities | The 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_visibilities | The face visibilities for each face in the specified range. out_visibilities[i] is only valid if out_validities[i] is true. |
|
inline |
Shows the material mappings set on this MeshKit. These are the "global" material settings, not the per-vertex and per-face material settings.
out_kit | The material mappings set on this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
|
inline |
Shows the number of rows, number of columns, and points for this MeshKit.
out_rows | The number of rows for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
out_columns | The number of columns for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
out_points | The points for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Show a subset of the points for this MeshKit by list.
in_count | The number of points to show. |
in_indices | The list of point indices to show. |
out_points | The requested points for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Show a subset of the points for this MeshKit by range.
in_start_index | The first point to show. |
in_count | The number of points to show. |
out_points | The requested points for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Shows the drawing priority.
out_priority | The drawing priority, higher priority items are drawn on top of lower priority items. |
|
inline |
|
inline |
Shows the user data at a given index for this kit.
in_index | The index of the user data to show. |
out_data | The user data at the given index. |
|
inline |
Shows all user data for this kit.
out_indices | An array of all user data indices set on this kit. |
out_data | An array of all user data set on this kit. |
|
inline |
Get the number of user data indices set on this kit.
|
inline |
Shows the indices of all user data set on this kit.
out_indices | The user data indices set on this kit. |
|
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].
in_vertices | The indices of the vertices on which to show the colors. |
in_applied_to | The mesh component the colors should apply to. |
out_types | The 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 <ref refid="class_h_p_s_1_1_material_1a2ec9b893c8c5b2e37ec82aff0c82a18daf80a4ad87fee7c9fdc19b7769495fdb5" kindref="member">Material::Type::Nothing</ref>. |
out_rgb_colors | The RGB colors for each vertex at the specified index. out_rgb_colors[i] is only valid if out_types[i] is <ref refid="class_h_p_s_1_1_material_1a2ec9b893c8c5b2e37ec82aff0c82a18da675716a4db2321401bb4c4924e6ea710" kindref="member">Material::Type::ExplicitRGBColor</ref>. |
out_rgba_colors | The RGBA colors for each vertex at the specified index. out_rgba_colors[i] is only valid if out_types[i] is <ref refid="class_h_p_s_1_1_material_1a2ec9b893c8c5b2e37ec82aff0c82a18da5769501214f669cb063fd410bb5eb822" kindref="member">Material::Type::ExplicitRGBAColor</ref>. |
out_indices | The material indices for each vertex at the specified index. The out_indices[i] is only valid if out_types[i] is <ref refid="class_h_p_s_1_1_material_1a2ec9b893c8c5b2e37ec82aff0c82a18da3e21f60632b7774f92151ddc6b0c64b5" kindref="member">Material::Type::MaterialIndex</ref>. |
|
inline |
Shows the vertex colors on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start showing colors. |
in_count | The number of colors to show. |
out_types | The 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 <ref refid="class_h_p_s_1_1_material_1a2ec9b893c8c5b2e37ec82aff0c82a18daf80a4ad87fee7c9fdc19b7769495fdb5" kindref="member">Material::Type::Nothing</ref>. |
out_rgb_colors | The RGB colors for each vertex in the specified range. out_rgb_colors[i] is only valid if out_types[i] is <ref refid="class_h_p_s_1_1_material_1a2ec9b893c8c5b2e37ec82aff0c82a18da675716a4db2321401bb4c4924e6ea710" kindref="member">Material::Type::ExplicitRGBColor</ref>. |
out_rgba_colors | The RGBA colors for each vertex in the specified range. out_rgba_colors[i] is only valid if out_types[i] is <ref refid="class_h_p_s_1_1_material_1a2ec9b893c8c5b2e37ec82aff0c82a18da5769501214f669cb063fd410bb5eb822" kindref="member">Material::Type::ExplicitRGBAColor</ref>. |
out_indices | The material indices for each vertex in the specified range. The out_indices[i] is only valid if out_types[i] is <ref refid="class_h_p_s_1_1_material_1a2ec9b893c8c5b2e37ec82aff0c82a18da3e21f60632b7774f92151ddc6b0c64b5" kindref="member">Material::Type::MaterialIndex</ref>. |
|
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].
in_vertices | The indices of the vertices on which to show the normals. |
out_validities | The 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_normals | The vertex normals for each vertex at the specified index. out_normals[i] is only valid if out_validities[i] is true. |
|
inline |
Shows the vertex normals on a range of vertices starting at the specified offset.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start showing normals. |
in_count | The number of normals to show. |
out_validities | The 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_normals | The vertex normals for each vertex in the specified range. out_normals[i] is only valid if out_validities[i] is true. |
|
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].
in_vertices | The indices of the vertices on which to show the texture parameters. |
out_validities | The 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_params | The 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. |
|
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].
in_vertices | The indices of the vertices on which to show the texture parameters. |
out_validities | The 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_params | The 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_width | The number of texture parameters per vertex. |
|
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.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start showing texture parameters. |
in_count | The number of vertices for which to show the texture parameters. |
out_validities | The 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_params | The 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. |
|
inline |
Shows the texture parameters on a range of vertices starting at the specified offset.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start showing texture parameters. |
in_count | The number of vertices for which to show the texture parameters. |
out_validities | The 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_params | The 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_width | The number of texture parameters per vertex. |
|
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].
in_vertices | The indices of the vertices on which to show the normals. |
out_validities | The 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_visibilities | The vertex visibilities for each vertex at the specified index. out_visibilities[i] is only valid if out_validities[i] is true. |
|
inline |
Shows the vertex visibilities on a range of vertices starting at the specified offset.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start showing visibilities. |
in_count | The number of visibilities to show. |
out_validities | The 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_visibilities | The vertex visibilities for each vertex in the specified range. out_visibilities[i] is only valid if out_validities[i] is true. |
|
inline |
Removes all user data from this kit.
|
inline |
|
inline |
|
inline |
Removes all face colors (RGB colors or material indices).
|
inline |
Removes the face colors (RGB colors or material indices) on a selection of arbitrary vertices.
in_vertices | The indices of the faces on which to remove the colors. |
|
inline |
Removes the specified range of face colors (RGB colors or material indices) starting at the specified offset.
in_start | The offset into the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start removing colors. |
in_count | The number of face colors to unset for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
|
inline |
Removes all face normals.
|
inline |
Removes the face normals on a selection of arbitrary faces.
in_vertices | The indices of the faces on which to remove the normals. |
|
inline |
Removes the specified range of face normals starting at the specified offset.
in_start | The offset into the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start removing normals. |
in_count | The number of face normals to unset for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Removes all face visibilities.
|
inline |
Removes the face visibilities on a selection of arbitrary faces.
in_vertices | The indices of the faces on which to remove the visibilities. |
|
inline |
Removes the specified range of face visibilities starting at the specified offset.
in_start | The offset into the faces for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start removing visibilities. |
in_count | The number of face visibilities to unset for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
|
inline |
|
inline |
Removes a drawing priority setting.
|
inline |
|
inline |
Removes the user data at the given index from this kit.
in_index | The index of the user data to remove. |
|
inline |
Removes the user data at the given indices from this kit.
in_count | The size of the following array. |
in_indices | The indices of the user data to remove. |
|
inline |
Removes all vertex colors (RGB colors, RGBA colors, or material indices) for all mesh components.
|
inline |
Removes all vertex colors (RGB colors, RGBA colors, or material indices) for the specified mesh component.
in_apply_to | The mesh component for which to remove the colors. |
|
inline |
Removes the vertex colors (RGB colors, RGBA colors, or material indices) for all mesh components on a selection of arbitrary vertices.
in_vertices | The indices of the vertices on which to remove the colors. |
|
inline |
Removes the vertex colors (RGB colors, RGBA colors, or material indices) for the specificed mesh component on a selection of arbitrary vertices.
in_vertices | The indices of the vertices on which to remove the colors. |
in_apply_to | The mesh component for which to remove the colors. |
|
inline |
Removes the specified range of vertex colors (RGB colors, RGBA colors, or material indices) for all mesh components starting at the specified offset.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start removing colors. |
in_count | The number of vertex colors to unset for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
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.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start removing colors. |
in_count | The number of vertex colors to unset for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
in_apply_to | The mesh component for which to remove the colors. |
|
inline |
|
inline |
Removes all vertex normals.
|
inline |
Removes the vertex normals on a selection of arbitrary vertices.
in_vertices | The indices of the vertices on which to remove the normals. |
|
inline |
Removes the specified range of vertex normals starting at the specified offset.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start removing normals. |
in_count | The number of vertex normals to unset for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Removes all texture parameters.
|
inline |
Removes the texture parameters on a selection of arbitrary vertices.
in_vertices | The indices of the vertices on which to remove the texture parameters. |
|
inline |
Removes the specified range of texture parameters starting at the specified offset.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start removing texture parameters. |
in_count | The number of texture parameters to unset for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |
|
inline |
Removes all vertex visibilities.
|
inline |
Removes the vertex visibilities on a selection of arbitrary vertices.
in_vertices | The indices of the vertices on which to remove the visibilities. |
|
inline |
Removes the specified range of vertex visibilities starting at the specified offset.
in_start | The offset into the vertices for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref> at which to start removing visibilities. |
in_count | The number of vertex visibilities to unset for this <ref refid="class_h_p_s_1_1_mesh_kit" kindref="compound">MeshKit</ref>. |