REFERENCE MANUAL
#include <hps.h>
Additional Inherited Members | |
![]() | |
template<typename T > | |
static intptr_t | ClassID () |
![]() | |
Control (Control &&in_that) | |
Control & | operator= (Control &&in_that) |
The ColorInterpolationControl class is a smart pointer that is tied to a database object. This class is the interface that allows you to manipulate whether color is interpolated over faces and edges. This table lists default values for the various segment attributes accessible from ColorInterpolationControl.
|
explicit |
Initializes a control tied to the segment in_seg.
ColorInterpolationControl::ColorInterpolationControl | ( | ColorInterpolationControl const & | in_that | ) |
Initializes a control tied to the same object as in_that.
ColorInterpolationControl::ColorInterpolationControl | ( | ColorInterpolationControl && | in_that | ) |
The move constructor creates a ColorInterpolationControl by transferring the underlying impl of the rvalue reference to this ColorInterpolationControl thereby avoiding a copy and allocation.
in_that | An rvalue reference to a ColorInterpolationControl to take the impl from. |
ColorInterpolationControl::~ColorInterpolationControl | ( | ) |
Releases a reference to the database object this control is tied to.
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
Reimplemented from Control.
ColorInterpolationControl& ColorInterpolationControl::operator= | ( | ColorInterpolationControl && | in_that | ) |
The move assignment operator transfers the underlying impl of the rvalue reference to this ColorInterpolationControl thereby avoiding a copy.
in_that | An rvalue reference to a ColorInterpolationControl to take the impl from. |
ColorInterpolationControl& ColorInterpolationControl::SetEdgeColor | ( | bool | in_state | ) |
Controls whether edge colors will be interpolated.
in_state | Whether edge colors will be interpolated. |
ColorInterpolationControl& ColorInterpolationControl::SetEdgeIndex | ( | bool | in_state | ) |
Controls whether edge index colors will be interpolated.
in_state | Whether edge index colors will be interpolated. |
ColorInterpolationControl& ColorInterpolationControl::SetFaceColor | ( | bool | in_state | ) |
Controls whether face colors will be interpolated.
in_state | Whether face colors will be interpolated. |
ColorInterpolationControl& ColorInterpolationControl::SetFaceIndex | ( | bool | in_state | ) |
Controls whether face colors index will be interpolated.
in_state | Whether face index colors will be interpolated. |
ColorInterpolationControl& ColorInterpolationControl::SetVertexColor | ( | bool | in_state | ) |
Controls whether vertex colors will be interpolated.
in_state | Whether vertex colors will be interpolated. |
ColorInterpolationControl& ColorInterpolationControl::SetVertexIndex | ( | bool | in_state | ) |
Controls whether vertex index colors will be interpolated.
in_state | Whether vertex index colors will be interpolated. |
bool ColorInterpolationControl::ShowEdgeColor | ( | bool & | out_state | ) | const |
Shows whether color interpolation for the edge color is set
out_state | The edge setting for the color interpolation |
bool ColorInterpolationControl::ShowEdgeIndex | ( | bool & | out_state | ) | const |
Shows whether color index interpolation for the edge index is set
out_state | The edge setting for the color index interpolation |
bool ColorInterpolationControl::ShowFaceColor | ( | bool & | out_state | ) | const |
Shows whether color interpolation for the face color is set
out_state | The face setting for the color interpolation |
bool ColorInterpolationControl::ShowFaceIndex | ( | bool & | out_state | ) | const |
Shows whether color index interpolation for the face index is set
out_state | The face setting for the color index interpolation |
bool ColorInterpolationControl::ShowVertexColor | ( | bool & | out_state | ) | const |
Shows whether color interpolation for the vertex color is set
out_state | The vertex setting for the color interpolation |
bool ColorInterpolationControl::ShowVertexIndex | ( | bool & | out_state | ) | const |
Shows whether color index interpolation for the vertex index is set
out_state | The vertex setting for the color index interpolation |
ColorInterpolationControl& ColorInterpolationControl::UnsetEdgeColor | ( | ) |
Removes the edge color interpolation setting.
ColorInterpolationControl& ColorInterpolationControl::UnsetEdgeIndex | ( | ) |
Removes the edge index color interpolation setting.
ColorInterpolationControl& ColorInterpolationControl::UnsetEverything | ( | ) |
Unsets all settings in this control.
ColorInterpolationControl& ColorInterpolationControl::UnsetFaceColor | ( | ) |
Removes the face color interpolation setting.
ColorInterpolationControl& ColorInterpolationControl::UnsetFaceIndex | ( | ) |
Removes the face index color interpolation setting.
ColorInterpolationControl& ColorInterpolationControl::UnsetVertexColor | ( | ) |
Removes the vertex color interpolation setting.
ColorInterpolationControl& ColorInterpolationControl::UnsetVertexIndex | ( | ) |
Removes the vertex index color interpolation setting.