Hoops Visualize HPS  version 2018-SP2
Hoops Visualize HPS 3D Rendering Engine
Looking for a senior C++ dev?
I'm looking for work. Hire me!
HPS::ShellKit Class Reference

The ShellKit class is a user space object. More...

#include <hps.h>

Inheritance diagram for HPS::ShellKit:
Collaboration diagram for HPS::ShellKit:

Public Member Functions

 ShellKit ()
 The default constructor creates an empty ShellKit object. More...
 
 ShellKit (ShellKit const &in_kit)
 The copy constructor creates a new ShellKit object that contains the same settings as the source ShellKit. More...
 
 ShellKit (ShellKit &&in_that)
 The move constructor creates a ShellKit by transferring the underlying impl of the rvalue reference to this ShellKit thereby avoiding a copy and allocation. More...
 
ShellKitoperator= (ShellKit &&in_that)
 The move assignment operator transfers the underlying impl of the rvalue reference to this ShellKit thereby avoiding a copy. More...
 
virtual ~ShellKit ()
 
HPS::Type ObjectType () const
 
void Consume (ShellKit &in_kit)
 Copies the source ShellKit into this ShellKit and resets the source kit. More...
 
void Set (ShellKit const &in_kit)
 Copies the source ShellKit into this ShellKit. More...
 
void Show (ShellKit &out_kit) const
 Copies this ShellKit into the given ShellKit. More...
 
size_t GetPointCount () const
 Retrieves the number of points in this shell. More...
 
size_t GetFaceCount () const
 Retrieves the number of faces in this shell. More...
 
ShellKitoperator= (ShellKit const &in_kit)
 Copies the source ShellKit into this ShellKit. More...
 
bool Empty () const
 Indicates whether this ShellKit has any values set on it. More...
 
bool Equals (ShellKit const &in_kit) const
 Check if the source ShellKit is equivalent to this ShellKit. More...
 
bool operator== (ShellKit const &in_kit) const
 Check if the source ShellKit is equivalent to this ShellKit. More...
 
bool operator!= (ShellKit const &in_kit) const
 Check if the source ShellKit is not equivalent to this ShellKit. More...
 
ShellKitSetPriority (int in_priority)
 Assigns a specific drawing priority value to the ShellKit. More...
 
ShellKitUnsetPriority ()
 Removes a drawing priority setting. More...
 
bool ShowPriority (int &out_priority) const
 Shows the drawing priority. More...
 
ShellKitSetPoints (PointArray const &in_points)
 Sets the points for this ShellKit. More...
 
ShellKitSetPoints (size_t in_count, Point const in_points [])
 Sets the points for this ShellKit. More...
 
ShellKitSetFacelist (IntArray const &in_facelist)
 Sets the face list for this ShellKit. More...
 
ShellKitSetFacelist (size_t in_count, int const in_facelist [])
 Sets the face list for this ShellKit. More...
 
ShellKitSetTristrips (IntArray const &in_tristrips)
 Sets the triangle strips for this ShellKit. More...
 
ShellKitSetTristrips (size_t in_count, int const in_tristrips [])
 Sets the triangle strips for this ShellKit. More...
 
ShellKitUnsetPoints ()
 Removes the points for this ShellKit. More...
 
ShellKitUnsetFacelist ()
 Removes the face list for this ShellKit. More...
 
ShellKitUnsetTristrips ()
 Removes the tristrips list for this ShellKit. More...
 
ShellKitUnsetEverything ()
 Removes all settings from this ShellKit. More...
 
bool ShowPoints (PointArray &out_points) const
 Show the points for this ShellKit. More...
 
bool ShowPointsByRange (size_t in_start_index, size_t in_count, PointArray &out_points) const
 Show a subset of the points for this ShellKit by range. More...
 
bool ShowPointsByList (SizeTArray const &in_indices, PointArray &out_points) const
 Show a subset of the points for this ShellKit by list. More...
 
bool ShowPointsByList (size_t in_count, size_t const in_indices[], PointArray &out_points) const
 Show a subset of the points for this ShellKit by list. More...
 
bool ShowFacelist (IntArray &out_facelist) const
 Show the face list for this ShellKit. More...
 
bool ShowTristrips (IntArray &out_tristrips) const
 Show the tristrips list for this ShellKit. More...
 
ShellKitSetMaterialMapping (MaterialMappingKit const &in_kit)
 Sets the specified material mappings on this ShellKit. More...
 
ShellKitSetEdgeVisibilitiesByList (size_t in_count, size_t const in_vertices1[], size_t const in_vertices2[], bool const in_visibilities[])
 Sets edge visibilities on a selection of arbitrary edges. More...
 
ShellKitSetEdgeVisibilitiesByList (size_t in_count, size_t const in_vertices1[], size_t const in_vertices2[], bool in_visibility)
 Sets edge visibilities on a selection of arbitrary edges. More...
 
ShellKitSetEdgeVisibilitiesByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2, bool in_visibility)
 Sets edge visibilities on a selection of arbitrary edges. More...
 
ShellKitSetEdgeVisibilitiesByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2, BoolArray const &in_visibilities)
 Sets edge visibilities on a selection of arbitrary edges. More...
 
ShellKitSetEdgeIndexColorsByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2, FloatArray const &in_indices)
 Sets edge material indices on a selection of arbitrary edges. More...
 
ShellKitSetEdgeIndexColorsByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2, float in_index)
 Sets edge material indices on a selection of arbitrary edges. More...
 
ShellKitSetEdgeIndexColorsByList (size_t in_count, size_t const in_vertices1[], size_t const in_vertices2[], float const in_indices[])
 Sets edge material indices on a selection of arbitrary edges. More...
 
ShellKitSetEdgeIndexColorsByList (size_t in_count, size_t const in_vertices1[], size_t const in_vertices2[], float in_index)
 Sets edge material indices on a selection of arbitrary edges. More...
 
ShellKitSetEdgeRGBColorsByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2, RGBColorArray const &in_rgb_colors)
 Sets edge colors on a selection of arbitrary edges. More...
 
ShellKitSetEdgeRGBColorsByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2, RGBColor const &in_rgb_color)
 Sets edge colors on a selection of arbitrary edges. More...
 
ShellKitSetEdgeRGBColorsByList (size_t in_count, size_t const in_vertices1[], size_t const in_vertices2[], RGBColor const in_rgb_colors[])
 Sets edge colors on a selection of arbitrary edges. More...
 
ShellKitSetEdgeRGBColorsByList (size_t in_count, size_t const in_vertices1[], size_t const in_vertices2[], RGBColor const in_rgb_color)
 Sets edge colors on a selection of arbitrary edges. More...
 
bool ShowEdgeColors (SizeTArray &out_vertices1, SizeTArray &out_vertices2, HPS::MaterialTypeArray &out_types, HPS::RGBColorArray &out_rgb_colors, HPS::FloatArray &out_indices)
 Sets edge colors on a selection of arbitrary edges. More...
 
bool ShowEdgeColorsByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2, HPS::MaterialTypeArray &out_types, HPS::RGBColorArray &out_rgb_colors, HPS::FloatArray &out_indices)
 Sets edge colors on a selection of arbitrary edges. More...
 
ShellKitUnsetEdgeColors ()
 Unsets edge colors on all edges. More...
 
ShellKitUnsetEdgeColorsByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2)
 Unsets edge colors on a selection of arbitrary edges. More...
 
ShellKitUnsetEdgeColorsByList (size_t in_count, size_t const in_vertices1[], size_t const in_vertices2[])
 Unsets edge colors on a selection of arbitrary edges. More...
 
ShellKitUnsetEdgeVisibilities ()
 Removes all vertex visibilities. More...
 
ShellKitUnsetEdgeEverything ()
 Removes all edge settings (edge colors and edge visibilities) from this ShellKit. More...
 
ShellKitUnsetEdgeVisibilitiesByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2)
 Unsets edge visibilities on a selection of arbitrary edges. More...
 
ShellKitUnsetEdgeVisibilitiesByList (size_t in_count, size_t const in_vertices1[], size_t const in_vertices2[])
 Unsets edge visibilities on a selection of arbitrary edges. More...
 
bool ShowEdgeVisibilitiesByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2, BoolArray &out_validities, BoolArray &out_visibilities) const
 Shows all the edge visibilities on this ShellKit. More...
 
ShellKitSetVertexRGBColorsByRange (size_t in_start, size_t in_count, RGBColor const in_rgb_colors[], Shell::Component in_apply_to=Shell::Component::Faces)
 Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified shell component. More...
 
