#include <hps.h>
Public Member Functions | |
MaterialMappingControl (SegmentKey &in_seg) | |
Initializes a control tied to the segment in_seg. More... | |
MaterialMappingControl (MaterialMappingControl const &in_that) | |
Initializes a control tied to the same object as in_that. More... | |
MaterialMappingControl (MaterialMappingControl &&in_that) | |
The move constructor creates a MaterialMappingControl by transferring the underlying impl of the rvalue reference to this MaterialMappingControl thereby avoiding a copy and allocation. More... | |
MaterialMappingControl & | operator= (MaterialMappingControl &&in_that) |
The move assignment operator transfers the underlying impl of the rvalue reference to this MaterialMappingControl thereby avoiding a copy. More... | |
~MaterialMappingControl () | |
Releases a reference to the database object this control is tied to. More... | |
virtual HPS::Type | Type () const |
This function returns the true type of the underlying object. More... | |
HPS::Type | ObjectType () const |
MaterialMappingControl & | operator= (MaterialMappingControl const &in_that) |
Share the underlying smart-pointer of the MaterialMappingControl source. More... | |
MaterialMappingControl & | SetAmbientLightUpColor (RGBAColor const &in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetAmbientLightUpMaterialByIndex (float in_material_index) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetAmbientLightDownColor (RGBAColor const &in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetAmbientLightDownMaterialByIndex (float in_material_index) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetBackFaceAlpha (float in_alpha) |
Sets an alpha on the diffuse channel using in_alpha on the back face, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetBackFaceColor (RGBAColor const &in_rgba_color, Material::Color::Channel in_channel=Material::Color::Channel::DiffuseColor) |
Sets a color on a particular channel using an RGBAColor on the back face, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetBackFaceTexture (char const *in_texture_name, Material::Texture::Channel in_channel=Material::Texture::Channel::DiffuseTexture, size_t in_layer=0) |
Sets a texture in_texture_name on the channel in_channel on the back face, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetBackFaceModulatedTexture (char const *in_texture_name, RGBAColor const &in_modulating_color, Material::Texture::Channel in_channel=Material::Texture::Channel::DiffuseTexture, size_t in_layer=0) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetBackFaceGloss (float in_value) |
Sets the gloss – general "shininess" – of this geometry type. More... | |
MaterialMappingControl & | SetBackFaceMaterial (MaterialKit const &in_material) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetBackFaceMaterialByIndex (float in_material_index) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetFrontFaceAlpha (float in_alpha) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetFrontFaceColor (RGBAColor const &in_rgba_color, Material::Color::Channel in_channel=Material::Color::Channel::DiffuseColor) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetFrontFaceTexture (char const *in_texture_name, Material::Texture::Channel in_channel=Material::Texture::Channel::DiffuseTexture, size_t in_layer=0) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetFrontFaceModulatedTexture (char const *in_texture_name, RGBAColor const &in_modulating_color, Material::Texture::Channel in_channel=Material::Texture::Channel::DiffuseTexture, size_t in_layer=0) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetFrontFaceGloss (float in_value) |
Sets the gloss – general "shininess" – of this geometry type. More... | |
MaterialMappingControl & | SetFrontFaceMaterial (MaterialKit const &in_material) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetFrontFaceMaterialByIndex (float in_material_index) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetCutEdgeColor (RGBAColor const &in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetCutEdgeMaterialByIndex (float in_material_index) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetCutFaceAlpha (float in_alpha) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetCutFaceColor (RGBAColor const &in_rgba_color, Material::Color::Channel in_channel=Material::Color::Channel::DiffuseColor) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetCutFaceTexture (char const *in_texture_name, Material::Texture::Channel in_channel=Material::Texture::Channel::DiffuseTexture, size_t in_layer=0) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetCutFaceModulatedTexture (char const *in_texture_name, RGBAColor const &in_modulating_color, Material::Texture::Channel in_channel=Material::Texture::Channel::DiffuseTexture, size_t in_layer=0) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetCutFaceGloss (float in_value) |
Sets the gloss – general "shininess" – of this geometry type. More... | |
MaterialMappingControl & | SetCutFaceMaterial (MaterialKit const &in_material) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetCutFaceMaterialByIndex (float in_material_index) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetEdgeAlpha (float in_alpha) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetEdgeColor (RGBAColor const &in_rgba_color, Material::Color::Channel in_channel=Material::Color::Channel::DiffuseColor) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetEdgeTexture (char const *in_texture_name, Material::Texture::Channel in_channel=Material::Texture::Channel::DiffuseTexture, size_t in_layer=0) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetEdgeModulatedTexture (char const *in_texture_name, RGBAColor const &in_modulating_color, Material::Texture::Channel in_channel=Material::Texture::Channel::DiffuseTexture, size_t in_layer=0) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetEdgeGloss (float in_value) |
Sets the gloss – general "shininess" – of this geometry type. More... | |
MaterialMappingControl & | SetEdgeMaterial (MaterialKit const &in_material) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetEdgeMaterialByIndex (float in_material_index) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetFaceAlpha (float in_alpha) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetFaceColor (RGBAColor const &in_rgba_color, Material::Color::Channel in_channel=Material::Color::Channel::DiffuseColor) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetFaceTexture (char const *in_texture_name, Material::Texture::Channel in_channel=Material::Texture::Channel::DiffuseTexture, size_t in_layer=0) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetFaceModulatedTexture (char const *in_texture_name, RGBAColor const &in_modulating_color, Material::Texture::Channel in_channel=Material::Texture::Channel::DiffuseTexture, size_t in_layer=0) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetFaceGloss (float in_value) |
Sets the gloss – general "shininess" – of this geometry type. More... | |
MaterialMappingControl & | SetFaceMaterial (MaterialKit const &in_material) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetFaceMaterialByIndex (float in_material_index) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetFaceShader (char const *in_shader_name) |
Internal use only - customers should not use. More... | |
MaterialMappingControl & | SetLightColor (RGBAColor const &in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetLightMaterialByIndex (float in_material_index) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetLineColor (RGBAColor const &in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetLineMaterialByIndex (float in_material_index) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetMarkerColor (RGBAColor const &in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetMarkerMaterialByIndex (float in_material_index) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetTextColor (RGBAColor const &in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetTextMaterialByIndex (float in_material_index) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetVertexAlpha (float in_alpha) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetVertexColor (RGBAColor const &in_rgba_color, Material::Color::Channel in_channel=Material::Color::Channel::DiffuseColor) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetVertexTexture (char const *in_texture_name, Material::Texture::Channel in_channel=Material::Texture::Channel::DiffuseTexture, size_t in_layer=0) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetVertexModulatedTexture (char const *in_texture_name, RGBAColor const &in_modulating_color, Material::Texture::Channel in_channel=Material::Texture::Channel::DiffuseTexture, size_t in_layer=0) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type. More... | |
MaterialMappingControl & | SetVertexGloss (float in_value) |
Sets the gloss – general "shininess" – of this geometry type. More... | |
MaterialMappingControl & | SetVertexMaterial (MaterialKit const &in_material) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetVertexMaterialByIndex (float in_material_index) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetVertexShader (char const *in_shader_name) |
Internal use only - customers should not use. More... | |
MaterialMappingControl & | SetWindowColor (RGBAColor const &in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetWindowMaterialByIndex (float in_material_index) |
Sets a color by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetWindowContrastColor (RGBAColor const &in_rgba_color) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetWindowContrastMaterialByIndex (float in_material_index) |
Sets a color by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type. More... | |
MaterialMappingControl & | SetCutGeometryColor (RGBAColor const &in_rgba_color) |
Sets a color on both cut edges and cut faces using an RGBAColor, replacing any previous mapping to those geometry types. More... | |
MaterialMappingControl & | SetCutGeometryMaterialByIndex (float in_color_index) |
Sets a color on both cut edges and cut faces by using in_material_index to index into the active material palette, replacing any previous mapping to those geometry types. More... | |
MaterialMappingControl & | SetAmbientLightColor (RGBAColor const &in_rgba_color) |
Sets a color on both ambient and ambient down using an RGBAColor, replacing any previous mapping to those geometry types. More... | |
MaterialMappingControl & | SetAmbientLightMaterialByIndex (float in_material_index) |
Sets a color on both ambient and ambient down by using in_material_index to index into the active material palette, replacing any previous mapping to those geometry types. More... | |
MaterialMappingControl & | UnsetAmbientLightUpColor () |
Removes the material mapping for this geometry type. More... | |
MaterialMappingControl & | UnsetAmbientLightDownColor () |
Removes the material mapping for this geometry type. More... | |
MaterialMappingControl & | UnsetFrontFaceMaterial () |
Removes the material mapping for all channels of this geometry type. More... | |
MaterialMappingControl & | UnsetFrontFaceChannel (Material::Channel in_channel) |
Removes the material mapping for one channel of this geometry type. More... | |
MaterialMappingControl & | UnsetFrontFaceChannel (Material::Channel in_channel, size_t in_layer) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type. More... | |
MaterialMappingControl & | UnsetBackFaceMaterial () |
Removes the material mapping for all channels of this geometry type. More... | |
MaterialMappingControl & | UnsetBackFaceChannel (Material::Channel in_channel) |
Removes the material mapping for one channel of this geometry type. More... | |
MaterialMappingControl & | UnsetBackFaceChannel (Material::Channel in_channel, size_t in_layer) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type. More... | |
MaterialMappingControl & | UnsetCutEdgeColor () |
Removes the material mapping for this geometry type. More... | |
MaterialMappingControl & | UnsetCutFaceMaterial () |
Removes the material mapping for all channels of this geometry type. More... | |
MaterialMappingControl & | UnsetCutFaceChannel (Material::Channel in_channel) |
Removes the material mapping for one channel of this geometry type. More... | |
MaterialMappingControl & | UnsetCutFaceChannel (Material::Channel in_channel, size_t in_layer) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type. More... | |
MaterialMappingControl & | UnsetEdgeMaterial () |
Removes the material mapping for all channels of this geometry type. More... | |
MaterialMappingControl & | UnsetEdgeChannel (Material::Channel in_channel) |
Removes the material mapping for one channel of this geometry type. More... | |
MaterialMappingControl & | UnsetEdgeChannel (Material::Channel in_channel, size_t in_layer) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type. More... | |
MaterialMappingControl & | UnsetFaceMaterial () |
Removes the material mapping for all channels of this geometry type. More... | |
MaterialMappingControl & | UnsetFaceChannel (Material::Channel in_channel) |
Removes the material mapping for one channel of this geometry type. More... | |
MaterialMappingControl & | UnsetFaceChannel (Material::Channel in_channel, size_t in_layer) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type. More... | |
MaterialMappingControl & | UnsetLightColor () |
Removes the material mapping for this geometry type. More... | |
MaterialMappingControl & | UnsetLineColor () |
Removes the material mapping for this geometry type. More... | |
MaterialMappingControl & | UnsetMarkerColor () |
Removes the material mapping for this geometry type. More... | |
MaterialMappingControl & | UnsetTextColor () |
Removes the material mapping for this geometry type. More... | |
MaterialMappingControl & | UnsetVertexMaterial () |
Removes the material mapping for all channels of this geometry type. More... | |
MaterialMappingControl & | UnsetVertexChannel (Material::Channel in_channel) |
Removes the material mapping for one channel of this geometry type. More... | |
MaterialMappingControl & | UnsetVertexChannel (Material::Channel in_channel, size_t in_layer) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type. More... | |
MaterialMappingControl & | UnsetWindowColor () |
Removes the material mapping for this geometry type. More... | |
MaterialMappingControl & | UnsetWindowContrastColor () |
Removes the material mapping for this geometry type. More... | |
MaterialMappingControl & | UnsetCutGeometryColor () |
Removes the material mapping for both cut edges and cut faces. More... | |
MaterialMappingControl & | UnsetAmbientLightColor () |
Removes the material mapping for both ambient light up and ambient light down. More... | |
MaterialMappingControl & | UnsetEverything () |
Removes all settings from this object. More... | |
bool | ShowAmbientLightUpColor (Material::Type &out_type, RGBAColor &out_rgba_color, float &out_value) const |
Shows the material mapping for this geometry type. More... | |
bool | ShowAmbientLightDownColor (Material::Type &out_type, RGBAColor &out_rgba_color, float &out_value) const |
Shows the material mapping for this geometry type. More... | |
bool | ShowBackFaceChannel (Material::Channel in_channel, Material::Type &out_type, RGBAColor &out_rgba_color, UTF8 &out_texture_name, float &out_value) const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. More... | |
bool | ShowBackFaceChannel (Material::Channel in_channel, size_t in_layer, Material::Type &out_type, RGBAColor &out_rgba_color, UTF8 &out_texture_name, float &out_value) const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. More... | |
bool | ShowBackFaceMaterial (Material::Type &out_type, MaterialKit &out_kit, float &out_value) const |
Shows the material mapping for all channels of this geometry type. More... | |
bool | ShowFrontFaceChannel (Material::Channel in_channel, Material::Type &out_type, RGBAColor &out_rgba_color, UTF8 &out_texture_name, float &out_value) const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. More... | |
bool | ShowFrontFaceChannel (Material::Channel in_channel, size_t in_layer, Material::Type &out_type, RGBAColor &out_rgba_color, UTF8 &out_texture_name, float &out_value) const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. More... | |
bool | ShowFrontFaceMaterial (Material::Type &out_type, MaterialKit &out_kit, float &out_value) const |
Shows the material mapping for all channels of this geometry type. More... | |
bool | ShowCutEdgeColor (Material::Type &out_type, RGBAColor &out_rgba_color, float &out_value) const |
Shows the material mapping for this geometry type. More... | |
bool | ShowCutFaceChannel (Material::Channel in_channel, Material::Type &out_type, RGBAColor &out_rgba_color, UTF8 &out_texture_name, float &out_value) const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. More... | |
bool | ShowCutFaceChannel (Material::Channel in_channel, size_t in_layer, Material::Type &out_type, RGBAColor &out_rgba_color, UTF8 &out_texture_name, float &out_value) const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. More... | |
bool | ShowCutFaceMaterial (Material::Type &out_type, MaterialKit &out_kit, float &out_value) const |
Shows the material mapping for all channels of this geometry type. More... | |
bool | ShowEdgeChannel (Material::Channel in_channel, Material::Type &out_type, RGBAColor &out_rgba_color, UTF8 &out_texture_name, float &out_value) const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. More... | |
bool | ShowEdgeChannel (Material::Channel in_channel, size_t in_layer, Material::Type &out_type, RGBAColor &out_rgba_color, UTF8 &out_texture_name, float &out_value) const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. More... | |
bool | ShowEdgeMaterial (Material::Type &out_type, MaterialKit &out_kit, float &out_value) const |
Shows the material mapping for all channels of this geometry type. More... | |
bool | ShowFaceChannel (Material::Channel in_channel, Material::Type &out_type, RGBAColor &out_rgba_color, UTF8 &out_texture_name, float &out_value) const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. More... | |
bool | ShowFaceChannel (Material::Channel in_channel, size_t in_layer, Material::Type &out_type, RGBAColor &out_rgba_color, UTF8 &out_texture_name, float &out_value) const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. More... | |
bool | ShowFaceMaterial (Material::Type &out_type, MaterialKit &out_kit, float &out_value) const |
Shows the material mapping for all channels of this geometry type. More... | |
bool | ShowLightColor (Material::Type &out_type, RGBAColor &out_rgba_color, float &out_value) const |
Shows the material mapping for this geometry type. More... | |
bool | ShowLineColor (Material::Type &out_type, RGBAColor &out_rgba_color, float &out_value) const |
Shows the material mapping for this geometry type. More... | |
bool | ShowMarkerColor (Material::Type &out_type, RGBAColor &out_rgba_color, float &out_value) const |
Shows the material mapping for this geometry type. More... | |
bool | ShowTextColor (Material::Type &out_type, RGBAColor &out_rgba_color, float &out_value) const |
Shows the material mapping for this geometry type. More... | |
bool | ShowVertexChannel (Material::Channel in_channel, Material::Type &out_type, RGBAColor &out_rgba_color, UTF8 &out_texture_name, float &out_value) const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. More... | |
bool | ShowVertexChannel (Material::Channel in_channel, size_t in_layer, Material::Type &out_type, RGBAColor &out_rgba_color, UTF8 &out_texture_name, float &out_value) const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type. More... | |
bool | ShowVertexMaterial (Material::Type &out_type, MaterialKit &out_kit, float &out_value) const |
Shows the material mapping for all channels of this geometry type. More... | |
bool | ShowWindowColor (Material::Type &out_type, RGBAColor &out_rgba_color, float &out_value) const |
Shows the material mapping for this geometry type. More... | |
bool | ShowWindowContrastColor (Material::Type &out_type, RGBAColor &out_rgba_color, float &out_value) const |
Shows the material mapping for this geometry type. 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::MaterialMappingControl |
Private Member Functions | |
MaterialMappingControl () | |
The HPS::MaterialMappingControl class is a smart pointer that is tied to a database object. This object allows you to manipulate materials at the segment level. Examples of materials include texture, color, and gloss, among other things. Materials can be applied to geometry faces, edges, vertices, and text. Light color can also be set using this control. Materials can be applied at the segment, entity, or subentity level. In all MaterialMappingControl functions that take an RGBAColor, the alpha channel is ignored.
This table lists default values for the various segment attributes accessible from HPS::MaterialMappingControl.
|
explicit |
Initializes a control tied to the segment in_seg.
HPS::MaterialMappingControl::MaterialMappingControl | ( | MaterialMappingControl const & | in_that | ) |
Initializes a control tied to the same object as in_that.
HPS::MaterialMappingControl::MaterialMappingControl | ( | MaterialMappingControl && | in_that | ) |
The move constructor creates a MaterialMappingControl by transferring the underlying impl of the rvalue reference to this MaterialMappingControl thereby avoiding a copy and allocation.
in_that | An rvalue reference to a MaterialMappingControl to take the impl from. |
HPS::MaterialMappingControl::~MaterialMappingControl | ( | ) |
Releases a reference to the database object this control is tied to.
|
private |
|
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.
|
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 |
Returns a unique identifier that is shared by all objects of the same class.
|
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.
|
inherited |
|
inlinevirtual |
Reimplemented from HPS::Control.
MaterialMappingControl& HPS::MaterialMappingControl::operator= | ( | MaterialMappingControl && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this MaterialMappingControl thereby avoiding a copy.
in_that | An rvalue reference to a MaterialMappingControl to take the impl from. |
MaterialMappingControl& HPS::MaterialMappingControl::operator= | ( | MaterialMappingControl const & | in_that | ) |
Share the underlying smart-pointer of the MaterialMappingControl source.
in_that | The MaterialMappingControl source of the assignment. |
|
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.
MaterialMappingControl& HPS::MaterialMappingControl::SetAmbientLightColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color on both ambient and ambient down using an RGBAColor, replacing any previous mapping to those geometry types.
in_rgba_color | An RGBA color that will be applied to those geometry types. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetAmbientLightDownColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | A color to apply to this geometry type. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetAmbientLightDownMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetAmbientLightMaterialByIndex | ( | float | in_material_index | ) |
Sets a color on both ambient and ambient down by using in_material_index to index into the active material palette, replacing any previous mapping to those geometry types.
Because these geometry types only support a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetAmbientLightUpColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | A color to apply to this geometry type. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetAmbientLightUpMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetBackFaceAlpha | ( | float | in_alpha | ) |
Sets an alpha on the diffuse channel using in_alpha on the back face, replacing any previous mapping to that channel on this geometry type.
If diffuse channel doesn't exist, white is used as the default value on diffuse channel with alpha value of in_alpha
in_alpha | A color to apply to the diffuse channel of this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetBackFaceColor | ( | RGBAColor const & | in_rgba_color, |
Material::Color::Channel | in_channel = Material::Color::Channel::DiffuseColor |
||
) |
Sets a color on a particular channel using an RGBAColor on the back face, replacing any previous mapping to that channel on this geometry type.
in_rgba_color | A color to apply to the specified channel of this geometry type. Currently only the DiffuseColor channel supports alpha, it is ignored otherwise. |
in_channel | The color channel to apply the color to. |
MaterialMappingControl& HPS::MaterialMappingControl::SetBackFaceGloss | ( | float | in_value | ) |
Sets the gloss – general "shininess" – of this geometry type.
in_value | A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. |
MaterialMappingControl& HPS::MaterialMappingControl::SetBackFaceMaterial | ( | MaterialKit const & | in_material | ) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
in_material | A material kit to be applied to all channels on this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetBackFaceMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetBackFaceModulatedTexture | ( | char const * | in_texture_name, |
RGBAColor const & | in_modulating_color, | ||
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type.
The texture will be modulated by the specified color. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_modulating_color | a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetBackFaceTexture | ( | char const * | in_texture_name, |
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture in_texture_name on the channel in_channel on the back face, replacing any previous mapping to that channel on this geometry type.
The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutEdgeColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | A color to apply to this geometry type. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutEdgeMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutFaceAlpha | ( | float | in_alpha | ) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type.
If diffuse channel doesn't exist, white is used as the default value on diffuse channel with alpha value of in_alpha
in_alpha | A color to apply to the diffuse channel of this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutFaceColor | ( | RGBAColor const & | in_rgba_color, |
Material::Color::Channel | in_channel = Material::Color::Channel::DiffuseColor |
||
) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
in_rgba_color | A color to apply to the specified channel of this geometry type. Currently only the DiffuseColor channel supports alpha, it is ignored otherwise. |
in_channel | The color channel to apply the color to. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutFaceGloss | ( | float | in_value | ) |
Sets the gloss – general "shininess" – of this geometry type.
in_value | A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutFaceMaterial | ( | MaterialKit const & | in_material | ) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
in_material | A material kit to be applied to all channels on this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutFaceMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutFaceModulatedTexture | ( | char const * | in_texture_name, |
RGBAColor const & | in_modulating_color, | ||
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type.
The texture will be modulated by the specified color. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_modulating_color | a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutFaceTexture | ( | char const * | in_texture_name, |
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type.
The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutGeometryColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color on both cut edges and cut faces using an RGBAColor, replacing any previous mapping to those geometry types.
in_rgba_color | An RGBA color that will be applied to those geometry types. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetCutGeometryMaterialByIndex | ( | float | in_color_index | ) |
Sets a color on both cut edges and cut faces by using in_material_index to index into the active material palette, replacing any previous mapping to those geometry types.
in_color_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetEdgeAlpha | ( | float | in_alpha | ) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type.
If diffuse channel doesn't exist, white is used as the default value on diffuse channel with alpha value of in_alpha
in_alpha | A color to apply to the diffuse channel of this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetEdgeColor | ( | RGBAColor const & | in_rgba_color, |
Material::Color::Channel | in_channel = Material::Color::Channel::DiffuseColor |
||
) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
in_rgba_color | A color to apply to the specified channel of this geometry type. Currently only the DiffuseColor channel supports alpha, it is ignored otherwise. |
in_channel | The color channel to apply the color to. |
MaterialMappingControl& HPS::MaterialMappingControl::SetEdgeGloss | ( | float | in_value | ) |
Sets the gloss – general "shininess" – of this geometry type.
in_value | A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. |
MaterialMappingControl& HPS::MaterialMappingControl::SetEdgeMaterial | ( | MaterialKit const & | in_material | ) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
in_material | A material kit to be applied to all channels on this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetEdgeMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetEdgeModulatedTexture | ( | char const * | in_texture_name, |
RGBAColor const & | in_modulating_color, | ||
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type.
The texture will be modulated by the specified color. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_modulating_color | a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetEdgeTexture | ( | char const * | in_texture_name, |
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type.
The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceAlpha | ( | float | in_alpha | ) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type.
This function sets the alpha for both the front and back faces. If diffuse channel doesn't exist, white is used as the default value on diffuse channel with alpha value of in_alpha
in_alpha | A color to apply to the diffuse channel of this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceColor | ( | RGBAColor const & | in_rgba_color, |
Material::Color::Channel | in_channel = Material::Color::Channel::DiffuseColor |
||
) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
This function sets the color for both the front and back faces.
in_rgba_color | A color to apply to the specified channel of this geometry type. Currently only the DiffuseColor channel supports alpha, it is ignored otherwise. |
in_channel | The color channel to apply the color to. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceGloss | ( | float | in_value | ) |
Sets the gloss – general "shininess" – of this geometry type.
in_value | A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceMaterial | ( | MaterialKit const & | in_material | ) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
in_material | A material kit to be applied to all channels on this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceModulatedTexture | ( | char const * | in_texture_name, |
RGBAColor const & | in_modulating_color, | ||
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type.
The texture will be modulated by the specified color. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_modulating_color | a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceShader | ( | char const * | in_shader_name | ) |
Internal use only - customers should not use.
Applies a shader by name, replacing any previous mapping to the DiffuseTexture channel on this geometry type.
in_shader_name | The name of a shader, defined in a portfolio that is accessible. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFaceTexture | ( | char const * | in_texture_name, |
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type.
The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFrontFaceAlpha | ( | float | in_alpha | ) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type.
If diffuse channel doesn't exist, white is used as the default value on diffuse channel with alpha value of in_alpha
in_alpha | A color to apply to the diffuse channel of this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFrontFaceColor | ( | RGBAColor const & | in_rgba_color, |
Material::Color::Channel | in_channel = Material::Color::Channel::DiffuseColor |
||
) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
in_rgba_color | A color to apply to the specified channel of this geometry type. Currently only the DiffuseColor channel supports alpha, it is ignored otherwise. |
in_channel | The color channel to apply the color to. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFrontFaceGloss | ( | float | in_value | ) |
Sets the gloss – general "shininess" – of this geometry type.
in_value | A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFrontFaceMaterial | ( | MaterialKit const & | in_material | ) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
in_material | A material kit to be applied to all channels on this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFrontFaceMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFrontFaceModulatedTexture | ( | char const * | in_texture_name, |
RGBAColor const & | in_modulating_color, | ||
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type.
The texture will be modulated by the specified color. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_modulating_color | a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetFrontFaceTexture | ( | char const * | in_texture_name, |
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type.
The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetLightColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | A color to apply to this geometry type. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetLightMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetLineColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | A color to apply to this geometry type. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetLineMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetMarkerColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | A color to apply to this geometry type. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetMarkerMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetTextColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | A color to apply to this geometry type. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetTextMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexAlpha | ( | float | in_alpha | ) |
Sets an alpha on the diffuse channel using in_alpha, replacing any previous mapping to that channel on this geometry type.
If diffuse channel doesn't exist, white is used as the default value on diffuse channel with alpha value of in_alpha
in_alpha | A color to apply to the diffuse channel of this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexColor | ( | RGBAColor const & | in_rgba_color, |
Material::Color::Channel | in_channel = Material::Color::Channel::DiffuseColor |
||
) |
Sets a color on a particular channel using an RGBAColor, replacing any previous mapping to that channel on this geometry type.
in_rgba_color | A color to apply to the specified channel of this geometry type. Currently only the DiffuseColor channel supports alpha, it is ignored otherwise. |
in_channel | The color channel to apply the color to. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexGloss | ( | float | in_value | ) |
Sets the gloss – general "shininess" – of this geometry type.
in_value | A gloss value is always positive, and most surfaces have a gloss in the range from 1.0 to 30.0. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexMaterial | ( | MaterialKit const & | in_material | ) |
Sets a material for all channels on this geometry type, replacing any previous mapping to this geometry type.
in_material | A material kit to be applied to all channels on this geometry type. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexMaterialByIndex | ( | float | in_material_index | ) |
Sets a material by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexModulatedTexture | ( | char const * | in_texture_name, |
RGBAColor const & | in_modulating_color, | ||
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture on a particular channel, replacing any previous mapping to that channel on this geometry type.
The texture will be modulated by the specified color. The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_modulating_color | a color that is used to tint the texture. Only textures defined with modulation enabled support this. Alpha channel is ignored. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexShader | ( | char const * | in_shader_name | ) |
Internal use only - customers should not use.
Applies a shader by name, replacing any previous mapping to the DiffuseTexture channel on this geometry type.
in_shader_name | The name of a shader, defined in a portfolio that is accessible. |
MaterialMappingControl& HPS::MaterialMappingControl::SetVertexTexture | ( | char const * | in_texture_name, |
Material::Texture::Channel | in_channel = Material::Texture::Channel::DiffuseTexture , |
||
size_t | in_layer = 0 |
||
) |
Sets a texture in_texture_name on the channel in_channel, replacing any previous mapping to that channel on this geometry type.
The DiffuseTexture channel additionally supports mapping textures to multiple layers with higher layers appearing on top of lower layers.
in_texture_name | The name of a texture, defined in a portfolio that is accessible. |
in_channel | The texture channel to apply the texture to. |
in_layer | The specific layer of in_channel to apply the texture to. Currently only relevant for DiffuseTexture, ignored otherwise. |
MaterialMappingControl& HPS::MaterialMappingControl::SetWindowColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | An RGBA color that will be applied to this geometry types. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetWindowContrastColor | ( | RGBAColor const & | in_rgba_color | ) |
Sets a color using an RGBAColor, replacing any previous mapping to this geometry type.
in_rgba_color | An RGBA color that will be applied to this geometry types. Alpha channel is ignored. |
MaterialMappingControl& HPS::MaterialMappingControl::SetWindowContrastMaterialByIndex | ( | float | in_material_index | ) |
Sets a color by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
MaterialMappingControl& HPS::MaterialMappingControl::SetWindowMaterialByIndex | ( | float | in_material_index | ) |
Sets a color by using in_material_index to index into the active material palette, replacing any previous mapping to this geometry type.
Because this geometry only supports a simple color, only the diffuse channel of the material will be used.
in_material_index | An index into the active material palette. |
bool HPS::MaterialMappingControl::ShowAmbientLightDownColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowAmbientLightUpColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowBackFaceChannel | ( | Material::Channel | in_channel, |
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor or RGBColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. If out_type is DiffuseChannelAlpha, this value contains the alpha value. If out_type is GlossValue, this value contains the gloss value. |
bool HPS::MaterialMappingControl::ShowBackFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer, | ||
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
in_layer | The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor or RGBColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. If out_type is DiffuseChannelAlpha, this value contains the alpha value. If out_type is GlossValue, this value contains the gloss value. |
bool HPS::MaterialMappingControl::ShowBackFaceMaterial | ( | Material::Type & | out_type, |
MaterialKit & | out_kit, | ||
float & | out_value | ||
) | const |
Shows the material mapping for all channels of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_kit | If out_type is FullMaterial, this value contains the material. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowCutEdgeColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowCutFaceChannel | ( | Material::Channel | in_channel, |
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowCutFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer, | ||
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
in_layer | The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowCutFaceMaterial | ( | Material::Type & | out_type, |
MaterialKit & | out_kit, | ||
float & | out_value | ||
) | const |
Shows the material mapping for all channels of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_kit | If out_type is FullMaterial, this value contains the material. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowEdgeChannel | ( | Material::Channel | in_channel, |
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowEdgeChannel | ( | Material::Channel | in_channel, |
size_t | in_layer, | ||
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
in_layer | The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowEdgeMaterial | ( | Material::Type & | out_type, |
MaterialKit & | out_kit, | ||
float & | out_value | ||
) | const |
Shows the material mapping for all channels of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_kit | If out_type is FullMaterial, this value contains the material. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowFaceChannel | ( | Material::Channel | in_channel, |
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor or RGBColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. If out_type is DiffuseChannelAlpha, this value contains the alpha value. If out_type is GlossValue, this value contains the gloss value. |
bool HPS::MaterialMappingControl::ShowFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer, | ||
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
in_layer | The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor or RGBColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. If out_type is DiffuseChannelAlpha, this value contains the alpha value. If out_type is GlossValue, this value contains the gloss value. |
bool HPS::MaterialMappingControl::ShowFaceMaterial | ( | Material::Type & | out_type, |
MaterialKit & | out_kit, | ||
float & | out_value | ||
) | const |
Shows the material mapping for all channels of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_kit | If out_type is FullMaterial, this value contains the material. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowFrontFaceChannel | ( | Material::Channel | in_channel, |
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor or RGBColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. If out_type is DiffuseChannelAlpha, this value contains the alpha value. If out_type is GlossValue, this value contains the gloss value. |
bool HPS::MaterialMappingControl::ShowFrontFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer, | ||
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
in_layer | The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor or RGBColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. If out_type is DiffuseChannelAlpha, this value contains the alpha value. If out_type is GlossValue, this value contains the gloss value. |
bool HPS::MaterialMappingControl::ShowFrontFaceMaterial | ( | Material::Type & | out_type, |
MaterialKit & | out_kit, | ||
float & | out_value | ||
) | const |
Shows the material mapping for all channels of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_kit | If out_type is FullMaterial, this value contains the material. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowLightColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowLineColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowMarkerColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowTextColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowVertexChannel | ( | Material::Channel | in_channel, |
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowVertexChannel | ( | Material::Channel | in_channel, |
size_t | in_layer, | ||
Material::Type & | out_type, | ||
RGBAColor & | out_rgba_color, | ||
UTF8 & | out_texture_name, | ||
float & | out_value | ||
) | const |
Shows the material mapping for the channel in_channel and layer in_layer of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
in_channel | The channel to query. |
in_layer | The specific layer of in_channel to query. Currently only relevant for DiffuseTexture, ignored otherwise. |
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. If out_type is ModulatedTexture, this value contains the modulating color. |
out_texture_name | If out_type is TextureName or ModulatedTexture, this value contains the name of the texture. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowVertexMaterial | ( | Material::Type & | out_type, |
MaterialKit & | out_kit, | ||
float & | out_value | ||
) | const |
Shows the material mapping for all channels of this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_kit | If out_type is FullMaterial, this value contains the material. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowWindowColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
bool HPS::MaterialMappingControl::ShowWindowContrastColor | ( | Material::Type & | out_type, |
RGBAColor & | out_rgba_color, | ||
float & | out_value | ||
) | const |
Shows the material mapping for this geometry type.
The out_type parameter indicates which of the other arguments is valid.
out_type | Indicates the type of material. |
out_rgba_color | If out_type is RGBAColor, this value contains the color. |
out_value | If out_type is MaterialIndex, this value contains the index. |
|
inlinevirtual |
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 from HPS::Control.
MaterialMappingControl& HPS::MaterialMappingControl::UnsetAmbientLightColor | ( | ) |
Removes the material mapping for both ambient light up and ambient light down.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetAmbientLightDownColor | ( | ) |
Removes the material mapping for this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetAmbientLightUpColor | ( | ) |
Removes the material mapping for this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetBackFaceChannel | ( | Material::Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetBackFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer | ||
) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetBackFaceMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetCutEdgeColor | ( | ) |
Removes the material mapping for this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetCutFaceChannel | ( | Material::Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetCutFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer | ||
) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetCutFaceMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetCutGeometryColor | ( | ) |
Removes the material mapping for both cut edges and cut faces.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetEdgeChannel | ( | Material::Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetEdgeChannel | ( | Material::Channel | in_channel, |
size_t | in_layer | ||
) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetEdgeMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetEverything | ( | ) |
Removes all settings from this object.
If the control is attached to a WindowKey this function restores the default settings of this control as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetFaceChannel | ( | Material::Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer | ||
) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetFaceMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetFrontFaceChannel | ( | Material::Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetFrontFaceChannel | ( | Material::Channel | in_channel, |
size_t | in_layer | ||
) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetFrontFaceMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetLightColor | ( | ) |
Removes the material mapping for this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetLineColor | ( | ) |
Removes the material mapping for this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetMarkerColor | ( | ) |
Removes the material mapping for this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetTextColor | ( | ) |
Removes the material mapping for this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetVertexChannel | ( | Material::Channel | in_channel | ) |
Removes the material mapping for one channel of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetVertexChannel | ( | Material::Channel | in_channel, |
size_t | in_layer | ||
) |
Removes the material mapping for one layer of one channel (usually DiffuseTexture) of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetVertexMaterial | ( | ) |
Removes the material mapping for all channels of this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetWindowColor | ( | ) |
Removes the material mapping for this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
MaterialMappingControl& HPS::MaterialMappingControl::UnsetWindowContrastColor | ( | ) |
Removes the material mapping for this geometry type.
If the control is attached to a WindowKey this function restores the default value of this setting as specified by MaterialMappingKit::GetDefault().
|
static |