The MeshKey class is a smart pointer to a database object. More...
#include <hps.h>
Public Member Functions | |
MeshKey () | |
The default constructor creates an uninitialized MeshKey object. More... | |
MeshKey (Key const &in_that) | |
This constructor creates an MeshKey object that shares the underlying smart-pointer of the source Key. More... | |
MeshKey (MeshKey const &in_that) | |
The copy constructor creates a MeshKey object that shares the underlying smart-pointer of the source MeshKey. More... | |
MeshKey & | operator= (MeshKey const &in_that) |
Associate this MeshKey with the same underlying impl as the source MeshKey. More... | |
MeshKey (MeshKey &&in_that) | |
The move constructor creates a MeshKey by transferring the underlying impl of the rvalue reference to this MeshKey thereby avoiding a copy and allocation. More... | |
MeshKey & | operator= (MeshKey &&in_that) |
The move assignment operator transfers the underlying impl of the rvalue reference to this MeshKey thereby avoiding a copy. More... | |
~MeshKey () | |
HPS::Type | ObjectType () const |
void | Consume (MeshKit &in_kit) |
Completely replaces all settings on this MeshKey with those set on the specified kit and resets the kit. More... | |
void | Set (MeshKit const &in_kit) |
Replace those settings on this MeshKey with those set on the specified kit. More... | |
void | Show (MeshKit &out_kit) const |
Copy the contents of this MeshKey into the specified kit. More... | |
size_t | GetPointCount () const |
Retrieves the number of points in this mesh. More... | |
MeshKey & | SetPoints (size_t in_rows, size_t in_columns, PointArray const &in_points) |
Replace the points on this MeshKey with the specified points. More... | |
MeshKey & | SetPoints (size_t in_rows, size_t in_columns, size_t in_count, Point const in_points []) |
Replace the points on this MeshKey with the specified points. More... | |
bool | ShowPoints (PointArray &out_points) const |
Show the points for this MeshKey. More... | |
bool | ShowPointsByRange (size_t in_start_index, size_t in_count, PointArray &out_points) const |
Show a subset of the points for this MeshKey by range. More... | |
bool | ShowPointsByList (SizeTArray const &in_indices, PointArray &out_points) const |
Show a subset of the points for this MeshKey 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 MeshKey by list. More... | |
bool | ShowPoints (size_t &out_rows, size_t &out_columns, PointArray &out_points) const |
Show the number of rows, number of columns, and points for this MeshKey. More... | |
bool | ShowRows (size_t &out_rows) const |
Show the number of rows for this MeshKey. More... | |
bool | ShowColumns (size_t &out_columns) const |
Show the number of columns for this MeshKey. More... | |
MeshKey & | SetMaterialMapping (MaterialMappingKit const &in_kit) |
Sets the specified material mappings on this MeshKey. More... | |
MeshKey & | UnsetMaterialMapping () |
Removes all material mappings on this MeshKey. More... | |
bool | ShowMaterialMapping (MaterialMappingKit &out_kit) const |
Shows the material mappings set on this MeshKey. More... | |
MeshKey & | 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. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetEdgeVisibilitiesByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2, bool in_visibility) |
Sets edge visibilities on a selection of arbitrary edges. More... | |
MeshKey & | SetEdgeVisibilitiesByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2, BoolArray const &in_visibilities) |
Sets edge visibilities on a selection of arbitrary edges. More... | |
MeshKey & | SetEdgeIndexColorsByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2, FloatArray const &in_indices) |
Sets edge material indices on a selection of arbitrary edges. More... | |
MeshKey & | SetEdgeIndexColorsByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2, float in_index) |
Sets edge material indices on a selection of arbitrary edges. More... | |
MeshKey & | 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. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetEdgeRGBColorsByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2, RGBColorArray const &in_rgb_colors) |
Sets edge colors on a selection of arbitrary edges. More... | |
MeshKey & | SetEdgeRGBColorsByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2, RGBColor const &in_rgb_color) |
Sets edge colors on a selection of arbitrary edges. More... | |
MeshKey & | 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. More... | |
MeshKey & | 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. 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... | |
MeshKey & | UnsetEdgeColors () |
Unsets edge colors on all edges. More... | |
MeshKey & | UnsetEdgeColorsByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2) |
Unsets edge colors on a selection of arbitrary edges. More... | |
MeshKey & | UnsetEdgeColorsByList (size_t in_count, size_t const in_vertices1[], size_t const in_vertices2[]) |
Unsets edge colors on a selection of arbitrary edges. More... | |
MeshKey & | UnsetEdgeVisibilities () |
Removes all vertex visibilities. More... | |
MeshKey & | UnsetEdgeEverything () |
Removes all edge settings (edge colors and edge visibilities) from this MeshKey. More... | |
MeshKey & | UnsetEdgeVisibilitiesByList (SizeTArray const &in_vertices1, SizeTArray const &in_vertices2) |
Unsets edge visibilities on a selection of arbitrary edges. More... | |
MeshKey & | UnsetEdgeVisibilitiesByList (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 ShellKey. More... | |
MeshKey & | SetVertexRGBColorsByRange (size_t in_start, size_t in_count, RGBColor const in_rgb_colors[], Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
MeshKey & | SetVertexRGBColorsByRange (size_t in_start, RGBColorArray const &in_rgb_colors, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
MeshKey & | SetVertexRGBColorsByRange (size_t in_start, size_t in_count, RGBColor const &in_rgb_color, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets a single RGB color on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
MeshKey & | SetVertexRGBColorsByList (size_t in_count, size_t const in_vertices[], RGBColor const in_rgb_colors[], Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
MeshKey & | SetVertexRGBColorsByList (SizeTArray const &in_vertices, RGBColorArray const &in_rgb_colors, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
MeshKey & | SetVertexRGBColorsByList (size_t in_count, size_t const in_vertices[], RGBColor const &in_rgb_color, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets a single RGB color on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
MeshKey & | SetVertexRGBColorsByList (SizeTArray const &in_vertices, RGBColor const &in_rgb_color, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets a single RGB color on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
MeshKey & | SetVertexRGBAColorsByRange (size_t in_start, size_t in_count, RGBAColor const in_rgba_colors[], Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets vertex RGBA colors on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
MeshKey & | SetVertexRGBAColorsByRange (size_t in_start, RGBAColorArray const &in_rgba_colors, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets vertex RGBA colors on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
MeshKey & | SetVertexRGBAColorsByRange (size_t in_start, size_t in_count, RGBAColor const &in_rgba_color, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets a single RGBA color on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
MeshKey & | SetVertexRGBAColorsByList (size_t in_count, size_t const in_vertices[], RGBAColor const in_rgba_colors[], Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets vertex RGBA colors on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
MeshKey & | SetVertexRGBAColorsByList (SizeTArray const &in_vertices, RGBAColorArray const &in_rgba_colors, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets vertex RGBA colors on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
MeshKey & | SetVertexRGBAColorsByList (size_t in_count, size_t const in_vertices[], RGBAColor const &in_rgba_color, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets a single RGBA color on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
MeshKey & | SetVertexRGBAColorsByList (SizeTArray const &in_vertices, RGBAColor const &in_rgba_color, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets a single RGBA color on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
MeshKey & | SetVertexIndexColorsByRange (size_t in_start, size_t in_count, float const in_indices[], Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
MeshKey & | SetVertexIndexColorsByRange (size_t in_start, FloatArray const &in_indices, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
MeshKey & | SetVertexIndexColorsByRange (size_t in_start, size_t in_count, float in_index, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets a single material index on a range of vertices starting at the specified offset which apply to the specified mesh component. More... | |
MeshKey & | SetVertexIndexColorsByList (size_t in_count, size_t const in_vertices[], float const in_indices[], Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets vertex material indices on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
MeshKey & | SetVertexIndexColorsByList (SizeTArray const &in_vertices, FloatArray const &in_indices, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets vertex material indices on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
MeshKey & | SetVertexIndexColorsByList (size_t in_count, size_t const in_vertices[], float in_index, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets a single material index on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
MeshKey & | SetVertexIndexColorsByList (SizeTArray const &in_vertices, float in_index, Mesh::Component in_apply_to=Mesh::Component::Faces) |
Sets a single material index on a selection of arbitrary vertices which apply to the specified mesh component. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetVertexNormalsByRange (size_t in_start, VectorArray const &in_normals) |
Sets vertex normals on a range of vertices starting at the specified offset. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetVertexNormalsByList (size_t in_count, size_t const in_vertices[], Vector const in_normals[]) |
Sets vertex normals on a selection of arbitrary vertices. More... | |
MeshKey & | SetVertexNormalsByList (SizeTArray const &in_vertices, VectorArray const &in_normals) |
Sets vertex normals on a selection of arbitrary vertices. More... | |
MeshKey & | SetVertexNormalsByList (size_t in_count, size_t const in_vertices[], Vector const &in_normal) |
Sets a single normal on a selection of arbitrary vertices. More... | |
MeshKey & | SetVertexNormalsByList (SizeTArray const &in_vertices, Vector const &in_normal) |
Sets a single normal on a selection of arbitrary vertices. More... | |
MeshKey & | 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. More... | |
MeshKey & | 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. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetVertexParametersByList (SizeTArray const &in_vertices, FloatArray const &in_params, size_t in_param_width=2) |
Sets texture parameters on a selection of arbitrary vertices. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetVertexVisibilitiesByRange (size_t in_start, BoolArray const &in_visibilities) |
Sets vertex visibilities on a range of vertices starting at the specified offset. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetVertexVisibilitiesByList (size_t in_count, size_t const in_vertices[], bool const in_visibilities[]) |
Sets vertex visibilities on a selection of arbitrary vertices. More... | |
MeshKey & | SetVertexVisibilitiesByList (SizeTArray const &in_vertices, BoolArray const &in_visibilities) |
Sets vertex visibilities on a selection of arbitrary vertices. More... | |
MeshKey & | SetVertexVisibilitiesByList (size_t in_count, size_t const in_vertices[], bool in_visibility) |
Sets a single visibility on a selection of arbitrary vertices. More... | |
MeshKey & | SetVertexVisibilitiesByList (SizeTArray const &in_vertices, bool in_visibility) |
Sets a single visibility on a selection of arbitrary vertices. More... | |
MeshKey & | UnsetVertexColors () |
Removes all vertex colors (RGB colors, RGBA colors, or material indices) for all mesh components. More... | |
MeshKey & | UnsetVertexVisibilitiesByList (size_t in_count, size_t const in_vertices[]) |
Removes the vertex visibilities on a selection of arbitrary vertices. More... | |
MeshKey & | UnsetVertexColorsByList (size_t in_count, size_t const in_vertices[]) |
Removes the vertex visibilities on a selection of arbitrary vertices. More... | |
MeshKey & | UnsetVertexColorsByList (size_t in_count, size_t const in_vertices[], Mesh::Component in_apply_to) |
Removes the vertex visibilities on a selection of arbitrary vertices. More... | |
MeshKey & | 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 mesh components starting at the specified offset. More... | |
MeshKey & | UnsetVertexColorsByList (SizeTArray const &in_vertices) |
Removes the vertex colors (RGB colors, RGBA colors, or material indices) for all mesh components on a selection of arbitrary vertices. More... | |
MeshKey & | UnsetVertexColors (Mesh::Component in_apply_to) |
Removes all vertex colors (RGB colors, RGBA colors, or material indices) for the specified mesh component. More... | |
MeshKey & | UnsetVertexColorsByRange (size_t in_start, size_t in_count, Mesh::Component in_apply_to) |
Removes the specified range of vertex colors (RGB colors, RGBA colors, or material indices) for the specified mesh component starting at the specified offset. More... | |
MeshKey & | UnsetVertexColorsByList (SizeTArray const &in_vertices, Mesh::Component in_apply_to) |
Removes the vertex colors (RGB colors, RGBA colors, or material indices) for the specificed mesh component on a selection of arbitrary vertices. More... | |
MeshKey & | UnsetVertexNormals () |
Removes all vertex normals. More... | |
MeshKey & | UnsetVertexNormalsByRange (size_t in_start, size_t in_count) |
Removes the specified range of vertex normals starting at the specified offset. More... | |
MeshKey & | UnsetVertexNormalsByList (SizeTArray const &in_vertices) |
Removes the vertex normals on a selection of arbitrary vertices. More... | |
MeshKey & | UnsetVertexParameters () |
Removes all texture parameters. More... | |
MeshKey & | UnsetVertexParametersByRange (size_t in_start, size_t in_count) |
Removes the specified range of texture parameters starting at the specified offset. More... | |
MeshKey & | UnsetVertexParametersByList (SizeTArray const &in_vertices) |
Removes the texture parameters on a selection of arbitrary vertices. More... | |
MeshKey & | UnsetVertexVisibilities () |
Removes all vertex visibilities. More... | |
MeshKey & | UnsetVertexVisibilitiesByRange (size_t in_start, size_t in_count) |
Removes the specified range of vertex visibilities starting at the specified offset. More... | |
MeshKey & | UnsetVertexVisibilitiesByList (SizeTArray const &in_vertices) |
Removes the vertex visibilities on a selection of arbitrary vertices. More... | |
MeshKey & | UnsetVertexEverything () |
Removes all vertex settings (vertex colors, vertex normals, texture parameters, and vertex visibilities) from this MeshKey. More... | |
MeshKey & | UnsetEverything () |
Removes all settings from this MeshKey. More... | |
bool | ShowVertexColors (Mesh::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 mesh component. More... | |
bool | ShowVertexColorsByRange (size_t in_start, size_t in_count, Mesh::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 mesh component. More... | |
bool | ShowVertexColorsByList (SizeTArray const &in_vertices, Mesh::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 mesh component. More... | |
bool | ShowVertexNormals (BoolArray &out_validities, VectorArray &out_normals) const |
Shows all the vertex normals on this MeshKey. 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 | ShowNetVertexNormals (VectorArray &out_normals) const |
Shows the all net vertex normals on this MeshKey. More... | |
bool | ShowNetVertexNormalsByRange (size_t in_start, size_t in_count, VectorArray &out_normals) const |
Shows the net vertex normals on a range of vertices starting at the specified offset. More... | |
bool | ShowVertexParameters (BoolArray &out_validities, FloatArray &out_params) const |
Shows the texture parameters for all the vertices in this MeshKey. More... | |
bool | ShowVertexParameters (BoolArray &out_validities, FloatArray &out_params, size_t &out_param_width) const |
Shows the texture parameters for all the vertices in this MeshKey. 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 MeshKey. 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... | |
MeshKey & | 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. More... | |
MeshKey & | SetFaceRGBColorsByRange (size_t in_start, RGBColorArray const &in_rgb_colors) |
Sets face RGB colors on a range of faces starting at the specified offset. More... | |
MeshKey & | 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. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetFaceRGBColorsByList (SizeTArray const &in_faces, RGBColorArray const &in_rgb_colors) |
Sets face RGB colors on a selection of arbitrary faces. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetFaceRGBColorsByList (SizeTArray const &in_faces, RGBColor const &in_rgb_color) |
Sets a single RGB color on a selection of arbitrary faces. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetFaceIndexColorsByRange (size_t in_start, FloatArray const &in_indices) |
Sets face material indices on a range of faces starting at the specified offset. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetFaceIndexColorsByList (size_t in_count, size_t const in_faces[], float const in_indices[]) |
Sets face material indices on a selection of arbitrary faces. More... | |
MeshKey & | SetFaceIndexColorsByList (SizeTArray const &in_faces, FloatArray const &in_indices) |
Sets face material indices on a selection of arbitrary faces. More... | |
MeshKey & | SetFaceIndexColorsByList (size_t in_count, size_t const in_faces[], float in_index) |
Sets a single material index on a selection of arbitrary faces. More... | |
MeshKey & | SetFaceIndexColorsByList (SizeTArray const &in_faces, float in_index) |
Sets a single material index on a selection of arbitrary faces. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetFaceNormalsByRange (size_t in_start, VectorArray const &in_normals) |
Sets face normals on a range of faces starting at the specified offset. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetFaceNormalsByList (size_t in_count, size_t const in_faces[], Vector const in_normals[]) |
Sets face normals on a selection of arbitrary faces. More... | |
MeshKey & | SetFaceNormalsByList (SizeTArray const &in_faces, VectorArray const &in_normals) |
Sets face normals on a selection of arbitrary faces. More... | |
MeshKey & | SetFaceNormalsByList (size_t in_count, size_t const in_faces[], Vector const &in_normal) |
Sets a single normal on a selection of arbitrary faces. More... | |
MeshKey & | SetFaceNormalsByList (SizeTArray const &in_faces, Vector const &in_normal) |
Sets a single normal on a selection of arbitrary faces. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetFaceVisibilitiesByRange (size_t in_start, BoolArray const &in_visibilities) |
Sets face visibilities on a range of faces starting at the specified offset. More... | |
MeshKey & | 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. More... | |
MeshKey & | SetFaceVisibilitiesByList (size_t in_count, size_t const in_faces[], bool const in_visibilities[]) |
Sets face visibilities on a selection of arbitrary faces. More... | |
MeshKey & | SetFaceVisibilitiesByList (SizeTArray const &in_faces, BoolArray const &in_visibilities) |
Sets face visibilities on a selection of arbitrary faces. More... | |
MeshKey & | SetFaceVisibilitiesByList (size_t in_count, size_t const in_faces[], bool in_visibility) |
Sets a single visibility on a selection of arbitrary faces. More... | |
MeshKey & | SetFaceVisibilitiesByList (SizeTArray const &in_faces, bool in_visibility) |
Sets a single visibility on a selection of arbitrary faces. More... | |
MeshKey & | UnsetFaceColors () |
Removes all face colors (RGB colors or material indices). More... | |
MeshKey & | 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. More... | |
MeshKey & | UnsetFaceColorsByList (SizeTArray const &in_faces) |
Removes the face colors (RGB colors or material indices) on a selection of arbitrary vertices. More... | |
MeshKey & | UnsetFaceVisibilitiesByList (size_t in_count, size_t const in_faces[]) |
Removes the face visibilities on a selection of arbitrary faces. More... | |
MeshKey & | UnsetFaceColorsByList (size_t in_count, size_t const in_faces[]) |
Removes the face visibilities on a selection of arbitrary faces. More... | |
MeshKey & | UnsetFaceNormals () |
Removes all face normals. More... | |
MeshKey & | UnsetFaceNormalsByRange (size_t in_start, size_t in_count) |
Removes the specified range of face normals starting at the specified offset. More... | |
MeshKey & | UnsetFaceNormalsByList (SizeTArray const &in_faces) |
Removes the face normals on a selection of arbitrary faces. More... | |
MeshKey & | UnsetFaceVisibilities () |
Removes all face visibilities. More... | |
MeshKey & | UnsetFaceVisibilitiesByRange (size_t in_start, size_t in_count) |
Removes the specified range of face visibilities starting at the specified offset. More... | |
MeshKey & | UnsetFaceVisibilitiesByList (SizeTArray const &in_faces) |
Removes the face visibilities on a selection of arbitrary faces. More... | |
MeshKey & | UnsetFaceEverything () |
Removes all face settings (face colors, face normals, and face visibilities) from this MeshKey. More... | |
bool | ShowFaceColors (MaterialTypeArray &out_types, RGBColorArray &out_rgb_colors, FloatArray &out_indices) const |
Shows the face colors on MeshKey. 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 all the face normals for this MeshKey. 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 MeshKey. 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... | |
MeshKey & | EditMeshByReplacement (size_t in_row_offset, size_t in_column_offset, size_t in_row_count, size_t in_column_count, size_t in_point_count, Point const in_points[]) |
Replaces a range of points for this MeshKey. More... | |
MeshKey & | EditMeshByReplacement (size_t in_row_offset, size_t in_column_offset, size_t in_row_count, size_t in_column_count, PointArray const &in_points) |
Replaces a range of points for this MeshKey. More... | |
size_t | ShowReferrers (SegmentKeyArray &out_segments) const |
Shows the all the segments which contain references to this key. More... | |
size_t | ShowReferrers (ReferenceKeyArray &out_references) const |
Shows the all the references to this key. More... | |
GeometryKey & | SetPriority (int in_priority) |
Assigns a drawing priority value to the geometry. More... | |
GeometryKey & | UnsetPriority () |
Removes the drawing priority setting. More... | |
bool | ShowPriority (int &out_priority) const |
Shows the drawing priority. More... | |
GeometryKey & | SetUserData (intptr_t in_index, size_t in_bytes, byte const in_data[]) |
Sets user data on this key. More... | |
GeometryKey & | SetUserData (intptr_t in_index, ByteArray const &in_data) |
Sets user data on this key. More... | |
GeometryKey & | SetUserData (IntPtrTArray const &in_indices, ByteArrayArray const &in_data) |
Sets user data on this key. More... | |
GeometryKey & | UnsetUserData (intptr_t in_index) |
Removes the user data at the given index from this key. More... | |
GeometryKey & | UnsetUserData (size_t in_count, intptr_t const in_indices[]) |
Removes the user data at the given indices from this key. More... | |
GeometryKey & | UnsetUserData (IntPtrTArray const &in_indices) |
Removes the user data at the given indices from this key. More... | |
GeometryKey & | UnsetAllUserData () |
Removes all user data from this key. More... | |
size_t | ShowUserDataCount () const |
Get the number of user data indices set on this key. More... | |
bool | ShowUserDataIndices (IntPtrTArray &out_indices) const |
Shows the indices of all user data set on this key. More... | |
bool | ShowUserData (intptr_t in_index, ByteArray &out_data) const |
Shows the user data at a given index for this key. More... | |
bool | ShowUserData (IntPtrTArray &out_indices, ByteArrayArray &out_data) const |
Shows all user data for this key. More... | |
bool | ShowBounding (BoundingKit &out_kit) const |
Shows the bounding of this geometry. More... | |
bool | HasOwner () const |
SegmentKey | Up () const |
SegmentKey | Owner () const |
void | Delete () |
Removes the database object referred to by this key. More... | |
void | MoveTo (SegmentKey const &in_new_owner) |
Moves the database object referred to by this key into a new containing segment pointed to by in_new_owner. More... | |
Key | CopyTo (SegmentKey const &in_destination) const |
Copies the database object referred to by this key into a segment pointed to by in_destination. More... | |
virtual void | Assign (Key const &in_that) |
Share the underlying smart-pointer of the Key source. More... | |
bool | Equals (Key const &in_that) const |
Determines whether the database objects pointed to by this key and in_that are the same. More... | |
bool | operator!= (Key const &in_that) const |
Determines whether the database objects pointed to by this key and in_that are the same. More... | |
bool | operator== (Key const &in_that) const |
Determines whether the database objects pointed to by this key and in_that are the same. More... | |
size_t | GetHash () const |
Returns a hash code for the key. More... | |
virtual HPS::Type | Type () const |
This function returns the true type of the underlying object. More... | |
virtual bool | Empty () const |
Indicates whether this object has any values set on it. 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::MeshKey |
The MeshKey class is a smart pointer to a database object.
It is a handle to a mesh created by SegmentKey::InsertMesh.
HPS::MeshKey::MeshKey | ( | ) |
The default constructor creates an uninitialized MeshKey object.
The Type() function will return Type::None.
|
explicit |
This constructor creates an MeshKey object that shares the underlying smart-pointer of the source Key.
The copy will only be successful if the source key is really an upcast of a mesh key. Otherwise the copy will fail and the resulting MeshKey will be invalid.
in_that | The source Key to copy. |
HPS::MeshKey::MeshKey | ( | MeshKey const & | in_that | ) |
HPS::MeshKey::MeshKey | ( | MeshKey && | in_that | ) |
HPS::MeshKey::~MeshKey | ( | ) |
|
virtualinherited |
|
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.
void HPS::MeshKey::Consume | ( | MeshKit & | in_kit | ) |
|
inherited |
Copies the database object referred to by this key into a segment pointed to by in_destination.
|
inherited |
Removes the database object referred to by this key.
MeshKey& HPS::MeshKey::EditMeshByReplacement | ( | size_t | in_row_offset, |
size_t | in_column_offset, | ||
size_t | in_row_count, | ||
size_t | in_column_count, | ||
size_t | in_point_count, | ||
Point const | in_points[] | ||
) |
Replaces a range of points for this MeshKey.
in_row_offset | The row offset into the MeshKey at which to start replacing points. This value must be such that in_row_offset<row_count for replacement to succeed. |
in_column_offset | The column offset into the MeshKey at which to start replacing points. This value must be such that in_column_offset<column_count for replacement to succeed. |
in_row_count | The number of rows to replace. This value must be such that in_row_offset+in_row_count<=row_count for replacement to succeed. |
in_column_count | The number of columns to replace. This value must be such that in_column_offset+in_column_count<=column_count for replacement to succeed. |
in_point_count | The size of the in_points array. The size of the array should be in_row_count*in_column_count. |
in_points | The points to use to replace those in the specified range. |
MeshKey& HPS::MeshKey::EditMeshByReplacement | ( | size_t | in_row_offset, |
size_t | in_column_offset, | ||
size_t | in_row_count, | ||
size_t | in_column_count, | ||
PointArray const & | in_points | ||
) |
Replaces a range of points for this MeshKey.
in_row_offset | The row offset into the MeshKey at which to start replacing points. This value must be such that in_row_offset<row_count for replacement to succeed. |
in_column_offset | The column offset into the MeshKey at which to start replacing points. This value must be such that in_column_offset<column_count for replacement to succeed. |
in_row_count | The number of rows to replace. This value must be such that in_row_offset+in_row_count<=row_count for replacement to succeed. |
in_column_count | The number of columns to replace. This value must be such that in_column_offset+in_column_count<=column_count for replacement to succeed. |
in_points | The points to use to replace those in the specified range. The size of the array should be in_row_count*in_column_count. |
|
inlinevirtualinherited |
Indicates whether this object has any values set on it.
Reimplemented in HPS::STL::ImportResultsKit, HPS::STL::ImportOptionsKit, HPS::OBJ::ImportResultsKit, HPS::OBJ::ImportOptionsKit, HPS::Hardcopy::File::ExportOptionsKit, HPS::Stream::ExportOptionsKit, HPS::Stream::ImportResultsKit, HPS::Stream::ImportOptionsKit, HPS::PointCloud::ImportOptionsKit, HPS::PointCloud::ImportResultsKit, HPS::UpdateOptionsKit, HPS::HighlightSearchOptionsKit, HPS::HighlightOptionsKit, HPS::SelectionOptionsKit, HPS::SearchOptionsKit, HPS::CutGeometryGatheringOptionsKit, HPS::ShapeKit, HPS::ShaderKit, HPS::Shader::ImportOptionsKit, HPS::ImageKit, HPS::Image::ImportOptionsKit, HPS::Image::ExportOptionsKit, HPS::TextureOptionsKit, HPS::LinePatternKit, HPS::LinePatternParallelKit, HPS::LinePatternOptionsKit, HPS::GlyphKit, HPS::ApplicationWindowOptionsKit, HPS::OffScreenWindowOptionsKit, HPS::StandAloneWindowOptionsKit, HPS::GridKit, HPS::PolygonKit, HPS::MeshKit, HPS::ShellKit, HPS::ShellRelationResultsKit, HPS::ShellRelationOptionsKit, HPS::ShellOptimizationOptionsKit, HPS::TextKit, HPS::EllipticalArcKit, HPS::EllipseKit, HPS::TrimKit, HPS::NURBSSurfaceKit, HPS::NURBSCurveKit, HPS::SpotlightKit, HPS::InfiniteLineKit, HPS::CuttingSectionKit, HPS::CircularWedgeKit, HPS::CircularArcKit, HPS::CircleKit, HPS::SphereKit, HPS::CylinderKit, HPS::DistantLightKit, HPS::MarkerKit, HPS::LineKit, HPS::AttributeLockKit, HPS::FontInfoState, HPS::WindowInfoKit, HPS::DebuggingKit, HPS::SubwindowKit, HPS::ContourLineKit, HPS::VisualEffectsKit, HPS::TransformMaskKit, HPS::PostProcessEffectsKit, HPS::DrawingAttributeKit, HPS::HiddenLineAttributeKit, HPS::PerformanceKit, HPS::NURBSSurfaceAttributeKit, HPS::MaterialKit, HPS::MaterialMappingKit, HPS::MatrixKit, HPS::CurveAttributeKit, HPS::EdgeAttributeKit, HPS::LineAttributeKit, HPS::TextAttributeKit, HPS::CuttingSectionAttributeKit, HPS::CylinderAttributeKit, HPS::LightingAttributeKit, HPS::SphereAttributeKit, HPS::MarkerAttributeKit, HPS::CullingKit, HPS::ColorInterpolationKit, HPS::TransparencyKit, HPS::SelectabilityKit, HPS::CameraKit, HPS::VisibilityKit, HPS::BoundingKit, HPS::SegmentOptimizationOptionsKit, HPS::Publish::ExportOptionsKit, HPS::Publish::TextFieldKit, HPS::Publish::SignatureFieldKit, HPS::Publish::DropDownListKit, HPS::Exchange::TessellationOptionsKit, HPS::Publish::ListBoxKit, HPS::Exchange::ExportSTEPOptionsKit, HPS::Exchange::ExportParasolidOptionsKit, HPS::Publish::RadioButtonKit, HPS::Exchange::ExportIGESOptionsKit, HPS::Exchange::ExportXMLOptionsKit, HPS::Publish::CheckBoxKit, HPS::Exchange::ExportU3DOptionsKit, HPS::Exchange::ExportSTLOptionsKit, HPS::Publish::ButtonKit, HPS::Exchange::ExportPRCOptionsKit, HPS::Publish::LinkKit, HPS::Exchange::ExportJTOptionsKit, HPS::Publish::SlideTableKit, HPS::Exchange::ExportACISOptionsKit, HPS::Publish::TableKit, HPS::Exchange::Export3MFOptionsKit, HPS::Publish::ImageKit, HPS::Publish::TextKit, HPS::Exchange::ModelFileImportOptionsKit, HPS::Publish::ViewKit, HPS::Exchange::TranslationOptionsKit, HPS::Publish::ArtworkKit, HPS::Publish::AnnotationKit, HPS::ComponentPath, HPS::Exchange::ImportOptionsKit, HPS::Parasolid::ExportOptionsKit, HPS::Exchange::NURBSConversionOptionsKit, HPS::Parasolid::LineTessellationKit, HPS::Exchange::Configuration, HPS::Publish::PageKit, HPS::Parasolid::FacetTessellationKit, HPS::Publish::DocumentKit, HPS::Parasolid::ImportOptionsKit, HPS::DWG::ImportOptionsKit, HPS::OOC::ImportOptionsKit, HPS::Sketchup::ImportOptionsKit, and HPS::Sketchup::ImportResultsKit.
|
inherited |
Determines whether the database objects pointed to by this key and in_that are the same.
Empty keys (when key.Empty() returns true) are never equal to any key, even when the key is compared against itself (they act analogously to NaN comparisons in this case.)
|
inherited |
Returns a unique identifier that is shared by all objects of the same class.
|
inherited |
Returns a hash code for the key.
|
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.
size_t HPS::MeshKey::GetPointCount | ( | ) | const |
Retrieves the number of points in this mesh.
|
inherited |
|
inherited |
|
inherited |
Moves the database object referred to by this key into a new containing segment pointed to by in_new_owner.
|
inlinevirtual |
Reimplemented from HPS::GeometryKey.
|
inherited |
Determines whether the database objects pointed to by this key and in_that are the same.
|
inherited |
Determines whether the database objects pointed to by this key and in_that are the same.
|
inherited |
|
virtualinherited |
Resets this object to its initial, uninitialized state.
Reimplemented in HPS::EventHandler, HPS::EventDispatcher, HPS::World, HPS::HighlightSearchResults, HPS::HighlightSearchResultsIterator, HPS::SelectionResults, HPS::SelectionResultsIterator, HPS::FontSearchResults, HPS::FontSearchResultsIterator, HPS::SearchResults, and HPS::SearchResultsIterator.
void HPS::MeshKey::Set | ( | MeshKit const & | in_kit | ) |
MeshKey& HPS::MeshKey::SetEdgeIndexColorsByList | ( | SizeTArray const & | in_vertices1, |
SizeTArray const & | in_vertices2, | ||
FloatArray const & | in_indices | ||
) |
Sets edge material indices on a selection of arbitrary edges.
in_vertices1 | The 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_vertices2 | The 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_indices | The material indices to set on the edges. |
MeshKey& HPS::MeshKey::SetEdgeIndexColorsByList | ( | SizeTArray const & | in_vertices1, |
SizeTArray const & | in_vertices2, | ||
float | in_index | ||
) |
Sets edge material indices on a selection of arbitrary edges.
in_vertices1 | The 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_vertices2 | The 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_index | The material index to set on the edges. |
MeshKey& HPS::MeshKey::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.
in_count | Size of the following arrays. |
in_vertices1 | The 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_vertices2 | The 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_indices | The material indices to set on the edges. |
MeshKey& HPS::MeshKey::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.
in_count | Size of the following arrays. |
in_vertices1 | The 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_vertices2 | The 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_index | The material index to set on the edges. |
MeshKey& HPS::MeshKey::SetEdgeRGBColorsByList | ( | SizeTArray const & | in_vertices1, |
SizeTArray const & | in_vertices2, | ||
RGBColorArray const & | in_rgb_colors | ||
) |
Sets edge colors on a selection of arbitrary edges.
in_vertices1 | The 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_vertices2 | The 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_colors | The colors to set on the edges. |
MeshKey& HPS::MeshKey::SetEdgeRGBColorsByList | ( | SizeTArray const & | in_vertices1, |
SizeTArray const & | in_vertices2, | ||
RGBColor const & | in_rgb_color | ||
) |
Sets edge colors on a selection of arbitrary edges.
in_vertices1 | The 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_vertices2 | The 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_color | The color to set on the edges. |
MeshKey& HPS::MeshKey::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.
in_count | Size of the following arrays. |
in_vertices1 | The 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_vertices2 | The 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_colors | The colors to set on the edges. |
MeshKey& HPS::MeshKey::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.
in_count | Size of the following arrays. |
in_vertices1 | The 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_vertices2 | The 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_color | The color to set on the edges. |
MeshKey& HPS::MeshKey::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.
in_count | Size of the following arrays. |
in_vertices1 | The 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_vertices2 | The 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_visibilities | The visibilities that should be set for each edge specified. |
MeshKey& HPS::MeshKey::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.
in_count | Size of the following arrays. |
in_vertices1 | The 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_vertices2 | The 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_visibility | The visibility to apply to each edge specified. |
MeshKey& HPS::MeshKey::SetEdgeVisibilitiesByList | ( | SizeTArray const & | in_vertices1, |
SizeTArray const & | in_vertices2, | ||
bool | in_visibility | ||
) |
Sets edge visibilities on a selection of arbitrary edges.
in_vertices1 | The 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_vertices2 | The 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_visibility | The visibility to apply to each edge specified. |
MeshKey& HPS::MeshKey::SetEdgeVisibilitiesByList | ( | SizeTArray const & | in_vertices1, |
SizeTArray const & | in_vertices2, | ||
BoolArray const & | in_visibilities | ||
) |
Sets edge visibilities on a selection of arbitrary edges.
in_vertices1 | The 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_vertices2 | The 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_visibilities | The visibilities that should be set for each edge specified. |
MeshKey& HPS::MeshKey::SetFaceIndexColorsByList | ( | size_t | in_count, |
size_t const | in_faces[], | ||
float const | in_indices[] | ||
) |
Sets face material indices on a selection of arbitrary faces.
in_count | Size of the following arrays. |
in_faces | The indices of the faces on which to set the colors. |
in_indices | The material indices to set on the faces. |
MeshKey& HPS::MeshKey::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.
in_faces | The indices of the faces on which to set the colors. |
in_indices | The material indices to set on the faces. |
MeshKey& HPS::MeshKey::SetFaceIndexColorsByList | ( | size_t | in_count, |
size_t const | in_faces[], | ||
float | in_index | ||
) |
Sets a single material index on a selection of arbitrary faces.
in_count | Size of the following array. |
in_faces | The indices of the faces on which to set the color. |
in_index | The material index to set on the faces. |
MeshKey& HPS::MeshKey::SetFaceIndexColorsByList | ( | SizeTArray const & | in_faces, |
float | in_index | ||
) |
Sets a single material index on a selection of arbitrary faces.
in_faces | The indices of the faces on which to set the color. |
in_index | The material index to set on the faces. |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the faces for this MeshKey at which to start setting colors. This value must be such that in_start<face_count for setting to succeed. |
in_count | Size of the following array. This value must be such that in_start+in_count<=face_count for the setting to succeed. |
in_indices | The material indices to set on the faces for this MeshKey. |
MeshKey& HPS::MeshKey::SetFaceIndexColorsByRange | ( | size_t | in_start, |
FloatArray const & | in_indices | ||
) |
Sets face material indices on a range of faces starting at the specified offset.
in_start | The offset into the faces for this MeshKey at which to start setting colors. This value must be such that in_start<face_count for setting to succeed. |
in_indices | The material indices to set on the faces for this MeshKey. The size of the array must be such that in_start+in_indices.size()<=face_count for the setting to succeed. |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the faces for this MeshKey at which to start setting the color. This value must be such that in_start<face_count for setting to succeed. |
in_count | The number of faces on which to set the color. This value must be such that in_start+in_count<=face_count for the setting to succeed. |
in_index | The material index to set on the faces for this MeshKey. |
MeshKey& HPS::MeshKey::SetFaceNormalsByList | ( | size_t | in_count, |
size_t const | in_faces[], | ||
Vector const | in_normals[] | ||
) |
Sets face normals on a selection of arbitrary faces.
in_count | Size of the following arrays. |
in_faces | The indices of the faces on which to set the normals. |
in_normals | The normals to set on the faces. |
MeshKey& HPS::MeshKey::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.
in_faces | The indices of the faces on which to set the normals. |
in_normals | The normals to set on the faces. |
MeshKey& HPS::MeshKey::SetFaceNormalsByList | ( | size_t | in_count, |
size_t const | in_faces[], | ||
Vector const & | in_normal | ||
) |
Sets a single normal on a selection of arbitrary faces.
in_count | Size of the following array. |
in_faces | The indices of the faces on which to set the normal. |
in_normal | The normal to set on the faces. |
MeshKey& HPS::MeshKey::SetFaceNormalsByList | ( | SizeTArray const & | in_faces, |
Vector const & | in_normal | ||
) |
Sets a single normal on a selection of arbitrary faces.
in_faces | The indices of the faces on which to set the normal. |
in_normal | The normal to set on the faces. |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the faces for this MeshKey at which to start setting normals. This value must be such that in_start<face_count for setting to succeed. |
in_count | Size of the following array. This value must be such that in_start+in_count<=face_count for the setting to succeed. |
in_normals | The normals to set on the faces for this MeshKey. |
MeshKey& HPS::MeshKey::SetFaceNormalsByRange | ( | size_t | in_start, |
VectorArray const & | in_normals | ||
) |
Sets face normals on a range of faces starting at the specified offset.
in_start | The offset into the faces for this MeshKey at which to start setting normals. This value must be such that in_start<face_count for setting to succeed. |
in_normals | The normals to set on the faces for this MeshKey. The size of the array must be such that in_start+in_normals.size()<=face_count for the setting to succeed. |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the faces for this MeshKey at which to start setting the normal. This value must be such that in_start<face_count for setting to succeed. |
in_count | The number of faces on which to set the normal. This value must be such that in_start+in_count<=face_count for the setting to succeed. |
in_normal | The normal to set on the faces for this MeshKey. |
MeshKey& HPS::MeshKey::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.
in_count | Size of the following arrays. |
in_faces | The indices of the faces on which to set the colors. |
in_rgb_colors | The RGB colors to set on the faces. |
MeshKey& HPS::MeshKey::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.
in_faces | The indices of the faces on which to set the colors. |
in_rgb_colors | The RGB colors to set on the faces. |
MeshKey& HPS::MeshKey::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.
in_count | Size of the following array. |
in_faces | The indices of the faces on which to set the color. |
in_rgb_color | The RGB color to set on the faces. |
MeshKey& HPS::MeshKey::SetFaceRGBColorsByList | ( | SizeTArray const & | in_faces, |
RGBColor const & | in_rgb_color | ||
) |
Sets a single RGB color on a selection of arbitrary faces.
in_faces | The indices of the faces on which to set the color. |
in_rgb_color | The RGB color to set on the faces. |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the faces for this MeshKey at which to start setting colors. This value must be such that in_start<face_count for setting to succeed. |
in_count | Size of the following array. This value must be such that in_start+in_count<=face_count for the setting to succeed. |
in_rgb_colors | The RGB colors to set on the faces for this MeshKey. |
MeshKey& HPS::MeshKey::SetFaceRGBColorsByRange | ( | size_t | in_start, |
RGBColorArray const & | in_rgb_colors | ||
) |
Sets face RGB colors on a range of faces starting at the specified offset.
in_start | The offset into the faces for this MeshKey at which to start setting colors. This value must be such that in_start<face_count for setting to succeed. |
in_rgb_colors | The RGB colors to set on the faces for this MeshKey. The size of the array must be such that in_start+in_rgb_colors.size()<=face_count for the setting to succeed. |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the faces for this MeshKey at which to start setting the color. This value must be such that in_start<face_count for setting to succeed. |
in_count | The number of faces on which to set the color. This value must be such that in_start+in_count<=face_count for the setting to succeed. |
in_rgb_color | The RGB color to set on the faces for this MeshKey. |
MeshKey& HPS::MeshKey::SetFaceVisibilitiesByList | ( | size_t | in_count, |
size_t const | in_faces[], | ||
bool const | in_visibilities[] | ||
) |
Sets face visibilities on a selection of arbitrary faces.
in_count | Size of the following arrays. |
in_faces | The indices of the faces on which to set the visibilities. |
in_visibilities | The visibilities to set on the faces. |
MeshKey& HPS::MeshKey::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.
in_faces | The indices of the faces on which to set the visibilities. |
in_visibilities | The visibilities to set on the faces. |
MeshKey& HPS::MeshKey::SetFaceVisibilitiesByList | ( | size_t | in_count, |
size_t const | in_faces[], | ||
bool | in_visibility | ||
) |
Sets a single visibility on a selection of arbitrary faces.
in_count | Size of the following array. |
in_faces | The indices of the faces on which to set the visibility. |
in_visibility | The visibility to set on the faces. |
MeshKey& HPS::MeshKey::SetFaceVisibilitiesByList | ( | SizeTArray const & | in_faces, |
bool | in_visibility | ||
) |
Sets a single visibility on a selection of arbitrary faces.
in_faces | The indices of the faces on which to set the visibility. |
in_visibility | The visibility to set on the faces. |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the faces for this MeshKey at which to start setting visibilities. This value must be such that in_start<face_count for setting to succeed. |
in_count | Size of the following array. This value must be such that in_start+in_count<=face_count for the setting to succeed. |
in_visibilities | The visibilities to set on the faces for this MeshKey. |
MeshKey& HPS::MeshKey::SetFaceVisibilitiesByRange | ( | size_t | in_start, |
BoolArray const & | in_visibilities | ||
) |
Sets face visibilities on a range of faces starting at the specified offset.
in_start | The offset into the faces for this MeshKey at which to start setting visibilities. This value must be such that in_start<face_count for setting to succeed. |
in_visibilities | The visibilities to set on the faces for this MeshKey. The size of the array must be such that in_start+in_visibilities.size()<=face_count for the setting to succeed. |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the faces for this MeshKey at which to start setting the visibility. This value must be such that in_start<face_count for setting to succeed. |
in_count | The number of faces on which to set the visibility. This value must be such that in_start+in_count<=face_count for the setting to succeed. |
in_visibility | The visibility to set on the faces for this MeshKey. |
MeshKey& HPS::MeshKey::SetMaterialMapping | ( | MaterialMappingKit const & | in_kit | ) |
Sets the specified material mappings on this MeshKey.
Only face, back face, cut edge, cut face, edge, and vertex materials will be set on the mesh. These material settings will be "global" for the mesh, i.e., all types will get the material for that type. To get different materials for the same types, e.g., faces with different colors, it is necessary to use the per-vertex or per-face functions.
in_kit | The material mappings to set on this MeshKey. |
MeshKey& HPS::MeshKey::SetPoints | ( | size_t | in_rows, |
size_t | in_columns, | ||
PointArray const & | in_points | ||
) |
MeshKey& HPS::MeshKey::SetPoints | ( | size_t | in_rows, |
size_t | in_columns, | ||
size_t | in_count, | ||
Point const | in_points[] | ||
) |
Replace the points on this MeshKey with the specified points.
in_rows | The number of rows for this MeshKey. |
in_columns | The number of columns for this MeshKey. |
in_count | Size of the following array. |
in_points | The points to use to replace those on this MeshKey. |
|
inherited |
Assigns a drawing priority value to the geometry.
It affects the order in which the geometry is visited if and only if the rendering algorithm is set to Priority. The geometry has a default drawing priority assigned, based on the order of insertion.
in_priority | The drawing priority; higher priority items are drawn on top of lower priority items. |
|
inherited |
Sets user data on this key.
in_index | The index of the user data to set. |
in_bytes | The number of bytes of user data to set. |
in_data | The bytes of user data to set. |
|
inherited |
Sets user data on this key.
in_index | The index of the user data to set. |
in_data | The bytes of user data to set. |
|
inherited |
Sets user data on this key.
in_indices | An array of user data indices to set. |
in_data | An array of bytes of user data to set. |
MeshKey& HPS::MeshKey::SetVertexIndexColorsByList | ( | size_t | in_count, |
size_t const | in_vertices[], | ||
float const | in_indices[], | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets vertex material indices on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following arrays. |
in_vertices | The indices of the vertices on which to set the colors. |
in_indices | The material indices to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexIndexColorsByList | ( | SizeTArray const & | in_vertices, |
FloatArray const & | in_indices, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets vertex material indices on a selection of arbitrary vertices which apply to the specified mesh component.
If the sizes of the vertex index and material index arrays are different, the smaller size will be used.
in_vertices | The indices of the vertices on which to set the colors. |
in_indices | The material indices to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexIndexColorsByList | ( | size_t | in_count, |
size_t const | in_vertices[], | ||
float | in_index, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets a single material index on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the color. |
in_index | The material index to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexIndexColorsByList | ( | SizeTArray const & | in_vertices, |
float | in_index, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets a single material index on a selection of arbitrary vertices which apply to the specified mesh component.
in_vertices | The indices of the vertices on which to set the color. |
in_index | The material index to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexIndexColorsByRange | ( | size_t | in_start, |
size_t | in_count, | ||
float const | in_indices[], | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this MeshKey at which to start setting colors. This value must be such that in_start<point_count for setting to succeed. |
in_count | Size of the following array. This value must be such that in_start+in_count<=vertex_count for the setting to succeed. |
in_indices | The material indices to set on the vertices for this MeshKey. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexIndexColorsByRange | ( | size_t | in_start, |
FloatArray const & | in_indices, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets vertex material indices on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this MeshKey at which to start setting colors. This value must be such that in_start<point_count for setting to succeed. |
in_indices | The material indices to set on the vertices for this MeshKey. The size of the array must be such that in_start+in_indices.size()<=vertex_count for the setting to succeed. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexIndexColorsByRange | ( | size_t | in_start, |
size_t | in_count, | ||
float | in_index, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets a single material index on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this MeshKey at which to start setting the color. This value must be such that in_start<point_count for setting to succeed. |
in_count | The number of vertices on which to set the color. This value must be such that in_start+in_count<=vertex_count for the setting to succeed. |
in_index | The material index to set on the vertices for this MeshKey. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexNormalsByList | ( | size_t | in_count, |
size_t const | in_vertices[], | ||
Vector const | in_normals[] | ||
) |
Sets vertex normals on a selection of arbitrary vertices.
in_count | Size of the following arrays. |
in_vertices | The indices of the vertices on which to set the normals. |
in_normals | The normals to set on the vertices. |
MeshKey& HPS::MeshKey::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.
in_vertices | The indices of the vertices on which to set the normals. |
in_normals | The normals to set on the vertices. |
MeshKey& HPS::MeshKey::SetVertexNormalsByList | ( | size_t | in_count, |
size_t const | in_vertices[], | ||
Vector const & | in_normal | ||
) |
Sets a single normal on a selection of arbitrary vertices.
in_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the normal. |
in_normal | The normal to set on the vertices. |
MeshKey& HPS::MeshKey::SetVertexNormalsByList | ( | SizeTArray const & | in_vertices, |
Vector const & | in_normal | ||
) |
Sets a single normal on a selection of arbitrary vertices.
in_vertices | The indices of the vertices on which to set the normal. |
in_normal | The normal to set on the vertices. |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the vertices for this MeshKey at which to start setting normals. This value must be such that in_start<point_count for setting to succeed. |
in_count | Size of the following array. This value must be such that in_start+in_count<=vertex_count for the setting to succeed. |
in_normals | The normals to set on the vertices for this MeshKey. |
MeshKey& HPS::MeshKey::SetVertexNormalsByRange | ( | size_t | in_start, |
VectorArray const & | in_normals | ||
) |
Sets vertex normals on a range of vertices starting at the specified offset.
in_start | The offset into the vertices for this MeshKey at which to start setting normals. This value must be such that in_start<point_count for setting to succeed. |
in_normals | The normals to set on the vertices for this MeshKey. The size of the array must be such that in_start+in_normals.size()<=vertex_count for the setting to succeed. |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the vertices for this MeshKey at which to start setting the normal. This value must be such that in_start<point_count for setting to succeed. |
in_count | The number of vertices on which to set the normal. This value must be such that in_start+in_count<=vertex_count for the setting to succeed. |
in_normal | The normal to set on the vertices for this MeshKey. |
MeshKey& HPS::MeshKey::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.
in_vertex_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the texture parameters. |
in_param_count | Size of the following array. This should be divisible by the parameter width, if it is not, some parameters will get ignored. |
in_params | The texture parameters to set on the vertices for this MeshKey. |
in_param_width | The number of texture parameters per vertex. Defaults to 2. |
MeshKey& HPS::MeshKey::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.
in_vertices | The indices of the vertices on which to set the texture parameters. |
in_params | The texture parameters to set on the vertices for this MeshKey. The size of the array should be divisible by the parameter width, if it is not, some parameters will get ignored. |
in_param_width | The number of texture parameters per vertex. Defaults to 2. |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the vertices for this MeshKey at which to start setting texture parameters. This value must be such that in_start<point_count for setting to succeed. |
in_param_count | Size of the following array. This should be divisible by the parameter width, if it is not, some parameters will get ignored. This value must be such that in_start+in_param_count/in_param_width<=point_count for the setting to succeed. |
in_params | The texture parameters to set on the vertices for this MeshKey. |
in_param_width | The number of texture parameters per vertex. Defaults to 2. |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the vertices for this MeshKey at which to start setting texture parameters. This value must be such that in_start<point_count for setting to succeed. |
in_params | The texture parameters to set on the vertices for this MeshKey. The size of the array should be divisible by the parameter width, if it is not, some parameters will get ignored. This value must be such that in_start+in_params.size()/in_param_width<=point_count for the setting to succeed. |
in_param_width | The number of texture parameters per vertex. Defaults to 2. |
MeshKey& HPS::MeshKey::SetVertexRGBAColorsByList | ( | size_t | in_count, |
size_t const | in_vertices[], | ||
RGBAColor const | in_rgba_colors[], | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets vertex RGBA colors on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following arrays. |
in_vertices | The indices of the vertices on which to set the colors. |
in_rgba_colors | The RGBA colors to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexRGBAColorsByList | ( | SizeTArray const & | in_vertices, |
RGBAColorArray const & | in_rgba_colors, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets vertex RGBA colors on a selection of arbitrary vertices which apply to the specified mesh component.
If the sizes of the vertex index array and color array are different, the smaller size will be used.
in_vertices | The indices of the vertices on which to set the colors. |
in_rgba_colors | The RGBA colors to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexRGBAColorsByList | ( | size_t | in_count, |
size_t const | in_vertices[], | ||
RGBAColor const & | in_rgba_color, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets a single RGBA color on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the color. |
in_rgba_color | The RGBA color to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexRGBAColorsByList | ( | SizeTArray const & | in_vertices, |
RGBAColor const & | in_rgba_color, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets a single RGBA color on a selection of arbitrary vertices which apply to the specified mesh component.
in_vertices | The indices of the vertices on which to set the color. |
in_rgba_color | The RGBA color to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexRGBAColorsByRange | ( | size_t | in_start, |
size_t | in_count, | ||
RGBAColor const | in_rgba_colors[], | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets vertex RGBA colors on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this MeshKey at which to start setting colors. This value must be such that in_start<point_count for setting to succeed. |
in_count | Size of the following array. This value must be such that in_start+in_count<=vertex_count for the setting to succeed. |
in_rgba_colors | The RGBA colors to set on the vertices for this MeshKey. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexRGBAColorsByRange | ( | size_t | in_start, |
RGBAColorArray const & | in_rgba_colors, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets vertex RGBA colors on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this MeshKey at which to start setting colors. This value must be such that in_start<point_count for setting to succeed. |
in_rgba_colors | The RGBA colors to set on the vertices for this MeshKey. The size of the array must be such that in_start+in_rgba_colors.size()<=vertex_count for the setting to succeed. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexRGBAColorsByRange | ( | size_t | in_start, |
size_t | in_count, | ||
RGBAColor const & | in_rgba_color, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets a single RGBA color on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this MeshKey at which to start setting the color. This value must be such that in_start<point_count for setting to succeed. |
in_count | The number of vertices on which to set the color. This value must be such that in_start+in_count<=vertex_count for the setting to succeed. |
in_rgba_color | The RGBA color to set on the vertices for this MeshKey. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexRGBColorsByList | ( | size_t | in_count, |
size_t const | in_vertices[], | ||
RGBColor const | in_rgb_colors[], | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following arrays. |
in_vertices | The indices of the vertices on which to set the colors. |
in_rgb_colors | The RGB colors to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexRGBColorsByList | ( | SizeTArray const & | in_vertices, |
RGBColorArray const & | in_rgb_colors, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets vertex RGB colors on a selection of arbitrary vertices which apply to the specified mesh component.
If the sizes of the vertex index array and the color array different, the smaller size will be used.
in_vertices | The indices of the vertices on which to set the colors. |
in_rgb_colors | The RGB colors to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexRGBColorsByList | ( | size_t | in_count, |
size_t const | in_vertices[], | ||
RGBColor const & | in_rgb_color, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets a single RGB color on a selection of arbitrary vertices which apply to the specified mesh component.
in_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the color. |
in_rgb_color | The RGB color to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexRGBColorsByList | ( | SizeTArray const & | in_vertices, |
RGBColor const & | in_rgb_color, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets a single RGB color on a selection of arbitrary vertices which apply to the specified mesh component.
in_vertices | The indices of the vertices on which to set the color. |
in_rgb_color | The RGB color to set on the vertices. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexRGBColorsByRange | ( | size_t | in_start, |
size_t | in_count, | ||
RGBColor const | in_rgb_colors[], | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this MeshKey at which to start setting colors. This value must be such that in_start<point_count for setting to succeed. |
in_count | Size of the following array. This value must be such that in_start+in_count<=vertex_count for the setting to succeed. |
in_rgb_colors | The RGB colors to set on the vertices for this MeshKey. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexRGBColorsByRange | ( | size_t | in_start, |
RGBColorArray const & | in_rgb_colors, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets vertex RGB colors on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this MeshKey at which to start setting colors. This value must be such that in_start<point_count for setting to succeed. |
in_rgb_colors | The RGB colors to set on the vertices for this MeshKey. The size of the array must be such that in_start+in_rgb_colors.size()<=vertex_count for the setting to succeed. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexRGBColorsByRange | ( | size_t | in_start, |
size_t | in_count, | ||
RGBColor const & | in_rgb_color, | ||
Mesh::Component | in_apply_to = Mesh::Component::Faces |
||
) |
Sets a single RGB color on a range of vertices starting at the specified offset which apply to the specified mesh component.
in_start | The offset into the vertices for this MeshKey at which to start setting the color. This value must be such that in_start<point_count for setting to succeed. |
in_count | The number of vertices on which to set the color. This value must be such that in_start+in_count<=vertex_count for the setting to succeed. |
in_rgb_color | The RGB color to set on the vertices for this MeshKey. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKey& HPS::MeshKey::SetVertexVisibilitiesByList | ( | size_t | in_count, |
size_t const | in_vertices[], | ||
bool const | in_visibilities[] | ||
) |
Sets vertex visibilities on a selection of arbitrary vertices.
in_count | Size of the following arrays. |
in_vertices | The indices of the vertices on which to set the visibilities. |
in_visibilities | The visibilities to set on the vertices. |
MeshKey& HPS::MeshKey::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.
in_vertices | The indices of the vertices on which to set the visibilities. |
in_visibilities | The visibilities to set on the vertices. |
MeshKey& HPS::MeshKey::SetVertexVisibilitiesByList | ( | size_t | in_count, |
size_t const | in_vertices[], | ||
bool | in_visibility | ||
) |
Sets a single visibility on a selection of arbitrary vertices.
in_count | Size of the following array. |
in_vertices | The indices of the vertices on which to set the visibility. |
in_visibility | The visibility to set on the vertices. |
MeshKey& HPS::MeshKey::SetVertexVisibilitiesByList | ( | SizeTArray const & | in_vertices, |
bool | in_visibility | ||
) |
Sets a single visibility on a selection of arbitrary vertices.
in_vertices | The indices of the vertices on which to set the visibility. |
in_visibility | The visibility to set on the vertices. |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the vertices for this MeshKey at which to start setting visibilities. This value must be such that in_start<point_count for setting to succeed. |
in_count | Size of the following array. This value must be such that in_start+in_count<=vertex_count for the setting to succeed. |
in_visibilities | The visibilities to set on the vertices for this MeshKey. |
MeshKey& HPS::MeshKey::SetVertexVisibilitiesByRange | ( | size_t | in_start, |
BoolArray const & | in_visibilities | ||
) |
Sets vertex visibilities on a range of vertices starting at the specified offset.
in_start | The offset into the vertices for this MeshKey at which to start setting visibilities. This value must be such that in_start<point_count for setting to succeed. |
in_visibilities | The visibilities to set on the vertices for this MeshKey. The size of the array must be such that in_start+in_visibilities.size()<=vertex_count for the setting to succeed. |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the vertices for this MeshKey at which to start setting the visibility. This value must be such that in_start<point_count for setting to succeed. |
in_count | The number of vertices on which to set the visibility. This value must be such that in_start+in_count<=vertex_count for the setting to succeed. |
in_visibility | The visibility to set on the vertices for this MeshKey. |
void HPS::MeshKey::Show | ( | MeshKit & | out_kit | ) | const |
|
inherited |
Shows the bounding of this geometry.
out_kit | The BoundingKit that is set on this GeometryKey |
bool HPS::MeshKey::ShowColumns | ( | size_t & | out_columns | ) | const |
bool HPS::MeshKey::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.
out_vertices1 | The vertex indices that correspond to the start position of each edge for which the visibilities are being changed. |
out_vertices2 | The vertex indices that correspond to the end position of each edge for which the visibilities are being changed. |
out_types | The types of edge colors for each edge. |
out_rgb_colors | The 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_indices | The 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. |
bool HPS::MeshKey::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.
in_vertices1 | The 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_vertices2 | The 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_types | The types of edge colors for each edge. |
out_rgb_colors | The 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_indices | The 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. |
bool HPS::MeshKey::ShowEdgeVisibilitiesByList | ( | SizeTArray const & | in_vertices1, |
SizeTArray const & | in_vertices2, | ||
BoolArray & | out_validities, | ||
BoolArray & | out_visibilities | ||
) | const |
Shows all the edge visibilities on this ShellKey.
in_vertices1 | The 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_vertices2 | The 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_validities | The 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_visibilities | The edge visibilities for each edge. out_visibilities[i] is only valid if out_validities[i] is true. |
bool HPS::MeshKey::ShowFaceColors | ( | MaterialTypeArray & | out_types, |
RGBColorArray & | out_rgb_colors, | ||
FloatArray & | out_indices | ||
) | const |
Shows the face colors on MeshKey.
out_types | The 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_colors | The RGB colors for each face. out_rgb_colors[i] is only valid if out_types[i] is Material::Type::RGBColor. |
out_indices | The material indices for each face. The out_indices[i] is only valid if out_types[i] is Material::Type::MaterialIndex. |
bool HPS::MeshKey::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].
in_faces | The indices of the faces on which to show the colors. |
out_types | The types of face colors for each face at the specified index. If a face at a specified index does not have a face color set, the entry in this array will be Material::Type::None. |
out_rgb_colors | The RGB colors for each face at the specified index. out_rgb_colors[i] is only valid if out_types[i] is Material::Type::RGBColor. |
out_indices | The material indices for each face at the specified index. The out_indices[i] is only valid if out_types[i] is Material::Type::MaterialIndex. |
bool HPS::MeshKey::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.
in_start | The offset into the faces for this MeshKey at which to start showing colors. This value must be such that in_start<face_count for showing to succeed. |
in_count | The number of colors to show. |
out_types | The types of face colors for each face in the specified range. If a face in the specified range does not have a face color set, the entry in this array will be Material::Type::None. |
out_rgb_colors | The RGB colors for each face in the specified range. out_rgb_colors[i] is only valid if out_types[i] is Material::Type::RGBColor. |
out_indices | The material indices for each face in the specified range. The out_indices[i] is only valid if out_types[i] is Material::Type::MaterialIndex. |
bool HPS::MeshKey::ShowFaceNormals | ( | BoolArray & | out_validities, |
VectorArray & | out_normals | ||
) | const |
Shows all the face normals for this MeshKey.
out_validities | The 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_normals | The face normals for each face. out_normals[i] is only valid if out_validities[i] is true. |
bool HPS::MeshKey::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].
in_faces | The indices of the faces on which to show the normals. |
out_validities | The validities of the normals for each face at the specified index. If a face at a specified index had a normal set on it, the entry in this array will be true, otherwise it will be false. |
out_normals | The face normals for each face at the specified index. out_normals[i] is only valid if out_validities[i] is true. |
bool HPS::MeshKey::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.
in_start | The offset into the faces for this MeshKey at which to start showing normals. This value must be such that in_start<face_count for showing to succeed. |
in_count | The number of normals to show. |
out_validities | The validities of the normals for each face in the specified range. If a face in the specified range had a normal set on it, the entry in this array will be true, otherwise it will be false. |
out_normals | The face normals for each face in the specified range. out_normals[i] is only valid if out_validities[i] is true. |
bool HPS::MeshKey::ShowFaceVisibilities | ( | BoolArray & | out_validities, |
BoolArray & | out_visibilities | ||
) | const |
Shows all the face visibilities on this MeshKey.
out_validities | The 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_visibilities | The face visibilities or each face. out_visibilities[i] is only valid if out_validities[i] is true. |
bool HPS::MeshKey::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].
in_faces | The indices of the faces on which to show the normals. |
out_validities | The validities of the normals for each face at the specified index. If a face at a specified index had a visibility set on it, the entry in this array will be true, otherwise it will be false. |
out_visibilities | The face visibilities for each face at the specified index. out_visibilities[i] is only valid if out_validities[i] is true. |
bool HPS::MeshKey::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.
in_start | The offset into the faces for this MeshKey at which to start showing visibilities. This value must be such that in_start<face_count for showing to succeed. |
in_count | The number of visibilities to show. |
out_validities | The validities of the visibilities for each face in the specified range. If a face in the specified range had a visibility set on it, the entry in this array will be true, otherwise it will be false. |
out_visibilities | The face visibilities for each face in the specified range. out_visibilities[i] is only valid if out_validities[i] is true. |
bool HPS::MeshKey::ShowMaterialMapping | ( | MaterialMappingKit & | out_kit | ) | const |
bool HPS::MeshKey::ShowNetVertexNormals | ( | VectorArray & | out_normals | ) | const |
Shows the all net vertex normals on this MeshKey.
out_normals | The vertex normals for each vertex. |
bool HPS::MeshKey::ShowNetVertexNormalsByRange | ( | size_t | in_start, |
size_t | in_count, | ||
VectorArray & | out_normals | ||
) | const |
Shows the net vertex normals on a range of vertices starting at the specified offset.
in_start | The offset into the vertices for this MeshKey at which to start showing normals. This value must be such that in_start<point_count for showing to succeed. |
in_count | The number of normals to show. This value must be such that in_start+in_count<=point_count for the showing to succeed. |
out_normals | The vertex normals for each vertex in the specified range. |
bool HPS::MeshKey::ShowPoints | ( | PointArray & | out_points | ) | const |
bool HPS::MeshKey::ShowPoints | ( | size_t & | out_rows, |
size_t & | out_columns, | ||
PointArray & | out_points | ||
) | const |
bool HPS::MeshKey::ShowPointsByList | ( | SizeTArray const & | in_indices, |
PointArray & | out_points | ||
) | const |
bool HPS::MeshKey::ShowPointsByList | ( | size_t | in_count, |
size_t const | in_indices[], | ||
PointArray & | out_points | ||
) | const |
bool HPS::MeshKey::ShowPointsByRange | ( | size_t | in_start_index, |
size_t | in_count, | ||
PointArray & | out_points | ||
) | const |
|
inherited |
Shows the drawing priority.
out_priority | The drawing priority; higher priority items are drawn on top of lower priority items. |
|
inherited |
Shows the all the segments which contain references to this key.
Note that while a segment may only appear once in the returned array, that segment could have multiple references to this key.
out_segments | The list of segments which contains references to this key. |
|
inherited |
Shows the all the references to this key.
out_references | The list of all references to this key. |
bool HPS::MeshKey::ShowRows | ( | size_t & | out_rows | ) | const |
|
inherited |
Shows the user data at a given index for this key.
in_index | The index of the user data to show. |
out_data | The user data at the given index. |
|
inherited |
Shows all user data for this key.
out_indices | An array of all user data indices set on this key. |
out_data | An array of all user data set on this key. |
|
inherited |
Get the number of user data indices set on this key.
|
inherited |
Shows the indices of all user data set on this key.
out_indices | The user data indices set on this key. |
bool HPS::MeshKey::ShowVertexColors | ( | Mesh::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 mesh component.
in_apply_to | The mesh component the colors should apply to. |
out_types | The types of vertex colors for each vertex. If a vertex does not have a vertex color set for the specified mesh component, the entry in this array will be Material::Type::None. |
out_rgb_colors | The RGB colors for each vertex. out_rgb_colors[i] is only valid if out_types[i] is Material::Type::RGBColor. |
out_rgba_colors | The RGBA colors for each vertex. out_rgba_colors[i] is only valid if out_types[i] is Material::Type::RGBAColor. |
out_indices | The material indices for each vertex. The out_indices[i] is only valid if out_types[i] is Material::Type::MaterialIndex. |
bool HPS::MeshKey::ShowVertexColorsByList | ( | SizeTArray const & | in_vertices, |
Mesh::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 mesh component.
The order of the values in the ouput arrays is the same as the input vertex index array, i.e., the values of out_types[i], out_rgb_colors[i], out_rgba_colors[i], and out_indices[i], correspond to the vertex at index in_vertices[i].
in_vertices | The indices of the vertices on which to show the colors. |
in_apply_to | The mesh component the colors should apply to. |
out_types | The types of vertex colors for each vertex at the specified index. If a vertex at a specified index does not have a vertex color set for the specified component, the entry in this array will be Material::Type::None. |
out_rgb_colors | The RGB colors for each vertex at the specified index. out_rgb_colors[i] is only valid if out_types[i] is Material::Type::RGBColor. |
out_rgba_colors | The RGBA colors for each vertex at the specified index. out_rgba_colors[i] is only valid if out_types[i] is Material::Type::RGBAColor. |
out_indices | The material indices for each vertex at the specified index. The out_indices[i] is only valid if out_types[i] is Material::Type::MaterialIndex. |
bool HPS::MeshKey::ShowVertexColorsByRange | ( | size_t | in_start, |
size_t | in_count, | ||
Mesh::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 mesh component.
in_start | The offset into the vertices for this MeshKey at which to start showing colors. This value must be such that in_start<point_count for removal to succeed. |
in_count | The number of colors to show. |
in_apply_to | The mesh component the colors should apply to. |
out_types | The types of vertex colors for each vertex in the specified range. If a vertex in the specified range does not have a vertex color set for the specified mesh component, the entry in this array will be Material::Type::None. |
out_rgb_colors | The RGB colors for each vertex in the specified range. out_rgb_colors[i] is only valid if out_types[i] is Material::Type::RGBColor. |
out_rgba_colors | The RGBA colors for each vertex in the specified range. out_rgba_colors[i] is only valid if out_types[i] is Material::Type::RGBAColor. |
out_indices | The material indices for each vertex in the specified range. The out_indices[i] is only valid if out_types[i] is Material::Type::MaterialIndex. |
bool HPS::MeshKey::ShowVertexNormals | ( | BoolArray & | out_validities, |
VectorArray & | out_normals | ||
) | const |
Shows all the vertex normals on this MeshKey.
out_validities | The validities of the normals for each vertex. If a vertex had a normal set on it, the entry in this array will be true, otherwise it will be false. |
out_normals | The vertex normals for each vertex. out_normals[i] is only valid if out_validities[i] is true. |
bool HPS::MeshKey::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].
in_vertices | The indices of the vertices on which to show the normals. |
out_validities | The validities of the normals for each vertex at the specified index. If a vertex at a specified index had a normal set on it, the entry in this array will be true, otherwise it will be false. |
out_normals | The vertex normals for each vertex at the specified index. out_normals[i] is only valid if out_validities[i] is true. |
bool HPS::MeshKey::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.
in_start | The offset into the vertices for this MeshKey at which to start showing normals. This value must be such that in_start<point_count for showing to succeed. |
in_count | The number of normals to show. |
out_validities | The validities of the normals for each vertex in the specified range. If a vertex in the specified range had a normal set on it, the entry in this array will be true, otherwise it will be false. |
out_normals | The vertex normals for each vertex in the specified range. out_normals[i] is only valid if out_validities[i] is true. |
bool HPS::MeshKey::ShowVertexParameters | ( | BoolArray & | out_validities, |
FloatArray & | out_params | ||
) | const |
Shows the texture parameters for all the vertices in this MeshKey.
For this particular show function, the parameter width is returned implicitly and could be determined by out_params.size()/in_count.
out_validities | The 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_params | The texture parameters for each vertex. (out_params[i],...,out_params[i+param_width-1]) are only valid if out_validities[i] is true. |
bool HPS::MeshKey::ShowVertexParameters | ( | BoolArray & | out_validities, |
FloatArray & | out_params, | ||
size_t & | out_param_width | ||
) | const |
Shows the texture parameters for all the vertices in this MeshKey.
out_validities | The 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_params | The 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_width | The number of texture parameters per vertex. |
bool HPS::MeshKey::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].
in_vertices | The indices of the vertices on which to show the texture parameters. |
out_validities | The validities of the texture parameters for each vertex at the specified index. If a vertex at a specified index had a texture parameter set on it, the entry in this array will be true, otherwise it will be false. |
out_params | The texture parameters for each vertex at the specified index. (out_params[i],...,out_params[i+param_width-1]) are only valid if out_validities[i] is true. |
bool HPS::MeshKey::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].
in_vertices | The indices of the vertices on which to show the texture parameters. |
out_validities | The validities of the texture parameters for each vertex at the specified index. If a vertex at a specified index had a texture parameter set on it, the entry in this array will be true, otherwise it will be false. |
out_params | The texture parameters for each vertex at the specified index. (out_params[i],...,out_params[i+param_width-1]) are only valid if out_validities[i] is true. |
out_param_width | The number of texture parameters per vertex. |
bool HPS::MeshKey::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.
in_start | The offset into the vertices for this MeshKey at which to start showing texture parameters. This value must be such that in_start<point_count for showing to succeed. |
in_count | The number of vertices for which to show the texture parameters. |
out_validities | The validities of the texture parameters for each vertex in the specified range. If a vertex in the specified range had a texture parameter set on it, the entry in this array will be true, otherwise it will be false. |
out_params | The texture parameters for each vertex in the specified range. (out_params[i],...,out_params[i+param_width-1]) are only valid if out_validities[i] is true. |
bool HPS::MeshKey::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.
in_start | The offset into the vertices for this MeshKey at which to start showing texture parameters. This value must be such that in_start<point_count for showing to succeed. |
in_count | The number of vertices for which to show the texture parameters. |
out_validities | The validities of the texture parameters for each vertex in the specified range. If a vertex in the specified range had a texture parameter set on it, the entry in this array will be true, otherwise it will be false. |
out_params | The texture parameters for each vertex in the specified range. (out_params[i],...,out_params[i+param_width-1]) are only valid if out_validities[i] is true. |
out_param_width | The number of texture parameters per vertex. |
bool HPS::MeshKey::ShowVertexVisibilities | ( | BoolArray & | out_validities, |
BoolArray & | out_visibilities | ||
) | const |
Shows all the vertex visibilities on this MeshKey.
out_validities | The 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_visibilities | The vertex visibilities for each vertex. out_visibilities[i] is only valid if out_validities[i] is true. |
bool HPS::MeshKey::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].
in_vertices | The indices of the vertices on which to show the normals. |
out_validities | The validities of the normals for each vertex at the specified index. If a vertex at a specified index had a visibility set on it, the entry in this array will be true, otherwise it will be false. |
out_visibilities | The vertex visibilities for each vertex at the specified index. out_visibilities[i] is only valid if out_validities[i] is true. |
bool HPS::MeshKey::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.
in_start | The offset into the vertices for this MeshKey at which to start showing visibilities. This value must be such that in_start<point_count for showing to succeed. |
in_count | The number of visibilities to show. |
out_validities | The validities of the visibilities for each vertex in the specified range. If a vertex in the specified range had a visibility set on it, the entry in this array will be true, otherwise it will be false. |
out_visibilities | The vertex visibilities for each vertex in the specified range. out_visibilities[i] is only valid if out_validities[i] is true. |
|
virtualinherited |
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.
Reimplemented in HPS::UpdateOptionsControl, HPS::HighlightControl, HPS::SelectionOptionsControl, HPS::OffScreenWindowOptionsControl, HPS::ApplicationWindowOptionsControl, HPS::StandAloneWindowOptionsControl, HPS::AttributeLockControl, HPS::WindowInfoControl, HPS::DebuggingControl, HPS::SubwindowControl, HPS::ContourLineControl, HPS::VisualEffectsControl, HPS::TransformMaskControl, HPS::PostProcessEffectsControl, HPS::DrawingAttributeControl, HPS::HiddenLineAttributeControl, HPS::PerformanceControl, HPS::NURBSSurfaceAttributeControl, HPS::ConditionControl, HPS::StyleControl, HPS::PortfolioControl, HPS::MaterialMappingControl, HPS::TextureMatrixControl, HPS::ModellingMatrixControl, HPS::CurveAttributeControl, HPS::EdgeAttributeControl, HPS::LineAttributeControl, HPS::TextAttributeControl, HPS::CuttingSectionAttributeControl, HPS::CylinderAttributeControl, HPS::LightingAttributeControl, HPS::SphereAttributeControl, HPS::MarkerAttributeControl, HPS::CullingControl, HPS::ColorInterpolationControl, HPS::TransparencyControl, HPS::SelectabilityControl, HPS::CameraControl, HPS::VisibilityControl, HPS::BoundingControl, HPS::Kit, and HPS::Control.
|
inherited |
Removes all user data from this key.
MeshKey& HPS::MeshKey::UnsetEdgeColors | ( | ) |
Unsets edge colors on all edges.
in_vertices1 | The 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_vertices2 | The 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_types | The types of edge colors for each edge. |
out_rgb_colors | The 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_indices | The 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. |
MeshKey& HPS::MeshKey::UnsetEdgeColorsByList | ( | SizeTArray const & | in_vertices1, |
SizeTArray const & | in_vertices2 | ||
) |
Unsets edge colors on a selection of arbitrary edges.
in_vertices1 | The 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_vertices2 | The 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. |
MeshKey& HPS::MeshKey::UnsetEdgeColorsByList | ( | size_t | in_count, |
size_t const | in_vertices1[], | ||
size_t const | in_vertices2[] | ||
) |
Unsets edge colors on a selection of arbitrary edges.
in_count | Size of the following arrays. |
in_vertices1 | The 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_vertices2 | The 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. |
MeshKey& HPS::MeshKey::UnsetEdgeEverything | ( | ) |
MeshKey& HPS::MeshKey::UnsetEdgeVisibilities | ( | ) |
Removes all vertex visibilities.
MeshKey& HPS::MeshKey::UnsetEdgeVisibilitiesByList | ( | SizeTArray const & | in_vertices1, |
SizeTArray const & | in_vertices2 | ||
) |
Unsets edge visibilities on a selection of arbitrary edges.
in_vertices1 | The 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_vertices2 | The 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. |
MeshKey& HPS::MeshKey::UnsetEdgeVisibilitiesByList | ( | size_t | in_count, |
size_t const | in_vertices1[], | ||
size_t const | in_vertices2[] | ||
) |
Unsets edge visibilities on a selection of arbitrary edges.
in_count | Size of the following arrays. |
in_vertices1 | The 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_vertices2 | The 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. |
MeshKey& HPS::MeshKey::UnsetEverything | ( | ) |
MeshKey& HPS::MeshKey::UnsetFaceColors | ( | ) |
Removes all face colors (RGB colors or material indices).
MeshKey& HPS::MeshKey::UnsetFaceColorsByList | ( | SizeTArray const & | in_faces | ) |
Removes the face colors (RGB colors or material indices) on a selection of arbitrary vertices.
in_faces | The indices of the faces on which to remove the colors. |
MeshKey& HPS::MeshKey::UnsetFaceColorsByList | ( | size_t | in_count, |
size_t const | in_faces[] | ||
) |
MeshKey& HPS::MeshKey::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.
in_start | The offset into the faces for this MeshKey at which to start removing colors. This value must be such that in_start<face_count for removal to succeed. |
in_count | The number of face colors to unset for this MeshKey. |
MeshKey& HPS::MeshKey::UnsetFaceEverything | ( | ) |
MeshKey& HPS::MeshKey::UnsetFaceNormals | ( | ) |
Removes all face normals.
MeshKey& HPS::MeshKey::UnsetFaceNormalsByList | ( | SizeTArray const & | in_faces | ) |
Removes the face normals on a selection of arbitrary faces.
in_faces | The indices of the faces on which to remove the normals. |
MeshKey& HPS::MeshKey::UnsetFaceNormalsByRange | ( | size_t | in_start, |
size_t | in_count | ||
) |
Removes the specified range of face normals starting at the specified offset.
in_start | The offset into the faces for this MeshKey at which to start removing normals. This value must be such that in_start<face_count for removal to succeed. |
in_count | The number of face normals to unset for this MeshKey. |
MeshKey& HPS::MeshKey::UnsetFaceVisibilities | ( | ) |
Removes all face visibilities.
MeshKey& HPS::MeshKey::UnsetFaceVisibilitiesByList | ( | size_t | in_count, |
size_t const | in_faces[] | ||
) |
MeshKey& HPS::MeshKey::UnsetFaceVisibilitiesByList | ( | SizeTArray const & | in_faces | ) |
Removes the face visibilities on a selection of arbitrary faces.
in_faces | The indices of the faces on which to remove the visibilities. |
MeshKey& HPS::MeshKey::UnsetFaceVisibilitiesByRange | ( | size_t | in_start, |
size_t | in_count | ||
) |
Removes the specified range of face visibilities starting at the specified offset.
in_start | The offset into the faces for this MeshKey at which to start removing visibilities. This value must be such that in_start<face_count for removal to succeed. |
in_count | The number of face visibilities to unset for this MeshKey. |
MeshKey& HPS::MeshKey::UnsetMaterialMapping | ( | ) |
|
inherited |
Removes the drawing priority setting.
|
inherited |
Removes the user data at the given index from this key.
in_index | The index of the user data to remove. |
|
inherited |
Removes the user data at the given indices from this key.
in_count | The size of the following array. |
in_indices | The indices of the user data to remove. |
|
inherited |
Removes the user data at the given indices from this key.
in_indices | The indices of the user data to remove. |
MeshKey& HPS::MeshKey::UnsetVertexColors | ( | ) |
Removes all vertex colors (RGB colors, RGBA colors, or material indices) for all mesh components.
MeshKey& HPS::MeshKey::UnsetVertexColors | ( | Mesh::Component | in_apply_to | ) |
Removes all vertex colors (RGB colors, RGBA colors, or material indices) for the specified mesh component.
in_apply_to | The mesh component for which to remove the colors. |
MeshKey& HPS::MeshKey::UnsetVertexColorsByList | ( | size_t | in_count, |
size_t const | in_vertices[] | ||
) |
MeshKey& HPS::MeshKey::UnsetVertexColorsByList | ( | size_t | in_count, |
size_t const | in_vertices[], | ||
Mesh::Component | in_apply_to | ||
) |
Removes the vertex visibilities on a selection of arbitrary vertices.
in_count | The number of vertex visibilities to remove for this MeshKey. |
in_faces | The indices of the vertices on which to remove the visibilities. |
in_apply_to | The shell component the colors should apply to. |
MeshKey& HPS::MeshKey::UnsetVertexColorsByList | ( | SizeTArray const & | in_vertices | ) |
Removes the vertex colors (RGB colors, RGBA colors, or material indices) for all mesh components on a selection of arbitrary vertices.
in_vertices | The indices of the vertices on which to remove the colors. |
MeshKey& HPS::MeshKey::UnsetVertexColorsByList | ( | SizeTArray const & | in_vertices, |
Mesh::Component | in_apply_to | ||
) |
Removes the vertex colors (RGB colors, RGBA colors, or material indices) for the specificed mesh component on a selection of arbitrary vertices.
in_vertices | The indices of the vertices on which to remove the colors. |
in_apply_to | The mesh component for which to remove the colors. |
MeshKey& HPS::MeshKey::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 mesh components starting at the specified offset.
in_start | The offset into the vertices for this MeshKey at which to start removing colors. This value must be such that in_start<point_count for removal to succeed. |
in_count | The number of vertex colors to unset for this MeshKey. |
MeshKey& HPS::MeshKey::UnsetVertexColorsByRange | ( | size_t | in_start, |
size_t | in_count, | ||
Mesh::Component | in_apply_to | ||
) |
Removes the specified range of vertex colors (RGB colors, RGBA colors, or material indices) for the specified mesh component starting at the specified offset.
in_start | The offset into the vertices for this MeshKey at which to start removing colors. This value must be such that in_start<point_count for removal to succeed. |
in_count | The number of vertex colors to unset for this MeshKey. |
in_apply_to | The mesh component for which to remove the colors. |
MeshKey& HPS::MeshKey::UnsetVertexEverything | ( | ) |
MeshKey& HPS::MeshKey::UnsetVertexNormals | ( | ) |
Removes all vertex normals.
MeshKey& HPS::MeshKey::UnsetVertexNormalsByList | ( | SizeTArray const & | in_vertices | ) |
Removes the vertex normals on a selection of arbitrary vertices.
in_vertices | The indices of the vertices on which to remove the normals. |
MeshKey& HPS::MeshKey::UnsetVertexNormalsByRange | ( | size_t | in_start, |
size_t | in_count | ||
) |
Removes the specified range of vertex normals starting at the specified offset.
in_start | The offset into the vertices for this MeshKey at which to start removing normals. This value must be such that in_start<point_count for removal to succeed. |
in_count | The number of vertex normals to unset for this MeshKey. |
MeshKey& HPS::MeshKey::UnsetVertexParameters | ( | ) |
Removes all texture parameters.
MeshKey& HPS::MeshKey::UnsetVertexParametersByList | ( | SizeTArray const & | in_vertices | ) |
Removes the texture parameters on a selection of arbitrary vertices.
in_vertices | The indices of the vertices on which to remove the texture parameters. |
MeshKey& HPS::MeshKey::UnsetVertexParametersByRange | ( | size_t | in_start, |
size_t | in_count | ||
) |
Removes the specified range of texture parameters starting at the specified offset.
in_start | The offset into the vertices for this MeshKey at which to start removing texture parameters. This value must be such that in_start<point_count for removal to succeed. |
in_count | The number of texture parameters to unset for this MeshKey. |
MeshKey& HPS::MeshKey::UnsetVertexVisibilities | ( | ) |
Removes all vertex visibilities.
MeshKey& HPS::MeshKey::UnsetVertexVisibilitiesByList | ( | size_t | in_count, |
size_t const | in_vertices[] | ||
) |
MeshKey& HPS::MeshKey::UnsetVertexVisibilitiesByList | ( | SizeTArray const & | in_vertices | ) |
Removes the vertex visibilities on a selection of arbitrary vertices.
in_vertices | The indices of the vertices on which to remove the visibilities. |
MeshKey& HPS::MeshKey::UnsetVertexVisibilitiesByRange | ( | size_t | in_start, |
size_t | in_count | ||
) |
Removes the specified range of vertex visibilities starting at the specified offset.
in_start | The offset into the vertices for this MeshKey at which to start removing visibilities. This value must be such that in_start<point_count for removal to succeed. |
in_count | The number of vertex visibilities to unset for this MeshKey. |
|
inherited |
|
static |