ShellKitSetVertexRGBColorsByRange (size_t in_start, RGBColorArray const &in_rgb_colors, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified shell component. More...
 
ShellKitSetVertexRGBColorsByRange (size_t in_start, size_t in_count, RGBColor const &in_rgb_color, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets a single RGB color on a range of vertices starting at the specified offset which apply to the specified shell component. More...
 
ShellKitSetVertexRGBColorsByList (size_t in_count, size_t const in_vertices[], RGBColor const in_rgb_colors[], Shell::Component in_apply_to=Shell::Component::Faces)
 Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified shell component. More...
 
ShellKitSetVertexRGBColorsByList (SizeTArray const &in_vertices, RGBColorArray const &in_rgb_colors, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified shell component. More...
 
ShellKitSetVertexRGBColorsByList (size_t in_count, size_t const in_vertices[], RGBColor const &in_rgb_color, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets a single RGB color on a selection of arbitrary vertices which apply to the specified shell component. More...
 
ShellKitSetVertexRGBColorsByList (SizeTArray const &in_vertices, RGBColor const &in_rgb_color, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets a single RGB color on a selection of arbitrary vertices which apply to the specified shell component. More...
 
ShellKitSetVertexRGBAColorsByRange (size_t in_start, size_t in_count, RGBAColor const in_rgba_colors[], Shell::Component in_apply_to=Shell::Component::Faces)
 Sets vertex RGBA colors on a range of vertices starting at the specified offset which apply to the specified shell component. More...
 
ShellKitSetVertexRGBAColorsByRange (size_t in_start, RGBAColorArray const &in_rgba_colors, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets vertex RGBA colors on a range of vertices starting at the specified offset which apply to the specified shell component. More...
 
ShellKitSetVertexRGBAColorsByRange (size_t in_start, size_t in_count, RGBAColor const &in_rgba_color, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets a single RGBA color on a range of vertices starting at the specified offset which apply to the specified shell component. More...
 
ShellKitSetVertexRGBAColorsByList (size_t in_count, size_t const in_vertices[], RGBAColor const in_rgba_colors[], Shell::Component in_apply_to=Shell::Component::Faces)
 Sets vertex RGBA colors on a selection of arbitrary vertices which apply to the specified shell component. More...
 
ShellKitSetVertexRGBAColorsByList (SizeTArray const &in_vertices, RGBAColorArray const &in_rgba_colors, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets vertex RGBA colors on a selection of arbitrary vertices which apply to the specified shell component. More...
 
ShellKitSetVertexRGBAColorsByList (size_t in_count, size_t const in_vertices[], RGBAColor const &in_rgba_color, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets a single RGBA color on a selection of arbitrary vertices which apply to the specified shell component. More...
 
ShellKitSetVertexRGBAColorsByList (SizeTArray const &in_vertices, RGBAColor const &in_rgba_color, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets a single RGBA color on a selection of arbitrary vertices which apply to the specified shell component. More...
 
ShellKitSetVertexIndexColorsByRange (size_t in_start, size_t in_count, float const in_indices[], Shell::Component in_apply_to=Shell::Component::Faces)
 Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified shell component. More...
 
ShellKitSetVertexIndexColorsByRange (size_t in_start, FloatArray const &in_indices, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified shell component. More...
 
ShellKitSetVertexIndexColorsByRange (size_t in_start, size_t in_count, float in_index, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets a single material index on a range of vertices starting at the specified offset which apply to the specified shell component. More...
 
ShellKitSetVertexIndexColorsByList (size_t in_count, size_t const in_vertices[], float const in_indices[], Shell::Component in_apply_to=Shell::Component::Faces)
 Sets vertex material indices on a selection of arbitrary vertices which apply to the specified shell component. More...
 
ShellKitSetVertexIndexColorsByList (SizeTArray const &in_vertices, FloatArray const &in_indices, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets vertex material indices on a selection of arbitrary vertices which apply to the specified shell component. More...
 
ShellKitSetVertexIndexColorsByList (size_t in_count, size_t const in_vertices[], float in_index, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets a single material index on a selection of arbitrary vertices which apply to the specified shell component. More...
 
ShellKitSetVertexIndexColorsByList (SizeTArray const &in_vertices, float in_index, Shell::Component in_apply_to=Shell::Component::Faces)
 Sets a single material index on a selection of arbitrary vertices which apply to the specified shell component. More...
 
ShellKitSetVertexNormalsByRange (size_t in_start, size_t in_count, Vector const in_normals[])
 Sets vertex normals on a range of vertices starting at the specified offset. More...
 
ShellKitSetVertexNormalsByRange (size_t in_start, VectorArray const &in_normals)
 Sets vertex normals on a range of vertices starting at the specified offset. More...
 
ShellKitSetVertexNormalsByRange (size_t in_start, size_t in_count, Vector const &in_normal)
 Sets a single normal on a range of vertices starting at the specified offset. More...
 
ShellKitSetVertexNormalsByList (size_t in_count, size_t const in_vertices[], Vector const in_normals[])
 Sets vertex normals on a selection of arbitrary vertices. More...
 
ShellKitSetVertexNormalsByList (SizeTArray const &in_vertices, VectorArray const &in_normals)
 Sets vertex normals on a selection of arbitrary vertices. More...
 
ShellKitSetVertexNormalsByList (size_t in_count, size_t const in_vertices[], Vector const &in_normal)
 Sets a single normal on a selection of arbitrary vertices. More...
 
ShellKitSetVertexNormalsByList (SizeTArray const &in_vertices, Vector const &in_normal)
 Sets a single normal on a selection of arbitrary vertices. More...
 
ShellKitSetVertexParametersByRange (size_t in_start, size_t in_param_count, float const in_params[], size_t in_param_width=2)
 Sets texture parameters on a range of vertices starting at the specified offset. More...
 
ShellKitSetVertexParametersByRange (size_t in_start, FloatArray const &in_params, size_t in_param_width=2)
 Sets texture parameters on a range of vertices starting at the specified offset. More...
 
ShellKitSetVertexParametersByList (size_t in_vertex_count, size_t const in_vertices[], size_t in_param_count, float const in_params[], size_t in_param_width=2)
 Sets texture parameters on a selection of arbitrary vertices. More...
 
ShellKitSetVertexParametersByList (SizeTArray const &in_vertices, FloatArray const &in_params, size_t in_param_width=2)
 Sets texture parameters on a selection of arbitrary vertices. More...
 
ShellKitSetVertexVisibilitiesByRange (size_t in_start, size_t in_count, bool const in_visibilities[])
 Sets vertex visibilities on a range of vertices starting at the specified offset. More...
 
ShellKitSetVertexVisibilitiesByRange (size_t in_start, BoolArray const &in_visibilities)
 Sets vertex visibilities on a range of vertices starting at the specified offset. More...
 
ShellKitSetVertexVisibilitiesByRange (size_t in_start, size_t in_count, bool in_visibility)
 Sets a single visibility on a range of vertices starting at the specified offset. More...
 
ShellKitSetVertexVisibilitiesByList (size_t in_count, size_t const in_vertices[], bool const in_visibilities[])
 Sets vertex visibilities on a selection of arbitrary vertices. More...
 
ShellKitSetVertexVisibilitiesByList (SizeTArray const &in_vertices, BoolArray const &in_visibilities)
 Sets vertex visibilities on a selection of arbitrary vertices. More...
 
ShellKitSetVertexVisibilitiesByList (size_t in_count, size_t const in_vertices[], bool in_visibility)
 Sets a single visibility on a selection of arbitrary vertices. More...
 
ShellKitSetVertexVisibilitiesByList (SizeTArray const &in_vertices, bool in_visibility)
 Sets a single visibility on a selection of arbitrary vertices. More...
 
ShellKitUnsetMaterialMapping ()
 Removes all material mappings on this ShellKit. More...
 
ShellKitUnsetVertexColors ()
 Removes all vertex colors (RGB colors, RGBA colors, or material indices) for all shell components. More...
 
ShellKitUnsetVertexVisibilitiesByList (size_t in_count, size_t const in_vertices[])
 Removes the vertex visibilities on a selection of arbitrary vertices. More...
 
ShellKitUnsetVertexColorsByList (size_t in_count, size_t const in_vertices[])
 Removes the vertex visibilities on a selection of arbitrary vertices. More...
 
ShellKitUnsetVertexColorsByList (size_t in_count, size_t const in_vertices[], Shell::Component in_apply_to)
 Removes the vertex visibilities on a selection of arbitrary vertices. More...
 
ShellKitUnsetVertexColorsByRange (size_t in_start, size_t in_count)
 Removes the specified range of vertex colors (RGB colors, RGBA colors, or material indices) for all shell components starting at the specified offset. More...
 
ShellKitUnsetVertexColorsByList (SizeTArray const &in_vertices)
 Removes the vertex colors (RGB colors, RGBA colors, or material indices) for all shell components on a selection of arbitrary vertices. More...
 
ShellKitUnsetVertexColors (Shell::Component in_apply_to)
 Removes all vertex colors (RGB colors, RGBA colors, or material indices) for the specified shell component. More...
 
ShellKitUnsetVertexColorsByRange (size_t in_start, size_t in_count, Shell::Component in_apply_to)
 Removes the specified range of vertex colors (RGB colors, RGBA colors, or material indices) for the specified shell component starting at the specified offset. More...
 
ShellKitUnsetVertexColorsByList (SizeTArray const &in_vertices, Shell::Component in_apply_to)
 Removes the vertex colors (RGB colors, RGBA colors, or material indices) for the specified shell component on a selection of arbitrary vertices. More...
 
ShellKitUnsetVertexNormals ()
 Removes all vertex normals. More...
 
ShellKitUnsetVertexNormalsByRange (size_t in_start, size_t in_count)
 Removes the specified range of vertex normals starting at the specified offset. More...
 
ShellKitUnsetVertexNormalsByList (SizeTArray const &in_vertices)
 Removes the vertex normals on a selection of arbitrary vertices. More...
 
ShellKitUnsetVertexParameters ()
 Removes all texture parameters. More...
 
ShellKitUnsetVertexParametersByRange (size_t in_start, size_t in_count)
 Removes the specified range of texture parameters starting at the specified offset. More...
 
ShellKitUnsetVertexParametersByList (SizeTArray const &in_vertices)
 Removes the texture parameters on a selection of arbitrary vertices. More...
 
ShellKitUnsetVertexVisibilities ()
 Removes all vertex visibilities. More...
 
ShellKitUnsetVertexVisibilitiesByRange (size_t in_start, size_t in_count)
 Removes the specified range of vertex visibilities starting at the specified offset. More...
 
ShellKitUnsetVertexVisibilitiesByList (SizeTArray const &in_vertices)
 Removes the vertex visibilities on a selection of arbitrary vertices. More...
 
ShellKitUnsetVertexEverything ()
 Removes all vertex settings (vertex colors, vertex normals, texture parameters, and vertex visibilities) from this ShellKit. More...
 
bool ShowMaterialMapping (MaterialMappingKit &out_kit) const
 Shows the material mappings set on this ShellKit. More...
 
bool ShowVertexColors (Shell::Component in_apply_to, MaterialTypeArray &out_types, RGBColorArray &out_rgb_colors, RGBAColorArray &out_rgba_colors, FloatArray &out_indices) const
 Shows all the vertex colors on the specified shell component. More...
 
bool ShowVertexColorsByRange (size_t in_start, size_t in_count, Shell::Component in_apply_to, MaterialTypeArray &out_types, RGBColorArray &out_rgb_colors, RGBAColorArray &out_rgba_colors, FloatArray &out_indices) const
 Shows the vertex colors on a range of vertices starting at the specified offset which apply to the specified shell component. More...
 
bool ShowVertexColorsByList (SizeTArray const &in_vertices, Shell::Component in_apply_to, MaterialTypeArray &out_types, RGBColorArray &out_rgb_colors, RGBAColorArray &out_rgba_colors, FloatArray &out_indices) const
 Shows the vertex colors on a selection of arbitrary vertices which apply to the specified shell component. More...
 
bool ShowVertexNormals (BoolArray &out_validities, VectorArray &out_normals) const
 Shows all the vertex normals on this ShellKit. More...
 
bool ShowVertexNormalsByRange (size_t in_start, size_t in_count, BoolArray &out_validities, VectorArray &out_normals) const
 Shows the vertex normals on a range of vertices starting at the specified offset. More...
 
bool ShowVertexNormalsByList (SizeTArray const &in_vertices, BoolArray &out_validities, VectorArray &out_normals) const
 Shows the vertex normals on a selection of arbitrary vertices. More...
 
bool ShowVertexParameters (BoolArray &out_validities, FloatArray &out_params) const
 Shows the texture parameters on all of the vertices in this ShellKit. More...
 
bool ShowVertexParameters (BoolArray &out_validities, FloatArray &out_params, size_t &out_param_width) const
 Shows the texture parameters on all of the vertices in this ShellKit. More...
 
bool ShowVertexParametersByRange (size_t in_start, size_t in_count, BoolArray &out_validities, FloatArray &out_params) const
 Shows the texture parameters on a range of vertices starting at the specified offset. More...
 
bool ShowVertexParametersByRange (size_t in_start, size_t in_count, BoolArray &out_validities, FloatArray &out_params, size_t &out_param_width) const
 Shows the texture parameters on a range of vertices starting at the specified offset. More...
 
bool ShowVertexParametersByList (SizeTArray const &in_vertices, BoolArray &out_validities, FloatArray &out_params) const
 Shows the texture parameters on a selection of arbitrary vertices. More...
 
bool ShowVertexParametersByList (SizeTArray const &in_vertices, BoolArray &out_validities, FloatArray &out_params, size_t &out_param_width) const
 Shows the texture parameters on a selection of arbitrary vertices. More...
 
bool ShowVertexVisibilities (BoolArray &out_validities, BoolArray &out_visibilities) const
 Shows all the vertex visibilities on this ShellKit. More...
 
bool ShowVertexVisibilitiesByRange (size_t in_start, size_t in_count, BoolArray &out_validities, BoolArray &out_visibilities) const
 Shows the vertex visibilities on a range of vertices starting at the specified offset. More...
 
bool ShowVertexVisibilitiesByList (SizeTArray const &in_vertices, BoolArray &out_validities, BoolArray &out_visibilities) const
 Shows the vertex visibilities on a selection of arbitrary vertices. More...
 
ShellKitSetFaceRGBColorsByRange (size_t in_start, size_t in_count, RGBColor const in_rgb_colors[])
 Sets face RGB colors on a range of faces starting at the specified offset. More...
 
ShellKitSetFaceRGBColorsByRange (size_t in_start, RGBColorArray const &in_rgb_colors)
 Sets face RGB colors on a range of faces starting at the specified offset. More...
 
ShellKitSetFaceRGBColorsByRange (size_t in_start, size_t in_count, RGBColor const &in_rgb_color)
 Sets a single RGB color on a range of faces starting at the specified offset. More...
 
ShellKitSetFaceRGBColorsByList (size_t in_count, size_t const in_faces[], RGBColor const in_rgb_colors[])
 Sets face RGB colors on a selection of arbitrary faces. More...
 
ShellKitSetFaceRGBColorsByList (SizeTArray const &in_faces, RGBColorArray const &in_rgb_colors)
 Sets face RGB colors on a selection of arbitrary faces. More...
 
ShellKitSetFaceRGBColorsByList (size_t in_count, size_t const in_faces[], RGBColor const &in_rgb_color)
 Sets a single RGB color on a selection of arbitrary faces. More...
 
ShellKitSetFaceRGBColorsByList (SizeTArray const &in_faces, RGBColor const &in_rgb_color)
 Sets a single RGB color on a selection of arbitrary faces. More...
 
ShellKitSetFaceIndexColorsByRange (size_t in_start, size_t in_count, float const in_indices[])
 Sets face material indices on a range of faces starting at the specified offset. More...
 
ShellKitSetFaceIndexColorsByRange (size_t in_start, FloatArray const &in_indices)
 Sets face material indices on a range of faces starting at the specified offset. More...
 
ShellKitSetFaceIndexColorsByRange (size_t in_start, size_t in_count, float in_index)
 Sets a single material index on a range of faces starting at the specified offset. More...
 
ShellKitSetFaceIndexColorsByList (size_t in_count, size_t const in_faces[], float const in_indices[])
 Sets face material indices on a selection of arbitrary faces. More...
 
ShellKitSetFaceIndexColorsByList (SizeTArray const &in_faces, FloatArray const &in_indices)
 Sets face material indices on a selection of arbitrary faces. More...
 
ShellKitSetFaceIndexColorsByList (size_t in_count, size_t const in_faces[], float in_index)
 Sets a single material index on a selection of arbitrary faces. More...
 
ShellKitSetFaceIndexColorsByList (SizeTArray const &in_faces, float in_index)
 Sets a single material index on a selection of arbitrary faces. More...
 
ShellKitSetFaceNormalsByRange (size_t in_start, size_t in_count, Vector const in_normals[])
 Sets face normals on a range of faces starting at the specified offset. More...
 
ShellKitSetFaceNormalsByRange (size_t in_start, VectorArray const &in_normals)
 Sets face normals on a range of faces starting at the specified offset. More...
 
ShellKitSetFaceNormalsByRange (size_t in_start, size_t in_count, Vector const &in_normal)
 Sets a single normal on a range of faces starting at the specified offset. More...
 
ShellKitSetFaceNormalsByList (size_t in_count, size_t const in_faces[], Vector const in_normals[])
 Sets face normals on a selection of arbitrary faces. More...
 
ShellKitSetFaceNormalsByList (SizeTArray const &in_faces, VectorArray const &in_normals)
 Sets face normals on a selection of arbitrary faces. More...
 
ShellKitSetFaceNormalsByList (size_t in_count, size_t const in_faces[], Vector const &in_normal)
 Sets a single normal on a selection of arbitrary faces. More...
 
ShellKitSetFaceNormalsByList (SizeTArray const &in_faces, Vector const &in_normal)
 Sets a single normal on a selection of arbitrary faces. More...
 
ShellKitSetFaceVisibilitiesByRange (size_t in_start, size_t in_count, bool const in_visibilities[])
 Sets face visibilities on a range of faces starting at the specified offset. More...
 
ShellKitSetFaceVisibilitiesByRange (size_t in_start, BoolArray const &in_visibilities)
 Sets face visibilities on a range of faces starting at the specified offset. More...
 
ShellKitSetFaceVisibilitiesByRange (size_t in_start, size_t in_count, bool in_visibility)
 Sets a single visibility on a range of faces starting at the specified offset. More...
 
ShellKitSetFaceVisibilitiesByList (size_t in_count, size_t const in_faces[], bool const in_visibilities[])
 Sets face visibilities on a selection of arbitrary faces. More...
 
ShellKitSetFaceVisibilitiesByList (SizeTArray const &in_faces, BoolArray const &in_visibilities)
 Sets face visibilities on a selection of arbitrary faces. More...
 
ShellKitSetFaceVisibilitiesByList (size_t in_count, size_t const in_faces[], bool in_visibility)
 Sets a single visibility on a selection of arbitrary faces. More...
 
ShellKitSetFaceVisibilitiesByList (SizeTArray const &in_faces, bool in_visibility)
 Sets a single visibility on a selection of arbitrary faces. More...
 
ShellKitUnsetFaceColors ()
 Removes all face colors (RGB colors or material indices). More...
 
ShellKitUnsetFaceColorsByRange (size_t in_start, size_t in_count)
 Removes the specified range of face colors (RGB colors or material indices) starting at the specified offset. More...
 
ShellKitUnsetFaceColorsByList (SizeTArray const &in_faces)
 Removes the face colors (RGB colors or material indices) on a selection of arbitrary vertices. More...
 
ShellKitUnsetFaceNormals ()
 Removes all face normals. More...
 
ShellKitUnsetFaceNormalsByRange (size_t in_start, size_t in_count)
 Removes the specified range of face normals starting at the specified offset. More...
 
ShellKitUnsetFaceNormalsByList (SizeTArray const &in_vertices)
 Removes the face normals on a selection of arbitrary faces. More...
 
ShellKitUnsetFaceVisibilities ()
 Removes all face visibilities. More...
 
ShellKitUnsetFaceVisibilitiesByRange (size_t in_start, size_t in_count)
 Removes the specified range of face visibilities starting at the specified offset. More...
 
ShellKitUnsetFaceVisibilitiesByList (SizeTArray const &in_vertices)
 Removes the face visibilities on a selection of arbitrary faces. More...
 
ShellKitUnsetFaceVisibilitiesByList (size_t in_count, size_t const in_faces[])
 Removes the face visibilities on a selection of arbitrary faces. More...
 
ShellKitUnsetFaceColorsByList (size_t in_count, size_t const in_faces[])
 Removes the face visibilities on a selection of arbitrary faces. More...
 
ShellKitUnsetFaceEverything ()
 Removes all face settings (face colors, face normals, and face visibilities) from this ShellKit. More...
 
bool ShowFaceColors (MaterialTypeArray &out_types, RGBColorArray &out_rgb_colors, FloatArray &out_indices) const
 Shows all the face colors on this ShellKit. More...
 
bool ShowFaceColorsByRange (size_t in_start, size_t in_count, MaterialTypeArray &out_types, RGBColorArray &out_rgb_colors, FloatArray &out_indices) const
 Shows the face colors on a range of faces starting at the specified offset. More...
 
bool ShowFaceColorsByList (SizeTArray const &in_faces, MaterialTypeArray &out_types, RGBColorArray &out_rgb_colors, FloatArray &out_indices) const
 Shows the face colors on a selection of arbitrary faces. More...
 
bool ShowFaceNormals (BoolArray &out_validities, VectorArray &out_normals) const
 Shows the all face normals on this ShellKit. More...
 
bool ShowFaceNormalsByRange (size_t in_start, size_t in_count, BoolArray &out_validities, VectorArray &out_normals) const
 Shows the face normals on a range of faces starting at the specified offset. More...
 
bool ShowFaceNormalsByList (SizeTArray const &in_faces, BoolArray &out_validities, VectorArray &out_normals) const
 Shows the face normals on a selection of arbitrary faces. More...
 
bool ShowFaceVisibilities (BoolArray &out_validities, BoolArray &out_visibilities) const
 Shows all the face visibilities on this ShellKit. More...
 
bool ShowFaceVisibilitiesByRange (size_t in_start, size_t in_count, BoolArray &out_validities, BoolArray &out_visibilities) const
 Shows the face visibilities on a range of faces starting at the specified offset. More...
 
bool ShowFaceVisibilitiesByList (SizeTArray const &in_faces, BoolArray &out_validities, BoolArray &out_visibilities) const
 Shows the face visibilities on a selection of arbitrary faces. More...
 
ShellKitEditPointsByInsertion (size_t in_offset, size_t in_count, Point const in_points[])
 Adds points to the point list for this ShellKit. More...
 
ShellKitEditPointsByInsertion (size_t in_offset, PointArray const &in_points)
 Adds points to the point list for this ShellKit. More...
 
ShellKitEditPointsByDeletion (size_t in_offset, size_t in_count)
 Removes points from the point list for this ShellKit. More...
 
ShellKitEditPointsByReplacement (size_t in_offset, size_t in_count, Point const in_points[])
 Replaces points in the point list for this ShellKit. More...
 
ShellKitEditPointsByReplacement (size_t in_offset, PointArray const &in_points)
 Replaces points in the point list for this ShellKit. More...
 
ShellKitEditFacelistByInsertion (size_t in_offset, size_t in_count, int const in_facelist[])
 Adds faces to the face list for this ShellKit. More...
 
ShellKitEditFacelistByInsertion (size_t in_offset, IntArray const &in_facelist)
 Adds faces to the face list for this ShellKit. More...
 
ShellKitEditFacelistByDeletion (size_t in_offset, size_t in_count)
 Removes faces from the face list for this ShellKit. More...
 
ShellKitEditFacelistByReplacement (size_t in_offset, size_t in_count, int const in_facelist[])
 Replaces faces in the face list for this ShellKit. More...
 
ShellKitEditFacelistByReplacement (size_t in_offset, IntArray const &in_facelist)
 Replaces faces in the face list for this ShellKit. More...
 
void Optimize (ShellOptimizationOptionsKit const &in_shell_optimization_kit)
 Optimizes the shell using the parameters set in a ShellOptimizationOptionsKit. More...
 
void ComputeRelation (PointArray const &in_points, ShellRelationOptionsKit const &in_options, ShellRelationResultsKit &out_results) const
 Computes the relation of a collection of points to this shell, subject to the specified options. More...
 
void ComputeRelation (ShellKey const &in_points_source, ShellRelationOptionsKit const &in_options, ShellRelationResultsKit &out_results) const
 Computes the relation of a collection of points to this shell, subject to the specified options. More...
 
void ComputeRelation (ShellKit const &in_points_source, ShellRelationOptionsKit const &in_options, ShellRelationResultsKit &out_results) const
 Computes the relation of a collection of points to this shell, subject to the specified options. More...
 
ShellKitSetUserData (intptr_t in_index, size_t in_bytes, byte const in_data[])
 Sets user data on this kit. More...
 
ShellKitSetUserData (intptr_t in_index, ByteArray const &in_data)
 Sets user data on this kit. More...
 
ShellKitSetUserData (IntPtrTArray const &in_indices, ByteArrayArray const &in_data)
 Sets user data on this kit. More...
 
ShellKitUnsetUserData (intptr_t in_index)
 Removes the user data at the given index from this kit. More...
 
ShellKitUnsetUserData (size_t in_count, intptr_t const in_indices[])
 Removes the user data at the given indices from this kit. More...
 
ShellKitUnsetUserData (IntPtrTArray const &in_indices)
 Removes the user data at the given indices from this kit. More...
 
ShellKitUnsetAllUserData ()
 Removes all user data from this kit. More...
 
size_t ShowUserDataCount () const
 Get the number of user data indices set on this kit. More...
 
bool ShowUserDataIndices (IntPtrTArray &out_indices) const
 Shows the indices of all user data set on this kit. More...
 
bool ShowUserData (intptr_t in_index, ByteArray &out_data) const
 Shows the user data at a given index for this kit. More...
 
bool ShowUserData (IntPtrTArray &out_indices, ByteArrayArray &out_data) const
 Shows all user data for this kit. More...
 
virtual HPS::Type Type () const
 This function returns the true type of the underlying object. More...
 
virtual void Reset ()
 Resets this object to its initial, uninitialized state. More...
 
bool HasType (HPS::Type in_mask) const
 This function indicates whether this Object has the given Type mask. More...
 
intptr_t GetClassID () const
 Returns a unique identifier that is shared by all objects of the same class. More...
 
intptr_t GetInstanceID () const
 Returns an identifier that can be used to identify which instance of a class an object is. More...
 

Static Public Member Functions

template<typename T >
static intptr_t ClassID ()
 Unique identifier for this class. More...
 

Static Public Attributes

static const HPS::Type staticType = HPS::Type::ShellKit
 

Detailed Description

The ShellKit class is a user space object.

It is the kit analog to a ShellKey.

Constructor & Destructor Documentation

◆ ShellKit() [1/3]

HPS::ShellKit::ShellKit ( )

The default constructor creates an empty ShellKit object.

◆ ShellKit() [2/3]

HPS::ShellKit::ShellKit ( ShellKit const &  in_kit)

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

Parameters
in_kitThe source ShellKit to copy.

◆ ShellKit() [3/3]

HPS::ShellKit::ShellKit ( ShellKit &&  in_that)

The move constructor creates a ShellKit by transferring the underlying impl of the rvalue reference to this ShellKit thereby avoiding a copy and allocation.

Parameters
in_thatAn rvalue reference to a ShellKit to take the impl from.

◆ ~ShellKit()

virtual HPS::ShellKit::~ShellKit ( )
virtual

Member Function Documentation

◆ ClassID()

template<typename T >
static intptr_t HPS::Object::ClassID ( )
inlinestaticinherited

Unique identifier for this class.

Note: this method uses construction of static objects. If used in a constructor, it should be used in the body not the initializer list.

◆ ComputeRelation() [1/3]

void HPS::ShellKit::ComputeRelation ( PointArray const &  in_points,
ShellRelationOptionsKit const &  in_options,
ShellRelationResultsKit out_results 
) const

Computes the relation of a collection of points to this shell, subject to the specified options.

Parameters
in_pointsAn array of points to test against this shell.
in_optionsThe options to use when performing the relation test.
out_resultsThe results of the relation test.

◆ ComputeRelation() [2/3]

void HPS::ShellKit::ComputeRelation ( ShellKey const &  in_points_source,
ShellRelationOptionsKit const &  in_options,
ShellRelationResultsKit out_results 
) const

Computes the relation of a collection of points to this shell, subject to the specified options.

Parameters
in_points_sourceA shell whose points should be tested against this shell.
in_optionsThe options to use when performing the relation test.
out_resultsThe results of the relation test.

◆ ComputeRelation() [3/3]

void HPS::ShellKit::ComputeRelation ( ShellKit const &  in_points_source,
ShellRelationOptionsKit const &  in_options,
ShellRelationResultsKit out_results 
) const

Computes the relation of a collection of points to this shell, subject to the specified options.

Parameters
in_points_sourceA shell whose points should be tested against this shell.
in_optionsThe options to use when performing the relation test.
out_resultsThe results of the relation test.

◆ Consume()

void HPS::ShellKit::Consume ( ShellKit in_kit)

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

Parameters
in_kitThe source ShellKit to consume.

◆ EditFacelistByDeletion()

ShellKit& HPS::ShellKit::EditFacelistByDeletion ( size_t  in_offset,
size_t  in_count 
)

Removes faces from the face list for this ShellKit.

This will not affect the points referenced by the removed faces, however any face attributes on the removed faces will be lost.

Parameters
in_offsetThe offset into the faces for the shell at which to start removing faces. This value must be such that in_offset<face_count for deletion to succeed. This is not an offset into the raw face list, but is relative to the actual face count for the shell.
in_countThe number of faces to remove from the face list for the shell. This value must be such that in_offset+in_count<=face_count for the deletion to succeed.
Returns
A reference to this ShellKit.

◆ EditFacelistByInsertion() [1/2]

ShellKit& HPS::ShellKit::EditFacelistByInsertion ( size_t  in_offset,
size_t  in_count,
int const  in_facelist[] 
)

Adds faces to the face list for this ShellKit.

Parameters
in_offsetThe offset into the faces for the shell at which to insert faces. This value must be such that in_offset<face_count for insertion to succeed. This is not an offset into the raw face list, but is relative to the actual face count for the shell.
in_countSize of the following array.
in_facelistThe faces (using the standard face-list encoding) to insert into the face list at the specified offset.
Returns
A reference to this ShellKit.

◆ EditFacelistByInsertion() [2/2]

ShellKit& HPS::ShellKit::EditFacelistByInsertion ( size_t  in_offset,
IntArray const &  in_facelist 
)

Adds faces to the face list for this ShellKit.

Parameters
in_offsetThe offset into the faces for the shell at which to insert faces. This value must be such that in_offset<face_count for insertion to succeed. This is not an offset into the raw face list, but is relative to the actual face count for the shell.
in_facelistThe faces (using the standard face-list encoding) to insert into the face list at the specified offset.
Returns
A reference to this ShellKit.

◆ EditFacelistByReplacement() [1/2]

ShellKit& HPS::ShellKit::EditFacelistByReplacement ( size_t  in_offset,
size_t  in_count,
int const  in_facelist[] 
)

Replaces faces in the face list for this ShellKit.

Parameters
in_offsetThe offset into the faces for the shell at which to start replacing faces. This value must be such that in_offset<face_count for replacement to succeed. This is not an offset into the raw face list, but is relative to the actual face count for the shell.
in_countSize of the following array.
in_facelistThe faces (using the standard face-list encoding) to use to replace those in the face list at the specified offset. The number of replacement faces must be such that in_offset+replacement_face_count<=face_count. This does not mean that the face list length must be the same, i.e., faces can use different numbers of vertices than previously, but rather is a limit on the number of faces encoded in the face list.
Returns
A reference to this ShellKit.

◆ EditFacelistByReplacement() [2/2]

ShellKit& HPS::ShellKit::EditFacelistByReplacement ( size_t  in_offset,
IntArray const &  in_facelist 
)

Replaces faces in the face list for this ShellKit.

Parameters
in_offsetThe offset into the faces for the shell at which to start replacing faces. This value must be such that in_offset<face_count for replacement to succeed. This is not an offset into the raw face list, but is relative to the actual face count for the shell.
in_facelistThe faces (using the standard face-list encoding) to use to replace those in the face list at the specified offset. The number of replacement faces must be such that in_offset+replacement_face_count<=face_count. This does not mean that the face list length must be the same, i.e., faces can use different numbers of vertices than previously, but rather is a limit on the number of faces encoded in the face list.
Returns
A reference to this ShellKit.

◆ EditPointsByDeletion()

ShellKit& HPS::ShellKit::EditPointsByDeletion ( size_t  in_offset,
size_t  in_count 
)

Removes points from the point list for this ShellKit.

Any existing faces which reference points which are being deleted will be removed. Additionally, any vertex attributes on the deleted vertices, i.e., colors, normals, parameters, and visibilities, will be removed. The face list will also be updated to reflect the new vertex offsets caused by removing elements from the point list.

Parameters
in_offsetThe offset into the point list for the shell at which to start removing points. This value must be such that in_offset<point_count for deletion to succeed.
in_countThe number of points to delete from the point list for the shell. This value must be such that in_offset+in_count<=point_count for the deletion to succeed.
Returns
A reference to this ShellKit.

◆ EditPointsByInsertion() [1/2]

ShellKit& HPS::ShellKit::EditPointsByInsertion ( size_t  in_offset,
size_t  in_count,
Point const  in_points[] 
)

Adds points to the point list for this ShellKit.

No existing faces will reference these points, i.e., the face list will be updated to reference the original vertices in their new positions. Addtionally, no vertex attributes will apply to these points, i.e., the vertex attributes will only be set on those points which had them prior to the insertion.

Parameters
in_offsetThe offset into the point list for the shell at which to insert points. This value must be such that in_offset<point_count for insertion to succeed.
in_countSize of the following array.
in_pointsThe points to insert into the point list at the specified offset.
Returns
A reference to this ShellKit.

◆ EditPointsByInsertion() [2/2]

ShellKit& HPS::ShellKit::EditPointsByInsertion ( size_t  in_offset,
PointArray const &  in_points 
)

Adds points to the point list for this ShellKit.

No existing faces will reference these points, i.e., the face list will be updated to reference the original vertices in their new positions. Addtionally, no vertex attributes will apply to these points, i.e., the vertex attributes will only be set on those points which had them prior to the insertion.

Parameters
in_offsetThe offset into the point list for the shell at which to insert points. This value must be such that in_offset<point_count for insertion to succeed.
in_pointsThe points to insert into the point list at the specified offset.
Returns
A reference to this ShellKit.

◆ EditPointsByReplacement() [1/2]

ShellKit& HPS::ShellKit::EditPointsByReplacement ( size_t  in_offset,
size_t  in_count,
Point const  in_points[] 
)

Replaces points in the point list for this ShellKit.

These points will replace those already referenced by any faces and will inherit any attributes the points being replaced had.

Parameters
in_offsetThe offset into the point list for the shell at which to start replacing points. This value must be such that in_offset<point_count for replacement to succeed.
in_countSize of the following array. This value must be such that in_offset+in_count<=point_count for the replacement to succeed.
in_pointsThe points to use to replace those in the point list at the specified offset.
Returns
A reference to this ShellKit.

◆ EditPointsByReplacement() [2/2]

ShellKit& HPS::ShellKit::EditPointsByReplacement ( size_t  in_offset,
PointArray const &  in_points 
)

Replaces points in the point list for this ShellKit.

These points will replace those already referenced by any faces and will inherit any attributes the points being replaced had.

Parameters
in_offsetThe offset into the point list for the shell at which to start replacing points. This value must be such that in_offset<point_count for replacement to succeed.
in_pointsThe points to use to replace those in the point list at the specified offset. This size of the array must be such that in_offset+in_points.size()<=point_count for the replacement to succeed.
Returns
A reference to this ShellKit.

◆ Empty()

bool HPS::ShellKit::Empty ( ) const
virtual

Indicates whether this ShellKit has any values set on it.

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

Reimplemented from HPS::Object.

◆ Equals()

bool HPS::ShellKit::Equals ( ShellKit const &  in_kit) const

Check if the source ShellKit is equivalent to this ShellKit.

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

◆ GetClassID()

intptr_t HPS::Object::GetClassID ( ) const
inherited

Returns a unique identifier that is shared by all objects of the same class.

Returns
A unique value shared by all objects of the same class.

◆ GetFaceCount()

size_t HPS::ShellKit::GetFaceCount ( ) const

Retrieves the number of faces in this shell.

Note that this is different than the length of the face list

Returns
The number of faces in this shell.

◆ GetInstanceID()

intptr_t HPS::Object::GetInstanceID ( ) const
inherited

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.

Returns
A value unique to an instance of an object and all objects that are backed by the same database resource.

◆ GetPointCount()

size_t HPS::ShellKit::GetPointCount ( ) const

Retrieves the number of points in this shell.

Returns
The number of points in this shell.

◆ HasType()

bool HPS::Object::HasType ( HPS::Type  in_mask) const
inherited

This function indicates whether this Object has the given Type mask.

Parameters
in_maskThe Type mask to check against this Object.
Returns
true if this Object has the given Type mask, false otherwise.

◆ ObjectType()

HPS::Type HPS::ShellKit::ObjectType ( ) const
inlinevirtual

Reimplemented from HPS::Kit.

Here is the call graph for this function:

◆ operator!=()

bool HPS::ShellKit::operator!= ( ShellKit const &  in_kit) const

Check if the source ShellKit is not equivalent to this ShellKit.

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

◆ operator=() [1/2]

ShellKit& HPS::ShellKit::operator= ( ShellKit &&  in_that)

The move assignment operator transfers the underlying impl of the rvalue reference to this ShellKit thereby avoiding a copy.

Parameters
in_thatAn rvalue reference to a ShellKit to take the impl from.
Returns
A reference to this ShellKit.

◆ operator=() [2/2]

ShellKit& HPS::ShellKit::operator= ( ShellKit const &  in_kit)

Copies the source ShellKit into this ShellKit.

Parameters
in_kitThe source ShellKit to copy.
Returns
A reference to this ShellKit.

◆ operator==()

bool HPS::ShellKit::operator== ( ShellKit const &  in_kit) const

Check if the source ShellKit is equivalent to this ShellKit.

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

◆ Optimize()

void HPS::ShellKit::Optimize ( ShellOptimizationOptionsKit const &  in_shell_optimization_kit)

Optimizes the shell using the parameters set in a ShellOptimizationOptionsKit.

Parameters
in_shell_optimization_options_kitThe kit containing the optimization options to use.

◆ Reset()

◆ Set()

void HPS::ShellKit::Set ( ShellKit const &  in_kit)

Copies the source ShellKit into this ShellKit.

Parameters
in_kitThe source ShellKit to copy.

◆ SetEdgeIndexColorsByList() [1/4]

ShellKit& HPS::ShellKit::SetEdgeIndexColorsByList ( SizeTArray const &  in_vertices1,
SizeTArray const &  in_vertices2,
FloatArray const &  in_indices 
)

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 ShellKit.

◆ SetEdgeIndexColorsByList() [2/4]

ShellKit& HPS::ShellKit::SetEdgeIndexColorsByList ( SizeTArray const &  in_vertices1,
SizeTArray const &  in_vertices2,
float  in_index 
)

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 ShellKit.

◆ SetEdgeIndexColorsByList() [3/4]

ShellKit& HPS::ShellKit::SetEdgeIndexColorsByList ( size_t  in_count,
size_t const  in_vertices1[],
size_t const  in_vertices2[],
float const  in_indices[] 
)

Sets edge material indices on a selection of arbitrary edges.

Parameters
in_countSize of the following arrays.
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 ShellKit.

◆ SetEdgeIndexColorsByList() [4/4]

ShellKit& HPS::ShellKit::SetEdgeIndexColorsByList ( size_t  in_count,
size_t const  in_vertices1[],
size_t const  in_vertices2[],
float  in_index 
)

Sets edge material indices on a selection of arbitrary edges.

Parameters
in_countSize of the following arrays.
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 ShellKit.

◆ SetEdgeRGBColorsByList() [1/4]

ShellKit& HPS::ShellKit::SetEdgeRGBColorsByList ( SizeTArray const &  in_vertices1,
SizeTArray const &  in_vertices2,
RGBColorArray const &  in_rgb_colors 
)

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 ShellKit.

◆ SetEdgeRGBColorsByList() [2/4]

ShellKit& HPS::ShellKit::SetEdgeRGBColorsByList ( SizeTArray const &  in_vertices1,
SizeTArray const &  in_vertices2,
RGBColor const &  in_rgb_color 
)

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 ShellKit.

◆ SetEdgeRGBColorsByList() [3/4]

ShellKit& HPS::ShellKit::SetEdgeRGBColorsByList ( size_t  in_count,
size_t const  in_vertices1[],
size_t const  in_vertices2[],
RGBColor const  in_rgb_colors[] 
)

Sets edge colors on a selection of arbitrary edges.

Parameters
in_countSize of the following arrays.
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 ShellKit.

◆ SetEdgeRGBColorsByList() [4/4]

ShellKit& HPS::ShellKit::SetEdgeRGBColorsByList ( size_t  in_count,
size_t const  in_vertices1[],
size_t const  in_vertices2[],
RGBColor const  in_rgb_color 
)

Sets edge colors on a selection of arbitrary edges.

Parameters
in_countSize of the following arrays.
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 ShellKit.

◆ SetEdgeVisibilitiesByList() [1/4]

ShellKit& HPS::ShellKit::SetEdgeVisibilitiesByList ( size_t  in_count,
size_t const  in_vertices1[],
size_t const  in_vertices2[],
bool const  in_visibilities[] 
)

Sets edge visibilities on a selection of arbitrary edges.

Parameters
in_countSize of the following arrays.
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 ShellKit.

◆ SetEdgeVisibilitiesByList() [2/4]

ShellKit& HPS::ShellKit::SetEdgeVisibilitiesByList ( size_t  in_count,
size_t const  in_vertices1[],
size_t const  in_vertices2[],
bool  in_visibility 
)

Sets edge visibilities on a selection of arbitrary edges.

Parameters
in_countSize of the following arrays.
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 ShellKit.

◆ SetEdgeVisibilitiesByList() [3/4]

ShellKit& HPS::ShellKit::SetEdgeVisibilitiesByList ( SizeTArray const &  in_vertices1,
SizeTArray const &  in_vertices2,
bool  in_visibility 
)

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 ShellKit.

◆ SetEdgeVisibilitiesByList() [4/4]

ShellKit& HPS::ShellKit::SetEdgeVisibilitiesByList ( SizeTArray const &  in_vertices1,
SizeTArray const &  in_vertices2,
BoolArray const &  in_visibilities 
)

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 ShellKit.

◆ SetFaceIndexColorsByList() [1/4]

ShellKit& HPS::ShellKit::SetFaceIndexColorsByList ( size_t  in_count,
size_t const  in_faces[],
float const  in_indices[] 
)

Sets face material indices on a selection of arbitrary faces.

Parameters
in_countSize of the following arrays.
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 ShellKit.

◆ SetFaceIndexColorsByList() [2/4]

ShellKit& HPS::ShellKit::SetFaceIndexColorsByList ( SizeTArray const &  in_faces,
FloatArray const &  in_indices 
)

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 ShellKit.

◆ SetFaceIndexColorsByList() [3/4]

ShellKit& HPS::ShellKit::SetFaceIndexColorsByList ( size_t  in_count,
size_t const  in_faces[],
float  in_index 
)

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

Parameters
in_countSize of the following array.
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 ShellKit.

◆ SetFaceIndexColorsByList() [4/4]

ShellKit& HPS::ShellKit::SetFaceIndexColorsByList ( SizeTArray const &  in_faces,
float  in_index 
)

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 ShellKit.

◆ SetFaceIndexColorsByRange() [1/3]

ShellKit& HPS::ShellKit::SetFaceIndexColorsByRange ( size_t  in_start,
size_t  in_count,
float const  in_indices[] 
)

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

Parameters
in_startThe offset into the faces for this ShellKit at which to start setting colors.
in_countSize of the following array.
in_indicesThe material indices to set on the faces for this ShellKit.
Returns
A reference to this ShellKit.

◆ SetFaceIndexColorsByRange() [2/3]

ShellKit& HPS::ShellKit::SetFaceIndexColorsByRange ( size_t  in_start,
FloatArray const &  in_indices 
)

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

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

◆ SetFaceIndexColorsByRange() [3/3]

ShellKit& HPS::ShellKit::SetFaceIndexColorsByRange ( size_t  in_start,
size_t  in_count,
float  in_index 
)

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

Parameters
in_startThe offset into the faces for this ShellKit 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 ShellKit.
Returns
A reference to this ShellKit.

◆ SetFacelist() [1/2]

ShellKit& HPS::ShellKit::SetFacelist ( IntArray const &  in_facelist)

Sets the face list for this ShellKit.

Parameters
in_facelistThe face list for this ShellKit.
Returns
A reference to this ShellKit.

◆ SetFacelist() [2/2]

ShellKit& HPS::ShellKit::SetFacelist ( size_t  in_count,
int const  in_facelist[] 
)

Sets the face list for this ShellKit.

Parameters
in_countSize of the following array.
in_facelistThe face list for this ShellKit.
Returns
A reference to this ShellKit.

◆ SetFaceNormalsByList() [1/4]

ShellKit& HPS::ShellKit::SetFaceNormalsByList ( size_t  in_count,
size_t const  in_faces[],
Vector const  in_normals[] 
)

Sets face normals on a selection of arbitrary faces.

Parameters
in_countSize of the following arrays.
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 ShellKit.

◆ SetFaceNormalsByList() [2/4]

ShellKit& HPS::ShellKit::SetFaceNormalsByList ( SizeTArray const &  in_faces,
VectorArray const &  in_normals 
)

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 ShellKit.

◆ SetFaceNormalsByList() [3/4]

ShellKit& HPS::ShellKit::SetFaceNormalsByList ( size_t  in_count,
size_t const  in_faces[],
Vector const &  in_normal 
)

Sets a single normal on a selection of arbitrary faces.

Parameters
in_countSize of the following array.
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 ShellKit.

◆ SetFaceNormalsByList() [4/4]

ShellKit& HPS::ShellKit::SetFaceNormalsByList ( SizeTArray const &  in_faces,
Vector const &  in_normal 
)

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 ShellKit.

◆ SetFaceNormalsByRange() [1/3]

ShellKit& HPS::ShellKit::SetFaceNormalsByRange ( size_t  in_start,
size_t  in_count,
Vector const  in_normals[] 
)

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

Parameters
in_startThe offset into the faces for this ShellKit at which to start setting normals.
in_countSize of the following array.
in_normalsThe normals to set on the faces for this ShellKit.
Returns
A reference to this ShellKit.

◆ SetFaceNormalsByRange() [2/3]

ShellKit& HPS::ShellKit::SetFaceNormalsByRange ( size_t  in_start,
VectorArray const &  in_normals 
)

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

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

◆ SetFaceNormalsByRange() [3/3]

ShellKit& HPS::ShellKit::SetFaceNormalsByRange ( size_t  in_start,
size_t  in_count,
Vector const &  in_normal 
)

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

Parameters
in_startThe offset into the faces for this ShellKit 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 ShellKit.
Returns
A reference to this ShellKit.

◆ SetFaceRGBColorsByList() [1/4]

ShellKit& HPS::ShellKit::SetFaceRGBColorsByList ( size_t  in_count,
size_t const  in_faces[],
RGBColor const  in_rgb_colors[] 
)

Sets face RGB colors on a selection of arbitrary faces.

Parameters
in_countSize of the following arrays.
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 ShellKit.

◆ SetFaceRGBColorsByList() [2/4]

ShellKit& HPS::ShellKit::SetFaceRGBColorsByList ( SizeTArray const &  in_faces,
RGBColorArray const &  in_rgb_colors 
)

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 ShellKit.

◆ SetFaceRGBColorsByList() [3/4]

ShellKit& HPS::ShellKit::SetFaceRGBColorsByList ( size_t  in_count,
size_t const  in_faces[],
RGBColor const &  in_rgb_color 
)

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

Parameters
in_countSize of the following array.
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 ShellKit.

◆ SetFaceRGBColorsByList() [4/4]

ShellKit& HPS::ShellKit::SetFaceRGBColorsByList ( SizeTArray const &  in_faces,
RGBColor const &  in_rgb_color 
)

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 ShellKit.

◆ SetFaceRGBColorsByRange() [1/3]

ShellKit& HPS::ShellKit::SetFaceRGBColorsByRange ( size_t  in_start,
size_t  in_count,
RGBColor const  in_rgb_colors[] 
)

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

Parameters
in_startThe offset into the faces for this ShellKit at which to start setting colors.
in_countSize of the following array.
in_rgb_colorsThe RGB colors to set on the faces for this ShellKit.
Returns
A reference to this ShellKit.

◆ SetFaceRGBColorsByRange() [2/3]

ShellKit& HPS::ShellKit::SetFaceRGBColorsByRange ( size_t  in_start,
RGBColorArray const &  in_rgb_colors 
)

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

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

◆ SetFaceRGBColorsByRange() [3/3]

ShellKit& HPS::ShellKit::SetFaceRGBColorsByRange ( size_t  in_start,
size_t  in_count,
RGBColor const &  in_rgb_color 
)

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

Parameters
in_startThe offset into the faces for this ShellKit 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 ShellKit.
Returns
A reference to this ShellKit.

◆ SetFaceVisibilitiesByList() [1/4]

ShellKit& HPS::ShellKit::SetFaceVisibilitiesByList ( size_t  in_count,
size_t const  in_faces[],
bool const  in_visibilities[] 
)

Sets face visibilities on a selection of arbitrary faces.

Parameters
in_countSize of the following arrays.
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 ShellKit.

◆ SetFaceVisibilitiesByList() [2/4]

ShellKit& HPS::ShellKit::SetFaceVisibilitiesByList ( SizeTArray const &  in_faces,
BoolArray const &  in_visibilities 
)

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 ShellKit.

◆ SetFaceVisibilitiesByList() [3/4]

ShellKit& HPS::ShellKit::SetFaceVisibilitiesByList ( size_t  in_count,
size_t const  in_faces[],
bool  in_visibility 
)

Sets a single visibility on a selection of arbitrary faces.

Parameters
in_countSize of the following array.
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 ShellKit.

◆ SetFaceVisibilitiesByList() [4/4]

ShellKit& HPS::ShellKit::SetFaceVisibilitiesByList ( SizeTArray const &  in_faces,
bool  in_visibility 
)

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 ShellKit.

◆ SetFaceVisibilitiesByRange() [1/3]

ShellKit& HPS::ShellKit::SetFaceVisibilitiesByRange ( size_t  in_start,
size_t  in_count,
bool const  in_visibilities[] 
)

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

Parameters
in_startThe offset into the faces for this ShellKit at which to start setting visibilities.
in_countSize of the following array.
in_visibilitiesThe visibilities to set on the faces for this ShellKit.
Returns
A reference to this ShellKit.

◆ SetFaceVisibilitiesByRange() [2/3]

ShellKit& HPS::ShellKit::SetFaceVisibilitiesByRange ( size_t  in_start,
BoolArray const &  in_visibilities 
)

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

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

◆ SetFaceVisibilitiesByRange() [3/3]

ShellKit& HPS::ShellKit::SetFaceVisibilitiesByRange ( size_t  in_start,
size_t  in_count,
bool  in_visibility 
)

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

Parameters
in_startThe offset into the faces for this ShellKit 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 ShellKit.
Returns
A reference to this ShellKit.

◆ SetMaterialMapping()

ShellKit& HPS::ShellKit::SetMaterialMapping ( MaterialMappingKit const &  in_kit)

Sets the specified material mappings on this ShellKit.

If this kit is used to insert a shell, only face, back face, cut edge, cut face, edge, and vertex materials will be set on the inserted shell. These material settings will be "global" for the shell, 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 ShellKit.
Returns
A reference to this ShellKit.

◆ SetPoints() [1/2]

ShellKit& HPS::ShellKit::SetPoints ( PointArray const &  in_points)

Sets the points for this ShellKit.

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

◆ SetPoints() [2/2]

ShellKit& HPS::ShellKit::SetPoints ( size_t  in_count,
Point const  in_points[] 
)

Sets the points for this ShellKit.

Parameters
in_countSize of the following array.
in_pointsThe points for this ShellKit.
Returns
A reference to this ShellKit.

◆ SetPriority()

ShellKit& HPS::ShellKit::SetPriority ( int  in_priority)

Assigns a specific drawing priority value to the ShellKit.

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()

◆ SetTristrips() [1/2]

ShellKit& HPS::ShellKit::SetTristrips ( IntArray const &  in_tristrips)

Sets the triangle strips for this ShellKit.

Parameters
in_tristripsThe tristrips list for this ShellKit.
Returns
A reference to this ShellKit.

◆ SetTristrips() [2/2]

ShellKit& HPS::ShellKit::SetTristrips ( size_t  in_count,
int const  in_tristrips[] 
)

Sets the triangle strips for this ShellKit.

Parameters
in_countSize of the following array.
in_tristripsThe tristrips list for this ShellKit.
Returns
A reference to this ShellKit.

◆ SetUserData() [1/3]

ShellKit& HPS::ShellKit::SetUserData ( intptr_t  in_index,
size_t  in_bytes,
byte const  in_data[] 
)

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]

ShellKit& HPS::ShellKit::SetUserData ( intptr_t  in_index,
ByteArray const &  in_data 
)

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]

ShellKit& HPS::ShellKit::SetUserData ( IntPtrTArray const &  in_indices,
ByteArrayArray const &  in_data 
)

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]

ShellKit& HPS::ShellKit::SetVertexIndexColorsByList ( size_t  in_count,
size_t const  in_vertices[],
float const  in_indices[],
Shell::Component  in_apply_to = Shell::Component::Faces 
)

Sets vertex material indices on a selection of arbitrary vertices which apply to the specified shell component.

Parameters
in_countSize of the following arrays.
in_verticesThe indices of the vertices on which to set the colors.
in_indicesThe material indices to set on the vertices.
in_apply_toThe shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexIndexColorsByList() [2/4]

ShellKit& HPS::ShellKit::SetVertexIndexColorsByList ( SizeTArray const &  in_vertices,
FloatArray const &  in_indices,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

Sets vertex material indices on a selection of arbitrary vertices which apply to the specified shell 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 shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexIndexColorsByList() [3/4]

ShellKit& HPS::ShellKit::SetVertexIndexColorsByList ( size_t  in_count,
size_t const  in_vertices[],
float  in_index,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

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

Parameters
in_countSize of the following array.
in_verticesThe indices of the vertices on which to set the color.
in_indexThe material index to set on the vertices.
in_apply_toThe shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexIndexColorsByList() [4/4]

ShellKit& HPS::ShellKit::SetVertexIndexColorsByList ( SizeTArray const &  in_vertices,
float  in_index,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

Sets a single material index on a selection of arbitrary vertices which apply to the specified shell 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 shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexIndexColorsByRange() [1/3]

ShellKit& HPS::ShellKit::SetVertexIndexColorsByRange ( size_t  in_start,
size_t  in_count,
float const  in_indices[],
Shell::Component  in_apply_to = Shell::Component::Faces 
)

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

Parameters
in_startThe offset into the vertices for this ShellKit at which to start setting colors.
in_countSize of the following array.
in_indicesThe material indices to set on the vertices for this ShellKit.
in_apply_toThe shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexIndexColorsByRange() [2/3]

ShellKit& HPS::ShellKit::SetVertexIndexColorsByRange ( size_t  in_start,
FloatArray const &  in_indices,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

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

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

◆ SetVertexIndexColorsByRange() [3/3]

ShellKit& HPS::ShellKit::SetVertexIndexColorsByRange ( size_t  in_start,
size_t  in_count,
float  in_index,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

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

Parameters
in_startThe offset into the vertices for this ShellKit 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 ShellKit.
in_apply_toThe shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexNormalsByList() [1/4]

ShellKit& HPS::ShellKit::SetVertexNormalsByList ( size_t  in_count,
size_t const  in_vertices[],
Vector const  in_normals[] 
)

Sets vertex normals on a selection of arbitrary vertices.

Parameters
in_countSize of the following arrays.
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 ShellKit.

◆ SetVertexNormalsByList() [2/4]

ShellKit& HPS::ShellKit::SetVertexNormalsByList ( SizeTArray const &  in_vertices,
VectorArray const &  in_normals 
)

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 ShellKit.

◆ SetVertexNormalsByList() [3/4]

ShellKit& HPS::ShellKit::SetVertexNormalsByList ( size_t  in_count,
size_t const  in_vertices[],
Vector const &  in_normal 
)

Sets a single normal on a selection of arbitrary vertices.

Parameters
in_countSize of the following array.
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 ShellKit.

◆ SetVertexNormalsByList() [4/4]

ShellKit& HPS::ShellKit::SetVertexNormalsByList ( SizeTArray const &  in_vertices,
Vector const &  in_normal 
)

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 ShellKit.

◆ SetVertexNormalsByRange() [1/3]

ShellKit& HPS::ShellKit::SetVertexNormalsByRange ( size_t  in_start,
size_t  in_count,
Vector const  in_normals[] 
)

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

Parameters
in_startThe offset into the vertices for this ShellKit at which to start setting normals.
in_countSize of the following array.
in_normalsThe normals to set on the vertices for this ShellKit.
Returns
A reference to this ShellKit.

◆ SetVertexNormalsByRange() [2/3]

ShellKit& HPS::ShellKit::SetVertexNormalsByRange ( size_t  in_start,
VectorArray const &  in_normals 
)

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

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

◆ SetVertexNormalsByRange() [3/3]

ShellKit& HPS::ShellKit::SetVertexNormalsByRange ( size_t  in_start,
size_t  in_count,
Vector const &  in_normal 
)

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

Parameters
in_startThe offset into the vertices for this ShellKit 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 ShellKit.
Returns
A reference to this ShellKit.

◆ SetVertexParametersByList() [1/2]

ShellKit& HPS::ShellKit::SetVertexParametersByList ( size_t  in_vertex_count,
size_t const  in_vertices[],
size_t  in_param_count,
float const  in_params[],
size_t  in_param_width = 2 
)

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_vertex_countSize of the following array.
in_verticesThe indices of the vertices on which to set the texture parameters.
in_param_countSize of the following array. This should be divisible by the parameter width, if it is not, some parameters will get ignored.
in_paramsThe texture parameters to set on the vertices for this ShellKit.
in_param_widthThe number of texture parameters per vertex. Defaults to 2.
Returns
A reference to this ShellKit.

◆ SetVertexParametersByList() [2/2]

ShellKit& HPS::ShellKit::SetVertexParametersByList ( SizeTArray const &  in_vertices,
FloatArray const &  in_params,
size_t  in_param_width = 2 
)

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 ShellKit. 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 ShellKit.

◆ SetVertexParametersByRange() [1/2]

ShellKit& HPS::ShellKit::SetVertexParametersByRange ( size_t  in_start,
size_t  in_param_count,
float const  in_params[],
size_t  in_param_width = 2 
)

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

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

◆ SetVertexParametersByRange() [2/2]

ShellKit& HPS::ShellKit::SetVertexParametersByRange ( size_t  in_start,
FloatArray const &  in_params,
size_t  in_param_width = 2 
)

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

Parameters
in_startThe offset into the vertices for this ShellKit at which to start setting texture parameters.
in_paramsThe texture parameters to set on the vertices for this ShellKit. 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 ShellKit.

◆ SetVertexRGBAColorsByList() [1/4]

ShellKit& HPS::ShellKit::SetVertexRGBAColorsByList ( size_t  in_count,
size_t const  in_vertices[],
RGBAColor const  in_rgba_colors[],
Shell::Component  in_apply_to = Shell::Component::Faces 
)

Sets vertex RGBA colors on a selection of arbitrary vertices which apply to the specified shell component.

Parameters
in_countSize of the following arrays.
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 shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexRGBAColorsByList() [2/4]

ShellKit& HPS::ShellKit::SetVertexRGBAColorsByList ( SizeTArray const &  in_vertices,
RGBAColorArray const &  in_rgba_colors,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

Sets vertex RGBA colors on a selection of arbitrary vertices which apply to the specified shell 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 shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexRGBAColorsByList() [3/4]

ShellKit& HPS::ShellKit::SetVertexRGBAColorsByList ( size_t  in_count,
size_t const  in_vertices[],
RGBAColor const &  in_rgba_color,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

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

Parameters
in_countSize of the following array.
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 shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexRGBAColorsByList() [4/4]

ShellKit& HPS::ShellKit::SetVertexRGBAColorsByList ( SizeTArray const &  in_vertices,
RGBAColor const &  in_rgba_color,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

Sets a single RGBA color on a selection of arbitrary vertices which apply to the specified shell 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 shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexRGBAColorsByRange() [1/3]

ShellKit& HPS::ShellKit::SetVertexRGBAColorsByRange ( size_t  in_start,
size_t  in_count,
RGBAColor const  in_rgba_colors[],
Shell::Component  in_apply_to = Shell::Component::Faces 
)

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

Parameters
in_startThe offset into the vertices for this ShellKit at which to start setting colors.
in_countSize of the following array.
in_rgba_colorsThe RGBA colors to set on the vertices for this ShellKit.
in_apply_toThe shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexRGBAColorsByRange() [2/3]

ShellKit& HPS::ShellKit::SetVertexRGBAColorsByRange ( size_t  in_start,
RGBAColorArray const &  in_rgba_colors,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

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

Parameters
in_startThe offset into the vertices for this ShellKit at which to start setting colors.
in_rgba_colorsThe RGBA colors to set on the vertices for this ShellKit.
in_apply_toThe shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexRGBAColorsByRange() [3/3]

ShellKit& HPS::ShellKit::SetVertexRGBAColorsByRange ( size_t  in_start,
size_t  in_count,
RGBAColor const &  in_rgba_color,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

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

Parameters
in_startThe offset into the vertices for this ShellKit 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 ShellKit.
in_apply_toThe shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexRGBColorsByList() [1/4]

ShellKit& HPS::ShellKit::SetVertexRGBColorsByList ( size_t  in_count,
size_t const  in_vertices[],
RGBColor const  in_rgb_colors[],
Shell::Component  in_apply_to = Shell::Component::Faces 
)

Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified shell component.

Parameters
in_countSize of the following arrays.
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 shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexRGBColorsByList() [2/4]

ShellKit& HPS::ShellKit::SetVertexRGBColorsByList ( SizeTArray const &  in_vertices,
RGBColorArray const &  in_rgb_colors,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified shell 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 shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexRGBColorsByList() [3/4]

ShellKit& HPS::ShellKit::SetVertexRGBColorsByList ( size_t  in_count,
size_t const  in_vertices[],
RGBColor const &  in_rgb_color,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

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

Parameters
in_countSize of the following array.
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 shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexRGBColorsByList() [4/4]

ShellKit& HPS::ShellKit::SetVertexRGBColorsByList ( SizeTArray const &  in_vertices,
RGBColor const &  in_rgb_color,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

Sets a single RGB color on a selection of arbitrary vertices which apply to the specified shell 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 shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexRGBColorsByRange() [1/3]

ShellKit& HPS::ShellKit::SetVertexRGBColorsByRange ( size_t  in_start,
size_t  in_count,
RGBColor const  in_rgb_colors[],
Shell::Component  in_apply_to = Shell::Component::Faces 
)

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

Parameters
in_startThe offset into the vertices for this ShellKit at which to start setting colors.
in_countSize of the following array.
in_rgb_colorsThe RGB colors to set on the vertices for this ShellKit.
in_apply_toThe shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexRGBColorsByRange() [2/3]

ShellKit& HPS::ShellKit::SetVertexRGBColorsByRange ( size_t  in_start,
RGBColorArray const &  in_rgb_colors,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

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

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

◆ SetVertexRGBColorsByRange() [3/3]

ShellKit& HPS::ShellKit::SetVertexRGBColorsByRange ( size_t  in_start,
size_t  in_count,
RGBColor const &  in_rgb_color,
Shell::Component  in_apply_to = Shell::Component::Faces 
)

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

Parameters
in_startThe offset into the vertices for this ShellKit 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 ShellKit.
in_apply_toThe shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ SetVertexVisibilitiesByList() [1/4]

ShellKit& HPS::ShellKit::SetVertexVisibilitiesByList ( size_t  in_count,
size_t const  in_vertices[],
bool const  in_visibilities[] 
)

Sets vertex visibilities on a selection of arbitrary vertices.

Parameters
in_countSize of the following arrays.
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 ShellKit.

◆ SetVertexVisibilitiesByList() [2/4]

ShellKit& HPS::ShellKit::SetVertexVisibilitiesByList ( SizeTArray const &  in_vertices,
BoolArray const &  in_visibilities 
)

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 ShellKit.

◆ SetVertexVisibilitiesByList() [3/4]

ShellKit& HPS::ShellKit::SetVertexVisibilitiesByList ( size_t  in_count,
size_t const  in_vertices[],
bool  in_visibility 
)

Sets a single visibility on a selection of arbitrary vertices.

Parameters
in_countSize of the following array.
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 ShellKit.

◆ SetVertexVisibilitiesByList() [4/4]

ShellKit& HPS::ShellKit::SetVertexVisibilitiesByList ( SizeTArray const &  in_vertices,
bool  in_visibility 
)

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 ShellKit.

◆ SetVertexVisibilitiesByRange() [1/3]

ShellKit& HPS::ShellKit::SetVertexVisibilitiesByRange ( size_t  in_start,
size_t  in_count,
bool const  in_visibilities[] 
)

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

Parameters
in_startThe offset into the vertices for this ShellKit at which to start setting visibilities.
in_countSize of the following array.
in_visibilitiesThe visibilities to set on the vertices for this ShellKit.
Returns
A reference to this ShellKit.

◆ SetVertexVisibilitiesByRange() [2/3]

ShellKit& HPS::ShellKit::SetVertexVisibilitiesByRange ( size_t  in_start,
BoolArray const &  in_visibilities 
)

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

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

◆ SetVertexVisibilitiesByRange() [3/3]

ShellKit& HPS::ShellKit::SetVertexVisibilitiesByRange ( size_t  in_start,
size_t  in_count,
bool  in_visibility 
)

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

Parameters
in_startThe offset into the vertices for this ShellKit 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 ShellKit.
Returns
A reference to this ShellKit.

◆ Show()

void HPS::ShellKit::Show ( ShellKit out_kit) const

Copies this ShellKit into the given ShellKit.

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

◆ ShowEdgeColors()

bool HPS::ShellKit::ShowEdgeColors ( SizeTArray out_vertices1,
SizeTArray out_vertices2,
HPS::MaterialTypeArray out_types,
HPS::RGBColorArray out_rgb_colors,
HPS::FloatArray out_indices 
)

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 ShellKit.

◆ ShowEdgeColorsByList()

bool HPS::ShellKit::ShowEdgeColorsByList ( SizeTArray const &  in_vertices1,
SizeTArray const &  in_vertices2,
HPS::MaterialTypeArray out_types,
HPS::RGBColorArray out_rgb_colors,
HPS::FloatArray out_indices 
)

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 ShellKit.

◆ ShowEdgeVisibilitiesByList()

bool HPS::ShellKit::ShowEdgeVisibilitiesByList ( SizeTArray const &  in_vertices1,
SizeTArray const &  in_vertices2,
BoolArray out_validities,
BoolArray out_visibilities 
) const

Shows all the edge visibilities on this ShellKit.

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::ShellKit::ShowFaceColors ( MaterialTypeArray out_types,
RGBColorArray out_rgb_colors,
FloatArray out_indices 
) const

Shows all the face colors on this ShellKit.

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::ShellKit::ShowFaceColorsByList ( SizeTArray const &  in_faces,
MaterialTypeArray out_types,
RGBColorArray out_rgb_colors,
FloatArray out_indices 
) const

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::ShellKit::ShowFaceColorsByRange ( size_t  in_start,
size_t  in_count,
MaterialTypeArray out_types,
RGBColorArray out_rgb_colors,
FloatArray out_indices 
) const

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

Parameters
in_startThe offset into the faces for this ShellKit 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.

◆ ShowFacelist()

bool HPS::ShellKit::ShowFacelist ( IntArray out_facelist) const

Show the face list for this ShellKit.

Parameters
out_facelistThe face list for this ShellKit.
Returns
true if face list was set, false otherwise.

◆ ShowFaceNormals()

bool HPS::ShellKit::ShowFaceNormals ( BoolArray out_validities,
VectorArray out_normals 
) const

Shows the all face normals on this ShellKit.

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::ShellKit::ShowFaceNormalsByList ( SizeTArray const &  in_faces,
BoolArray out_validities,
VectorArray out_normals 
) const

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::ShellKit::ShowFaceNormalsByRange ( size_t  in_start,
size_t  in_count,
BoolArray out_validities,
VectorArray out_normals 
) const

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

Parameters
in_startThe offset into the faces for this ShellKit 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::ShellKit::ShowFaceVisibilities ( BoolArray out_validities,
BoolArray out_visibilities 
) const

Shows all the face visibilities on this ShellKit.

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::ShellKit::ShowFaceVisibilitiesByList ( SizeTArray const &  in_faces,
BoolArray out_validities,
BoolArray out_visibilities 
) const

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::ShellKit::ShowFaceVisibilitiesByRange ( size_t  in_start,
size_t  in_count,
BoolArray out_validities,
BoolArray out_visibilities 
) const

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

Parameters
in_startThe offset into the faces for this ShellKit 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::ShellKit::ShowMaterialMapping ( MaterialMappingKit out_kit) const

Shows the material mappings set on this ShellKit.

These are the "global" material settings, not the per-vertex and per-face material settings.

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

◆ ShowPoints()

bool HPS::ShellKit::ShowPoints ( PointArray out_points) const

Show the points for this ShellKit.

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

◆ ShowPointsByList() [1/2]

bool HPS::ShellKit::ShowPointsByList ( SizeTArray const &  in_indices,
PointArray out_points 
) const

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

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

◆ ShowPointsByList() [2/2]

bool HPS::ShellKit::ShowPointsByList ( size_t  in_count,
size_t const  in_indices[],
PointArray out_points 
) const

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

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

◆ ShowPointsByRange()

bool HPS::ShellKit::ShowPointsByRange ( size_t  in_start_index,
size_t  in_count,
PointArray out_points 
) const

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

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

◆ ShowPriority()

bool HPS::ShellKit::ShowPriority ( int &  out_priority) const

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.

◆ ShowTristrips()

bool HPS::ShellKit::ShowTristrips ( IntArray out_tristrips) const

Show the tristrips list for this ShellKit.

Parameters
out_tristripsThe face list for this ShellKit.
Returns
true if tristrips list was set, false otherwise.

◆ ShowUserData() [1/2]

bool HPS::ShellKit::ShowUserData ( intptr_t  in_index,
ByteArray out_data 
) const

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::ShellKit::ShowUserData ( IntPtrTArray out_indices,
ByteArrayArray out_data 
) const

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()

size_t HPS::ShellKit::ShowUserDataCount ( ) const

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

◆ ShowUserDataIndices()

bool HPS::ShellKit::ShowUserDataIndices ( IntPtrTArray out_indices) const

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::ShellKit::ShowVertexColors ( Shell::Component  in_apply_to,
MaterialTypeArray out_types,
RGBColorArray out_rgb_colors,
RGBAColorArray out_rgba_colors,
FloatArray out_indices 
) const

Shows all the vertex colors on the specified shell component.

Parameters
in_apply_toThe shell 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 shell 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::ShellKit::ShowVertexColorsByList ( SizeTArray const &  in_vertices,
Shell::Component  in_apply_to,
MaterialTypeArray out_types,
RGBColorArray out_rgb_colors,
RGBAColorArray out_rgba_colors,
FloatArray out_indices 
) const

Shows the vertex colors on a selection of arbitrary vertices which apply to the specified shell 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 shell 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::ShellKit::ShowVertexColorsByRange ( size_t  in_start,
size_t  in_count,
Shell::Component  in_apply_to,
MaterialTypeArray out_types,
RGBColorArray out_rgb_colors,
RGBAColorArray out_rgba_colors,
FloatArray out_indices 
) const

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

Parameters
in_startThe offset into the vertices for this ShellKit at which to start showing colors.
in_countThe number of colors to show.
in_apply_toThe shell 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 shell 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::ShellKit::ShowVertexNormals ( BoolArray out_validities,
VectorArray out_normals 
) const

Shows all the vertex normals on this ShellKit.

Parameters
out_validitiesThe validities of the normals for each vertexe. 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::ShellKit::ShowVertexNormalsByList ( SizeTArray const &  in_vertices,
BoolArray out_validities,
VectorArray out_normals 
) const

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::ShellKit::ShowVertexNormalsByRange ( size_t  in_start,
size_t  in_count,
BoolArray out_validities,
VectorArray out_normals 
) const

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

Parameters
in_startThe offset into the vertices for this ShellKit 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::ShellKit::ShowVertexParameters ( BoolArray out_validities,
FloatArray out_params 
) const

Shows the texture parameters on all of the vertices in this ShellKit.

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::ShellKit::ShowVertexParameters ( BoolArray out_validities,
FloatArray out_params,
size_t &  out_param_width 
) const

Shows the texture parameters on all of the vertices in this ShellKit.

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::ShellKit::ShowVertexParametersByList ( SizeTArray const &  in_vertices,
BoolArray out_validities,
FloatArray out_params 
) const

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::ShellKit::ShowVertexParametersByList ( SizeTArray const &  in_vertices,
BoolArray out_validities,
FloatArray out_params,
size_t &  out_param_width 
) const

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::ShellKit::ShowVertexParametersByRange ( size_t  in_start,
size_t  in_count,
BoolArray out_validities,
FloatArray out_params 
) const

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 ShellKit 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::ShellKit::ShowVertexParametersByRange ( size_t  in_start,
size_t  in_count,
BoolArray out_validities,
FloatArray out_params,
size_t &  out_param_width 
) const

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

Parameters
in_startThe offset into the vertices for this ShellKit 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::ShellKit::ShowVertexVisibilities ( BoolArray out_validities,
BoolArray out_visibilities 
) const

Shows all the vertex visibilities on this ShellKit.

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::ShellKit::ShowVertexVisibilitiesByList ( SizeTArray const &  in_vertices,
BoolArray out_validities,
BoolArray out_visibilities 
) const

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::ShellKit::ShowVertexVisibilitiesByRange ( size_t  in_start,
size_t  in_count,
BoolArray out_validities,
BoolArray out_visibilities 
) const

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

Parameters
in_startThe offset into the vertices for this ShellKit 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.

◆ Type()

virtual HPS::Type HPS::Kit::Type ( ) const
inlinevirtualinherited

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.

Returns
The true type of the object in question.

Reimplemented from HPS::Object.

◆ UnsetAllUserData()

ShellKit& HPS::ShellKit::UnsetAllUserData ( )

Removes all user data from this kit.

Returns
A reference to this kit.

◆ UnsetEdgeColors()

ShellKit& HPS::ShellKit::UnsetEdgeColors ( )

Unsets edge colors on all 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 ShellKit.

◆ UnsetEdgeColorsByList() [1/2]

ShellKit& HPS::ShellKit::UnsetEdgeColorsByList ( SizeTArray const &  in_vertices1,
SizeTArray const &  in_vertices2 
)

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 ShellKit.

◆ UnsetEdgeColorsByList() [2/2]

ShellKit& HPS::ShellKit::UnsetEdgeColorsByList ( size_t  in_count,
size_t const  in_vertices1[],
size_t const  in_vertices2[] 
)

Unsets edge colors on a selection of arbitrary edges.

Parameters
in_countSize of the following arrays.
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 ShellKit.

◆ UnsetEdgeEverything()

ShellKit& HPS::ShellKit::UnsetEdgeEverything ( )

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

Returns
A reference to this ShellKit.

◆ UnsetEdgeVisibilities()

ShellKit& HPS::ShellKit::UnsetEdgeVisibilities ( )

Removes all vertex visibilities.

Returns
A reference to this ShellKit.

◆ UnsetEdgeVisibilitiesByList() [1/2]

ShellKit& HPS::ShellKit::UnsetEdgeVisibilitiesByList ( SizeTArray const &  in_vertices1,
SizeTArray const &  in_vertices2 
)

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 ShellKit.

◆ UnsetEdgeVisibilitiesByList() [2/2]

ShellKit& HPS::ShellKit::UnsetEdgeVisibilitiesByList ( size_t  in_count,
size_t const  in_vertices1[],
size_t const  in_vertices2[] 
)

Unsets edge visibilities on a selection of arbitrary edges.

Parameters
in_countSize of the following arrays.
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 ShellKit.

◆ UnsetEverything()

ShellKit& HPS::ShellKit::UnsetEverything ( )

Removes all settings from this ShellKit.

Returns
A reference to this ShellKit.

◆ UnsetFaceColors()

ShellKit& HPS::ShellKit::UnsetFaceColors ( )

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

Returns
A reference to this ShellKit.

◆ UnsetFaceColorsByList() [1/2]

ShellKit& HPS::ShellKit::UnsetFaceColorsByList ( SizeTArray const &  in_faces)

Removes the face colors (RGB colors or material indices) on a selection of arbitrary vertices.

Parameters
in_facesThe indices of the faces on which to remove the colors.
Returns
A reference to this ShellKit.

◆ UnsetFaceColorsByList() [2/2]

ShellKit& HPS::ShellKit::UnsetFaceColorsByList ( size_t  in_count,
size_t const  in_faces[] 
)

Removes the face visibilities on a selection of arbitrary faces.

Parameters
in_countThe number of face visibilities to remove for this ShellKit.
in_facesThe indices of the faces on which to remove the visibilities.
Returns
A reference to this ShellKit.

◆ UnsetFaceColorsByRange()

ShellKit& HPS::ShellKit::UnsetFaceColorsByRange ( size_t  in_start,
size_t  in_count 
)

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 ShellKit at which to start removing colors.
in_countThe number of face colors to remove for this ShellKit.
Returns
A reference to this ShellKit.

◆ UnsetFaceEverything()

ShellKit& HPS::ShellKit::UnsetFaceEverything ( )

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

Returns
A reference to this ShellKit.

◆ UnsetFacelist()

ShellKit& HPS::ShellKit::UnsetFacelist ( )

Removes the face list for this ShellKit.

Returns
A reference to this ShellKit.

◆ UnsetFaceNormals()

ShellKit& HPS::ShellKit::UnsetFaceNormals ( )

Removes all face normals.

Returns
A reference to this ShellKit.

◆ UnsetFaceNormalsByList()

ShellKit& HPS::ShellKit::UnsetFaceNormalsByList ( SizeTArray const &  in_vertices)

Removes the face normals on a selection of arbitrary faces.

Parameters
in_facesThe indices of the faces on which to remove the normals.
Returns
A reference to this ShellKit.

◆ UnsetFaceNormalsByRange()

ShellKit& HPS::ShellKit::UnsetFaceNormalsByRange ( size_t  in_start,
size_t  in_count 
)

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

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

◆ UnsetFaceVisibilities()

ShellKit& HPS::ShellKit::UnsetFaceVisibilities ( )

Removes all face visibilities.

Returns
A reference to this ShellKit.

◆ UnsetFaceVisibilitiesByList() [1/2]

ShellKit& HPS::ShellKit::UnsetFaceVisibilitiesByList ( SizeTArray const &  in_vertices)

Removes the face visibilities on a selection of arbitrary faces.

Parameters
in_facesThe indices of the faces on which to remove the visibilities.
Returns
A reference to this ShellKit.

◆ UnsetFaceVisibilitiesByList() [2/2]

ShellKit& HPS::ShellKit::UnsetFaceVisibilitiesByList ( size_t  in_count,
size_t const  in_faces[] 
)

Removes the face visibilities on a selection of arbitrary faces.

Parameters
in_countThe number of face visibilities to remove for this ShellKit.
in_facesThe indices of the faces on which to remove the visibilities.
Returns
A reference to this ShellKit.

◆ UnsetFaceVisibilitiesByRange()

ShellKit& HPS::ShellKit::UnsetFaceVisibilitiesByRange ( size_t  in_start,
size_t  in_count 
)

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

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

◆ UnsetMaterialMapping()

ShellKit& HPS::ShellKit::UnsetMaterialMapping ( )

Removes all material mappings on this ShellKit.

This removes the "global" material settings and does not affect per-vertex or per-face materials.

Returns
A reference to this ShellKit.

◆ UnsetPoints()

ShellKit& HPS::ShellKit::UnsetPoints ( )

Removes the points for this ShellKit.

Returns
A reference to this ShellKit.

◆ UnsetPriority()

ShellKit& HPS::ShellKit::UnsetPriority ( )

Removes a drawing priority setting.

Returns
A reference to this object.

◆ UnsetTristrips()

ShellKit& HPS::ShellKit::UnsetTristrips ( )

Removes the tristrips list for this ShellKit.

Returns
A reference to this ShellKit.

◆ UnsetUserData() [1/3]

ShellKit& HPS::ShellKit::UnsetUserData ( intptr_t  in_index)

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/3]

ShellKit& HPS::ShellKit::UnsetUserData ( size_t  in_count,
intptr_t const  in_indices[] 
)

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

Parameters
in_countThe size of the following array.
in_indicesThe indices of the user data to remove.
Returns
A reference to this kit.

◆ UnsetUserData() [3/3]

ShellKit& HPS::ShellKit::UnsetUserData ( IntPtrTArray const &  in_indices)

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]

ShellKit& HPS::ShellKit::UnsetVertexColors ( )

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

Returns
A reference to this ShellKit.

◆ UnsetVertexColors() [2/2]

ShellKit& HPS::ShellKit::UnsetVertexColors ( Shell::Component  in_apply_to)

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

Parameters
in_apply_toThe shell component for which to remove the colors.
Returns
A reference to this ShellKit.

◆ UnsetVertexColorsByList() [1/4]

ShellKit& HPS::ShellKit::UnsetVertexColorsByList ( size_t  in_count,
size_t const  in_vertices[] 
)

Removes the vertex visibilities on a selection of arbitrary vertices.

Parameters
in_countThe number of vertex visibilities to remove for this ShellKit.
in_facesThe indices of the vertices on which to remove the visibilities.
Returns
A reference to this ShellKit.

◆ UnsetVertexColorsByList() [2/4]

ShellKit& HPS::ShellKit::UnsetVertexColorsByList ( size_t  in_count,
size_t const  in_vertices[],
Shell::Component  in_apply_to 
)

Removes the vertex visibilities on a selection of arbitrary vertices.

Parameters
in_countThe number of vertex visibilities to remove for this ShellKit.
in_facesThe indices of the vertices on which to remove the visibilities.
in_apply_toThe shell component the colors should apply to. Defaults to Shell::Component::Faces.
Returns
A reference to this ShellKit.

◆ UnsetVertexColorsByList() [3/4]

ShellKit& HPS::ShellKit::UnsetVertexColorsByList ( SizeTArray const &  in_vertices)

Removes the vertex colors (RGB colors, RGBA colors, or material indices) for all shell 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 ShellKit.

◆ UnsetVertexColorsByList() [4/4]

ShellKit& HPS::ShellKit::UnsetVertexColorsByList ( SizeTArray const &  in_vertices,
Shell::Component  in_apply_to 
)

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

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

◆ UnsetVertexColorsByRange() [1/2]

ShellKit& HPS::ShellKit::UnsetVertexColorsByRange ( size_t  in_start,
size_t  in_count 
)

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

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

◆ UnsetVertexColorsByRange() [2/2]

ShellKit& HPS::ShellKit::UnsetVertexColorsByRange ( size_t  in_start,
size_t  in_count,
Shell::Component  in_apply_to 
)

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

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

◆ UnsetVertexEverything()

ShellKit& HPS::ShellKit::UnsetVertexEverything ( )

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

Returns
A reference to this ShellKit.

◆ UnsetVertexNormals()

ShellKit& HPS::ShellKit::UnsetVertexNormals ( )

Removes all vertex normals.

Returns
A reference to this ShellKit.

◆ UnsetVertexNormalsByList()

ShellKit& HPS::ShellKit::UnsetVertexNormalsByList ( SizeTArray const &  in_vertices)

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 ShellKit.

◆ UnsetVertexNormalsByRange()

ShellKit& HPS::ShellKit::UnsetVertexNormalsByRange ( size_t  in_start,
size_t  in_count 
)

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

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

◆ UnsetVertexParameters()

ShellKit& HPS::ShellKit::UnsetVertexParameters ( )

Removes all texture parameters.

Returns
A reference to this ShellKit.

◆ UnsetVertexParametersByList()

ShellKit& HPS::ShellKit::UnsetVertexParametersByList ( SizeTArray const &  in_vertices)

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 ShellKit.

◆ UnsetVertexParametersByRange()

ShellKit& HPS::ShellKit::UnsetVertexParametersByRange ( size_t  in_start,
size_t  in_count 
)

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

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

◆ UnsetVertexVisibilities()

ShellKit& HPS::ShellKit::UnsetVertexVisibilities ( )

Removes all vertex visibilities.

Returns
A reference to this ShellKit.

◆ UnsetVertexVisibilitiesByList() [1/2]

ShellKit& HPS::ShellKit::UnsetVertexVisibilitiesByList ( size_t  in_count,
size_t const  in_vertices[] 
)

Removes the vertex visibilities on a selection of arbitrary vertices.

Parameters
in_countThe number of vertex visibilities to remove for this ShellKit.
in_facesThe indices of the vertices on which to remove the visibilities.
Returns
A reference to this ShellKit.

◆ UnsetVertexVisibilitiesByList() [2/2]

ShellKit& HPS::ShellKit::UnsetVertexVisibilitiesByList ( SizeTArray const &  in_vertices)

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 ShellKit.

◆ UnsetVertexVisibilitiesByRange()

ShellKit& HPS::ShellKit::UnsetVertexVisibilitiesByRange ( size_t  in_start,
size_t  in_count 
)

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

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

Member Data Documentation

◆ staticType

const HPS::Type HPS::ShellKit::staticType = HPS::Type::ShellKit
static

The documentation for this class was generated from the following file: