REFERENCE MANUAL
#include <hps.h>
Public Member Functions | |
void | Consume (MeshKit &in_kit) |
bool | Empty () const |
bool | Equals (MeshKit const &in_kit) const |
size_t | GetPointCount () const |
MeshKit () | |
MeshKit (MeshKit const &in_kit) | |
MeshKit (MeshKit &&in_that) | |
Type | ObjectType () const |
bool | operator!= (MeshKit const &in_kit) const |
MeshKit & | operator= (MeshKit &&in_that) |
MeshKit & | operator= (MeshKit const &in_kit) |
bool | operator== (MeshKit const &in_kit) const |
void | Set (MeshKit const &in_kit) |
MeshKit & | SetColumns (size_t in_columns) |
MeshKit & | SetFaceIndexColorsByList (size_t in_count, size_t const in_faces[], float const in_indices[]) |
MeshKit & | SetFaceIndexColorsByList (SizeTArray const &in_faces, FloatArray const &in_indices) |
MeshKit & | SetFaceIndexColorsByList (size_t in_count, size_t const in_faces[], float in_index) |
MeshKit & | SetFaceIndexColorsByList (SizeTArray const &in_faces, float in_index) |
MeshKit & | SetFaceIndexColorsByRange (size_t in_start, size_t in_count, float const in_indices[]) |
MeshKit & | SetFaceIndexColorsByRange (size_t in_start, FloatArray const &in_indices) |
MeshKit & | SetFaceIndexColorsByRange (size_t in_start, size_t in_count, float in_index) |
MeshKit & | SetFaceNormalsByList (size_t in_count, size_t const in_faces[], Vector const in_normals[]) |
MeshKit & | SetFaceNormalsByList (SizeTArray const &in_faces, VectorArray const &in_normals) |
MeshKit & | SetFaceNormalsByList (size_t in_count, size_t const in_faces[], Vector const &in_normal) |
MeshKit & | SetFaceNormalsByList (SizeTArray const &in_faces, Vector const &in_normal) |
MeshKit & | SetFaceNormalsByRange (size_t in_start, size_t in_count, Vector const in_normals[]) |
MeshKit & | SetFaceNormalsByRange (size_t in_start, VectorArray const &in_normals) |
MeshKit & | SetFaceNormalsByRange (size_t in_start, size_t in_count, Vector const &in_normal) |
MeshKit & | SetFaceRGBColorsByList (size_t in_count, size_t const in_faces[], RGBColor const in_rgb_colors[]) |
MeshKit & | SetFaceRGBColorsByList (SizeTArray const &in_faces, RGBColorArray const &in_rgb_colors) |
MeshKit & | SetFaceRGBColorsByList (size_t in_count, size_t const in_faces[], RGBColor const &in_rgb_color) |
MeshKit & | SetFaceRGBColorsByList (SizeTArray const &in_faces, RGBColor const &in_rgb_color) |
MeshKit & | SetFaceRGBColorsByRange (size_t in_start, size_t in_count, RGBColor const in_rgb_colors[]) |
MeshKit & | SetFaceRGBColorsByRange (size_t in_start, RGBColorArray const &in_rgb_colors) |
MeshKit & | SetFaceRGBColorsByRange (size_t in_start, size_t in_count, RGBColor const &in_rgb_color) |
MeshKit & | SetFaceVisibilitiesByList (size_t in_count, size_t const in_faces[], bool const in_visibilities[]) |
MeshKit & | SetFaceVisibilitiesByList (SizeTArray const &in_faces, BoolArray const &in_visibilities) |
MeshKit & | SetFaceVisibilitiesByList (size_t in_count, size_t const in_faces[], bool in_visibility) |
MeshKit & | SetFaceVisibilitiesByList (SizeTArray const &in_faces, bool in_visibility) |
MeshKit & | SetFaceVisibilitiesByRange (size_t in_start, size_t in_count, bool const in_visibilities[]) |
MeshKit & | SetFaceVisibilitiesByRange (size_t in_start, BoolArray const &in_visibilities) |
MeshKit & | SetFaceVisibilitiesByRange (size_t in_start, size_t in_count, bool in_visibility) |
MeshKit & | SetMaterialMapping (MaterialMappingKit const &in_kit) |
MeshKit & | SetPoints (PointArray const &in_points) |
MeshKit & | SetPoints (size_t in_count, Point const in_points[]) |
MeshKit & | SetPoints (size_t in_rows, size_t in_columns, PointArray const &in_points) |
MeshKit & | SetPoints (size_t in_rows, size_t in_columns, size_t in_count, Point const in_points[]) |
MeshKit & | SetPriority (int in_priority) |
MeshKit & | SetRows (size_t in_rows) |
MeshKit & | SetUserData (intptr_t in_index, size_t in_bytes, byte const in_data[]) |
MeshKit & | SetUserData (intptr_t in_index, ByteArray const &in_data) |
MeshKit & | SetUserData (IntPtrTArray const &in_indices, ByteArrayArray const &in_data) |
MeshKit & | SetVertexIndexColorsByList (size_t in_count, size_t const in_vertices[], float const in_indices[], Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexIndexColorsByList (SizeTArray const &in_vertices, FloatArray const &in_indices, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexIndexColorsByList (size_t in_count, size_t const in_vertices[], float in_index, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexIndexColorsByList (SizeTArray const &in_vertices, float in_index, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexIndexColorsByRange (size_t in_start, size_t in_count, float const in_indices[], Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexIndexColorsByRange (size_t in_start, FloatArray const &in_indices, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexIndexColorsByRange (size_t in_start, size_t in_count, float in_index, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexNormalsByList (size_t in_count, size_t const in_vertices[], Vector const in_normals[]) |
MeshKit & | SetVertexNormalsByList (SizeTArray const &in_vertices, VectorArray const &in_normals) |
MeshKit & | SetVertexNormalsByList (size_t in_count, size_t const in_vertices[], Vector const &in_normal) |
MeshKit & | SetVertexNormalsByList (SizeTArray const &in_vertices, Vector const &in_normal) |
MeshKit & | SetVertexNormalsByRange (size_t in_start, size_t in_count, Vector const in_normals[]) |
MeshKit & | SetVertexNormalsByRange (size_t in_start, VectorArray const &in_normals) |
MeshKit & | SetVertexNormalsByRange (size_t in_start, size_t in_count, Vector const &in_normal) |
MeshKit & | 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) |
MeshKit & | SetVertexParametersByList (SizeTArray const &in_vertices, FloatArray const &in_params, size_t in_param_width=2) |
MeshKit & | SetVertexParametersByRange (size_t in_start, size_t in_param_count, float const in_params[], size_t in_param_width=2) |
MeshKit & | SetVertexParametersByRange (size_t in_start, FloatArray const &in_params, size_t in_param_width=2) |
MeshKit & | SetVertexRGBAColorsByList (size_t in_count, size_t const in_vertices[], RGBAColor const in_rgba_colors[], Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexRGBAColorsByList (SizeTArray const &in_vertices, RGBAColorArray const &in_rgba_colors, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexRGBAColorsByList (size_t in_count, size_t const in_vertices[], RGBAColor const &in_rgba_color, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexRGBAColorsByList (SizeTArray const &in_vertices, RGBAColor const &in_rgba_color, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexRGBAColorsByRange (size_t in_start, size_t in_count, RGBAColor const in_rgba_colors[], Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexRGBAColorsByRange (size_t in_start, RGBAColorArray const &in_rgba_colors, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexRGBAColorsByRange (size_t in_start, size_t in_count, RGBAColor const &in_rgba_color, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexRGBColorsByList (size_t in_count, size_t const in_vertices[], RGBColor const in_rgb_colors[], Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexRGBColorsByList (SizeTArray const &in_vertices, RGBColorArray const &in_rgb_colors, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexRGBColorsByList (size_t in_count, size_t const in_vertices[], RGBColor const &in_rgb_color, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexRGBColorsByList (SizeTArray const &in_vertices, RGBColor const &in_rgb_color, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexRGBColorsByRange (size_t in_start, size_t in_count, RGBColor const in_rgb_colors[], Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexRGBColorsByRange (size_t in_start, RGBColorArray const &in_rgb_colors, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexRGBColorsByRange (size_t in_start, size_t in_count, RGBColor const &in_rgb_color, Mesh::Component in_apply_to=Mesh::Component::Faces) |
MeshKit & | SetVertexVisibilitiesByList (size_t in_count, size_t const in_vertices[], bool const in_visibilities[]) |
MeshKit & | SetVertexVisibilitiesByList (SizeTArray const &in_vertices, BoolArray const &in_visibilities) |
MeshKit & | SetVertexVisibilitiesByList (size_t in_count, size_t const in_vertices[], bool in_visibility) |
MeshKit & | SetVertexVisibilitiesByList (SizeTArray const &in_vertices, bool in_visibility) |
MeshKit & | SetVertexVisibilitiesByRange (size_t in_start, size_t in_count, bool const in_visibilities[]) |
MeshKit & | SetVertexVisibilitiesByRange (size_t in_start, BoolArray const &in_visibilities) |
MeshKit & | SetVertexVisibilitiesByRange (size_t in_start, size_t in_count, bool in_visibility) |
void | Show (MeshKit &out_kit) const |
bool | ShowColumns (size_t &out_columns) const |
bool | ShowFaceColorsByList (SizeTArray const &in_faces, MaterialTypeArray &out_types, RGBColorArray &out_rgb_colors, FloatArray &out_indices) const |
bool | ShowFaceColorsByRange (size_t in_start, size_t in_count, MaterialTypeArray &out_types, RGBColorArray &out_rgb_colors, FloatArray &out_indices) const |
bool | ShowFaceNormalsByList (SizeTArray const &in_faces, BoolArray &out_validities, VectorArray &out_normals) const |
bool | ShowFaceNormalsByRange (size_t in_start, size_t in_count, BoolArray &out_validities, VectorArray &out_normals) const |
bool | ShowFaceVisibilitiesByList (SizeTArray const &in_faces, BoolArray &out_validities, BoolArray &out_visibilities) const |
bool | ShowFaceVisibilitiesByRange (size_t in_start, size_t in_count, BoolArray &out_validities, BoolArray &out_visibilities) const |
bool | ShowMaterialMapping (MaterialMappingKit &out_kit) const |
bool | ShowPoints (PointArray &out_points) const |
bool | ShowPoints (size_t &out_rows, size_t &out_columns, PointArray &out_points) const |
bool | ShowPriority (int &out_priority) const |
bool | ShowRows (size_t &out_rows) const |
bool | ShowUserData (intptr_t in_index, ByteArray &out_data) const |
bool | ShowUserData (IntPtrTArray &out_indices, ByteArrayArray &out_data) const |
size_t | ShowUserDataCount () const |
bool | ShowUserDataIndices (IntPtrTArray &out_indices) const |
bool | ShowVertexColorsByList (SizeTArray const &in_vertices, Mesh::Component in_applied_to, MaterialTypeArray &out_types, RGBColorArray &out_rgb_colors, RGBAColorArray &out_rgba_colors, FloatArray &out_indices) const |
bool | ShowVertexColorsByRange (size_t in_start, size_t in_count, Mesh::Component in_applied_to, MaterialTypeArray &out_types, RGBColorArray &out_rgb_colors, RGBAColorArray &out_rgba_colors, FloatArray &out_indices) const |
bool | ShowVertexNormalsByList (SizeTArray const &in_vertices, BoolArray &out_validities, VectorArray &out_normals) const |
bool | ShowVertexNormalsByRange (size_t in_start, size_t in_count, BoolArray &out_validities, VectorArray &out_normals) const |
bool | ShowVertexParametersByList (SizeTArray const &in_vertices, BoolArray &out_validities, FloatArray &out_params) const |
bool | ShowVertexParametersByList (SizeTArray const &in_vertices, BoolArray &out_validities, FloatArray &out_params, size_t &out_param_width) const |
bool | ShowVertexParametersByRange (size_t in_start, size_t in_count, BoolArray &out_validities, FloatArray &out_params) const |
bool | ShowVertexParametersByRange (size_t in_start, size_t in_count, BoolArray &out_validities, FloatArray &out_params, size_t &out_param_width) const |
bool | ShowVertexVisibilitiesByList (SizeTArray const &in_vertices, BoolArray &out_validities, BoolArray &out_visibilities) const |
bool | ShowVertexVisibilitiesByRange (size_t in_start, size_t in_count, BoolArray &out_validities, BoolArray &out_visibilities) const |
MeshKit & | UnsetAllUserData () |
MeshKit & | UnsetColumns () |
MeshKit & | UnsetEverything () |
MeshKit & | UnsetFaceColors () |
MeshKit & | UnsetFaceColorsByList (SizeTArray const &in_vertices) |
MeshKit & | UnsetFaceColorsByRange (size_t in_start, size_t in_count) |
MeshKit & | UnsetFaceEverything () |
MeshKit & | UnsetFaceNormals () |
MeshKit & | UnsetFaceNormalsByList (SizeTArray const &in_vertices) |
MeshKit & | UnsetFaceNormalsByRange (size_t in_start, size_t in_count) |
MeshKit & | UnsetFaceVisibilities () |
MeshKit & | UnsetFaceVisibilitiesByList (SizeTArray const &in_vertices) |
MeshKit & | UnsetFaceVisibilitiesByRange (size_t in_start, size_t in_count) |
MeshKit & | UnsetMaterialMapping () |
MeshKit & | UnsetPoints () |
MeshKit & | UnsetPriority () |
MeshKit & | UnsetRows () |
MeshKit & | UnsetUserData (intptr_t in_index) |
MeshKit & | UnsetUserData (size_t in_count, intptr_t const in_indices[]) |
MeshKit & | UnsetUserData (IntPtrTArray const &in_indices) |
MeshKit & | UnsetVertexColors () |
MeshKit & | UnsetVertexColors (Mesh::Component in_apply_to) |
MeshKit & | UnsetVertexColorsByList (SizeTArray const &in_vertices) |
MeshKit & | UnsetVertexColorsByList (SizeTArray const &in_vertices, Mesh::Component in_apply_to) |
MeshKit & | UnsetVertexColorsByRange (size_t in_start, size_t in_count) |
MeshKit & | UnsetVertexColorsByRange (size_t in_start, size_t in_count, Mesh::Component in_apply_to) |
MeshKit & | UnsetVertexEverything () |
MeshKit & | UnsetVertexNormals () |
MeshKit & | UnsetVertexNormalsByList (SizeTArray const &in_vertices) |
MeshKit & | UnsetVertexNormalsByRange (size_t in_start, size_t in_count) |
MeshKit & | UnsetVertexParameters () |
MeshKit & | UnsetVertexParametersByList (SizeTArray const &in_vertices) |
MeshKit & | UnsetVertexParametersByRange (size_t in_start, size_t in_count) |
MeshKit & | UnsetVertexVisibilities () |
MeshKit & | UnsetVertexVisibilitiesByList (SizeTArray const &in_vertices) |
MeshKit & | UnsetVertexVisibilitiesByRange (size_t in_start, size_t in_count) |
![]() | |
intptr_t | GetClassID () const |
intptr_t | GetInstanceID () const |
bool | HasType (Type in_mask) const |
Object (Object &&in_that) | |
Object & | operator= (Object const &other_object) |
Object & | operator= (Object &&in_that) |
virtual void | Reset () |
Type | Type () const |
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
MeshKit::MeshKit | ( | ) |
The default constructor creates an empty MeshKit object.
MeshKit::MeshKit | ( | MeshKit const & | in_kit | ) |
MeshKit::MeshKit | ( | MeshKit && | in_that | ) |
void MeshKit::Consume | ( | MeshKit & | in_kit | ) |
|
virtual |
bool MeshKit::Equals | ( | MeshKit const & | in_kit | ) | const |
size_t MeshKit::GetPointCount | ( | ) | const |
Retrieves the number of points in this mesh.
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from Object.
bool MeshKit::operator!= | ( | MeshKit const & | in_kit | ) | const |
bool MeshKit::operator== | ( | MeshKit const & | in_kit | ) | const |
void MeshKit::Set | ( | MeshKit const & | in_kit | ) |
MeshKit& MeshKit::SetColumns | ( | size_t | in_columns | ) |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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 MeshKit at which to start setting colors. |
in_count | Size of the following array. |
in_indices | The material indices to set on the faces for this MeshKit. |
MeshKit& MeshKit::SetFaceIndexColorsByRange | ( | size_t | in_start, |
FloatArray const & | in_indices | ||
) |
MeshKit& MeshKit::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 MeshKit at which to start setting the color. |
in_count | The number of faces on which to set the color. |
in_index | The material index to set on the faces for this MeshKit. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
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. |
MeshKit& MeshKit::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 MeshKit at which to start setting normals. |
in_count | Size of the following array. |
in_normals | The normals to set on the faces for this MeshKit. |
MeshKit& MeshKit::SetFaceNormalsByRange | ( | size_t | in_start, |
VectorArray const & | in_normals | ||
) |
MeshKit& MeshKit::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 MeshKit at which to start setting the normal. |
in_count | The number of faces on which to set the normal. |
in_normal | The normal to set on the faces for this MeshKit. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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 MeshKit at which to start setting colors. |
in_count | Size of the following array. |
in_rgb_colors | The RGB colors to set on the faces for this MeshKit. |
MeshKit& MeshKit::SetFaceRGBColorsByRange | ( | size_t | in_start, |
RGBColorArray const & | in_rgb_colors | ||
) |
MeshKit& MeshKit::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 MeshKit at which to start setting the color. |
in_count | The number of faces on which to set the color. |
in_rgb_color | The RGB color to set on the faces for this MeshKit. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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 MeshKit at which to start setting visibilities. |
in_count | Size of the following array. |
in_visibilities | The visibilities to set on the faces for this MeshKit. |
MeshKit& MeshKit::SetFaceVisibilitiesByRange | ( | size_t | in_start, |
BoolArray const & | in_visibilities | ||
) |
MeshKit& MeshKit::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 MeshKit at which to start setting the visibility. |
in_count | The number of faces on which to set the visibility. |
in_visibility | The visibility to set on the faces for this MeshKit. |
MeshKit& MeshKit::SetMaterialMapping | ( | MaterialMappingKit const & | in_kit | ) |
Sets the specified material mappings on this MeshKit. If this kit is used to insert a mesh, only face, back face, cut edge, cut face, edge, and vertex materials will be set on the inserted mesh. These material settings will be "global" for the mesh, i.e., all types will get the material for that type. To get different materials for the same types, e.g., faces with different colors, it is necessary to use the per-vertex or per-face functions.
in_kit | The material mappings to set on this MeshKey. |
MeshKit& MeshKit::SetPoints | ( | PointArray const & | in_points | ) |
MeshKit& MeshKit::SetPoints | ( | size_t | in_rows, |
size_t | in_columns, | ||
PointArray const & | in_points | ||
) |
MeshKit& MeshKit::SetPriority | ( | int | in_priority | ) |
Assigns a specific drawing priority value to the MeshKit. It affects the order in which the contents of this segment are drawn if and only if the rendering algorithm is set to Priority.
in_priority | The drawing priority, higher priority items are drawn on top of lower priority items. |
MeshKit& MeshKit::SetRows | ( | size_t | in_rows | ) |
MeshKit& MeshKit::SetUserData | ( | intptr_t | in_index, |
size_t | in_bytes, | ||
byte const | in_data[] | ||
) |
Sets user data on this kit.
in_index | The index of the user data to set. |
in_bytes | The number of bytes of user data to set. |
in_data | The bytes of user data to set. |
MeshKit& MeshKit::SetUserData | ( | intptr_t | in_index, |
ByteArray const & | in_data | ||
) |
Sets user data on this kit.
in_index | The index of the user data to set. |
in_data | The bytes of user data to set. |
MeshKit& MeshKit::SetUserData | ( | IntPtrTArray const & | in_indices, |
ByteArrayArray const & | in_data | ||
) |
Sets user data on this kit.
out_indices | An array of user data indices to set. |
in_data | An array of bytes of user data to set. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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 MeshKit at which to start setting colors. |
in_count | Size of the following array. |
in_indices | The material indices to set on the vertices for this MeshKit. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKit& MeshKit::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 MeshKit at which to start setting colors. |
in_indices | The material indices to set on the vertices for this MeshKit. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKit& MeshKit::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 MeshKit at which to start setting the color. |
in_count | The number of vertices on which to set the color. |
in_index | The material index to set on the vertices for this MeshKit. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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 MeshKit at which to start setting normals. |
in_count | Size of the following array. |
in_normals | The normals to set on the vertices for this MeshKit. |
MeshKit& MeshKit::SetVertexNormalsByRange | ( | size_t | in_start, |
VectorArray const & | in_normals | ||
) |
MeshKit& MeshKit::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 MeshKit at which to start setting the normal. |
in_count | The number of vertices on which to set the normal. |
in_normal | The normal to set on the vertices for this MeshKit. |
MeshKit& MeshKit::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 MeshKit. |
in_param_width | The number of texture parameters per vertex. Defaults to 2. |
MeshKit& MeshKit::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 MeshKit. 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. |
MeshKit& MeshKit::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 MeshKit at which to start setting texture parameters. |
in_param_count | Size of the following array. This should be divisible by the parameter width, if it is not, some parameters will get ignored. |
in_params | The texture parameters to set on the vertices for this MeshKit. |
in_param_width | The number of texture parameters per vertex. Defaults to 2. |
MeshKit& MeshKit::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 MeshKit at which to start setting texture parameters. |
in_params | The texture parameters to set on the vertices for this MeshKit. The size of the array should be divisible by the parameter width, if it is not, some parameters will get ignored. |
in_param_width | The number of texture parameters per vertex. Defaults to 2. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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 MeshKit at which to start setting colors. |
in_count | Size of the following array. |
in_rgba_colors | The RGBA colors to set on the vertices for this MeshKit. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKit& MeshKit::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. |
in_rgba_colors | The RGBA colors to set on the vertices for this MeshKit. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKit& MeshKit::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 MeshKit at which to start setting the color. |
in_count | The number of vertices on which to set the color. |
in_rgba_color | The RGBA color to set on the vertices for this MeshKit. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
in_count | Size of the following array. |
in_rgb_colors | The RGB colors to set on the vertices for this MeshKit. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKit& MeshKit::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 MeshKit at which to start setting colors. |
in_rgb_colors | The RGB colors to set on the vertices for this MeshKit. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKit& MeshKit::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 MeshKit at which to start setting the color. |
in_count | The number of vertices on which to set the color. |
in_rgb_color | The RGB color to set on the vertices for this MeshKit. |
in_apply_to | The mesh component the colors should apply to. Defaults to Mesh::Component::Faces. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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 MeshKit at which to start setting visibilities. |
in_count | Size of the following array. |
in_visibilities | The visibilities to set on the vertices for this MeshKit. |
MeshKit& MeshKit::SetVertexVisibilitiesByRange | ( | size_t | in_start, |
BoolArray const & | in_visibilities | ||
) |
MeshKit& MeshKit::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 MeshKit at which to start setting the visibility. |
in_count | The number of vertices on which to set the visibility. |
in_visibility | The visibility to set on the vertices for this MeshKit. |
void MeshKit::Show | ( | MeshKit & | out_kit | ) | const |
bool MeshKit::ShowColumns | ( | size_t & | out_columns | ) | const |
bool MeshKit::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::Nothing. |
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::ExplicitRGBColor. |
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 MeshKit::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 MeshKit at which to start showing colors. |
in_count | The number of colors to show. |
out_types | The types of face colors for each face in the specified range. If a face in the specified range does not have a face color set, the entry in this array will be Material::Type::Nothing. |
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::ExplicitRGBColor. |
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 MeshKit::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 MeshKit::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 MeshKit at which to start showing normals. |
in_count | The number of normals to show. |
out_validities | The validities of the normals for each face in the specified range. If a face in the specified range had a normal set on it, the entry in this array will be true, otherwise it will be false. |
out_normals | The face normals for each face in the specified range. out_normals[i] is only valid if out_validities[i] is true. |
bool MeshKit::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 MeshKit::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 MeshKit at which to start showing visibilities. |
in_count | The number of visibilities to show. |
out_validities | The validities of the visibilities for each face in the specified range. If a face in the specified range had a visibility set on it, the entry in this array will be true, otherwise it will be false. |
out_visibilities | The face visibilities for each face in the specified range. out_visibilities[i] is only valid if out_validities[i] is true. |
bool MeshKit::ShowMaterialMapping | ( | MaterialMappingKit & | out_kit | ) | const |
bool MeshKit::ShowPoints | ( | PointArray & | out_points | ) | const |
bool MeshKit::ShowPoints | ( | size_t & | out_rows, |
size_t & | out_columns, | ||
PointArray & | out_points | ||
) | const |
Shows the number of rows, number of columns, and points for this MeshKit.
out_rows | The number of rows for this MeshKit. |
out_columns | The number of columns for this MeshKit. |
out_points | The points for this MeshKit. |
bool MeshKit::ShowPriority | ( | int & | out_priority | ) | const |
Shows the drawing priority.
out_priority | The drawing priority, higher priority items are drawn on top of lower priority items. |
bool MeshKit::ShowRows | ( | size_t & | out_rows | ) | const |
bool MeshKit::ShowUserData | ( | intptr_t | in_index, |
ByteArray & | out_data | ||
) | const |
Shows the user data at a given index for this kit.
in_index | The index of the user data to show. |
out_data | The user data at the given index. |
bool MeshKit::ShowUserData | ( | IntPtrTArray & | out_indices, |
ByteArrayArray & | out_data | ||
) | const |
Shows all user data for this kit.
out_indices | An array of all user data indices set on this kit. |
in_data | An array of all user data set on this kit. |
size_t MeshKit::ShowUserDataCount | ( | ) | const |
Get the number of user data indices set on this kit.
bool MeshKit::ShowUserDataIndices | ( | IntPtrTArray & | out_indices | ) | const |
Shows the indices of all user data set on this kit.
out_indices | The user data indices set on this kit. |
bool MeshKit::ShowVertexColorsByList | ( | SizeTArray const & | in_vertices, |
Mesh::Component | in_applied_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::Nothing. |
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::ExplicitRGBColor. |
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::ExplicitRGBAColor. |
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 MeshKit::ShowVertexColorsByRange | ( | size_t | in_start, |
size_t | in_count, | ||
Mesh::Component | in_applied_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 MeshKit at which to start showing colors. |
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::Nothing. |
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::ExplicitRGBColor. |
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::ExplicitRGBAColor. |
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 MeshKit::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 MeshKit::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 MeshKit at which to start showing normals. |
in_count | The number of normals to show. |
out_validities | The validities of the normals for each vertex in the specified range. If a vertex in the specified range had a normal set on it, the entry in this array will be true, otherwise it will be false. |
out_normals | The vertex normals for each vertex in the specified range. out_normals[i] is only valid if out_validities[i] is true. |
bool MeshKit::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 MeshKit::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 MeshKit::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 MeshKit at which to start showing texture parameters. |
in_count | The number of vertices for which to show the texture parameters. |
out_validities | The validities of the texture parameters for each vertex in the specified range. If a vertex in the specified range had a texture parameter set on it, the entry in this array will be true, otherwise it will be false. |
out_params | The texture parameters for each vertex in the specified range. (out_params[i],...,out_params[i+param_width-1]) are only valid if out_validities[i] is true. |
bool MeshKit::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 MeshKit at which to start showing texture parameters. |
in_count | The number of vertices for which to show the texture parameters. |
out_validities | The validities of the texture parameters for each vertex in the specified range. If a vertex in the specified range had a texture parameter set on it, the entry in this array will be true, otherwise it will be false. |
out_params | The texture parameters for each vertex in the specified range. (out_params[i],...,out_params[i+param_width-1]) are only valid if out_validities[i] is true. |
out_param_width | The number of texture parameters per vertex. |
bool MeshKit::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 MeshKit::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 MeshKit at which to start showing visibilities. |
in_count | The number of visibilities to show. |
out_validities | The validities of the visibilities for each vertex in the specified range. If a vertex in the specified range had a visibility set on it, the entry in this array will be true, otherwise it will be false. |
out_visibilities | The vertex visibilities for each vertex in the specified range. out_visibilities[i] is only valid if out_validities[i] is true. |
MeshKit& MeshKit::UnsetAllUserData | ( | ) |
Removes all user data from this kit.
MeshKit& MeshKit::UnsetColumns | ( | ) |
MeshKit& MeshKit::UnsetEverything | ( | ) |
MeshKit& MeshKit::UnsetFaceColors | ( | ) |
Removes all face colors (RGB colors or material indices).
MeshKit& MeshKit::UnsetFaceColorsByList | ( | SizeTArray const & | in_vertices | ) |
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. |
MeshKit& MeshKit::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 MeshKit at which to start removing colors. |
in_count | The number of face colors to unset for this MeshKit. |
MeshKit& MeshKit::UnsetFaceEverything | ( | ) |
MeshKit& MeshKit::UnsetFaceNormals | ( | ) |
Removes all face normals.
MeshKit& MeshKit::UnsetFaceNormalsByList | ( | SizeTArray const & | in_vertices | ) |
Removes the face normals on a selection of arbitrary faces.
in_faces | The indices of the faces on which to remove the normals. |
MeshKit& MeshKit::UnsetFaceNormalsByRange | ( | size_t | in_start, |
size_t | in_count | ||
) |
MeshKit& MeshKit::UnsetFaceVisibilities | ( | ) |
Removes all face visibilities.
MeshKit& MeshKit::UnsetFaceVisibilitiesByList | ( | SizeTArray const & | in_vertices | ) |
Removes the face visibilities on a selection of arbitrary faces.
in_faces | The indices of the faces on which to remove the visibilities. |
MeshKit& MeshKit::UnsetFaceVisibilitiesByRange | ( | size_t | in_start, |
size_t | in_count | ||
) |
MeshKit& MeshKit::UnsetMaterialMapping | ( | ) |
MeshKit& MeshKit::UnsetPoints | ( | ) |
MeshKit& MeshKit::UnsetPriority | ( | ) |
Removes a drawing priority setting.
MeshKit& MeshKit::UnsetRows | ( | ) |
MeshKit& MeshKit::UnsetUserData | ( | intptr_t | in_index | ) |
Removes the user data at the given index from this kit.
in_index | The index of the user data to remove. |
MeshKit& MeshKit::UnsetUserData | ( | size_t | in_count, |
intptr_t const | in_indices[] | ||
) |
Removes the user data at the given indices from this kit.
in_count | The size of the following array. |
in_indices | The indices of the user data to remove. |
MeshKit& MeshKit::UnsetUserData | ( | IntPtrTArray const & | in_indices | ) |
Removes the user data at the given indices from this kit.
in_indices | The indices of the user data to remove. |
MeshKit& MeshKit::UnsetVertexColors | ( | ) |
Removes all vertex colors (RGB colors, RGBA colors, or material indices) for all mesh components.
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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. |
MeshKit& MeshKit::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 MeshKit at which to start removing colors. |
in_count | The number of vertex colors to unset for this MeshKit. |
MeshKit& MeshKit::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 MeshKit at which to start removing colors. |
in_count | The number of vertex colors to unset for this MeshKit. |
in_apply_to | The mesh component for which to remove the colors. |
MeshKit& MeshKit::UnsetVertexEverything | ( | ) |
MeshKit& MeshKit::UnsetVertexNormals | ( | ) |
Removes all vertex normals.
MeshKit& MeshKit::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. |
MeshKit& MeshKit::UnsetVertexNormalsByRange | ( | size_t | in_start, |
size_t | in_count | ||
) |
MeshKit& MeshKit::UnsetVertexParameters | ( | ) |
Removes all texture parameters.
MeshKit& MeshKit::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. |
MeshKit& MeshKit::UnsetVertexParametersByRange | ( | size_t | in_start, |
size_t | in_count | ||
) |
MeshKit& MeshKit::UnsetVertexVisibilities | ( | ) |
Removes all vertex visibilities.
MeshKit& MeshKit::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. |
MeshKit& MeshKit::UnsetVertexVisibilitiesByRange | ( | size_t | in_start, |
size_t | in_count | ||
) |