< Home

< Table of Contents

REFERENCE MANUAL

ColorInterpolationKit Class Reference

#include <hps.h>

Inheritance diagram for ColorInterpolationKit:
Object

Public Member Functions

 ColorInterpolationKit ()
 
 ColorInterpolationKit (ColorInterpolationKit const &in_kit)
 
 ColorInterpolationKit (ColorInterpolationKit &&in_that)
 
bool Empty () const
 
bool Equals (ColorInterpolationKit const &in_kit) const
 
Type ObjectType () const
 
bool operator!= (ColorInterpolationKit const &in_kit) const
 
ColorInterpolationKitoperator= (ColorInterpolationKit &&in_that)
 
ColorInterpolationKitoperator= (ColorInterpolationKit const &in_kit)
 
bool operator== (ColorInterpolationKit const &in_kit) const
 
void Set (ColorInterpolationKit const &in_kit)
 
ColorInterpolationKitSetEdgeColor (bool in_state)
 
ColorInterpolationKitSetEdgeIndex (bool in_state)
 
ColorInterpolationKitSetFaceColor (bool in_state)
 
ColorInterpolationKitSetFaceIndex (bool in_state)
 
ColorInterpolationKitSetVertexColor (bool in_state)
 
ColorInterpolationKitSetVertexIndex (bool in_state)
 
void Show (ColorInterpolationKit &out_kit) const
 
bool ShowEdgeColor (bool &out_state) const
 
bool ShowEdgeIndex (bool &out_state) const
 
bool ShowFaceColor (bool &out_state) const
 
bool ShowFaceIndex (bool &out_state) const
 
bool ShowVertexColor (bool &out_state) const
 
bool ShowVertexIndex (bool &out_state) const
 
ColorInterpolationKitUnsetEdgeColor ()
 
ColorInterpolationKitUnsetEdgeIndex ()
 
ColorInterpolationKitUnsetEverything ()
 
ColorInterpolationKitUnsetFaceColor ()
 
ColorInterpolationKitUnsetFaceIndex ()
 
ColorInterpolationKitUnsetVertexColor ()
 
ColorInterpolationKitUnsetVertexIndex ()
 
virtual ~ColorInterpolationKit ()
 
- Public Member Functions inherited from Object
intptr_t GetClassID () const
 
intptr_t GetInstanceID () const
 
bool HasType (Type in_mask) const
 
 Object (Object &&in_that)
 
Objectoperator= (Object const &other_object)
 
Objectoperator= (Object &&in_that)
 
virtual void Reset ()
 
Type Type () const
 

Static Public Member Functions

static ColorInterpolationKit GetDefault ()
 
- Static Public Member Functions inherited from Object
template<typename T >
static intptr_t ClassID ()
 

Detailed Description

The ColorInterpolationKit class is a user space object, useful for carrying a group attribute settings. Calling ColorInterpolationKit::GetDefault() will return a kit with values found in this table.

Constructor & Destructor Documentation

ColorInterpolationKit::ColorInterpolationKit ( )

Initializes an empty kit.

ColorInterpolationKit::ColorInterpolationKit ( ColorInterpolationKit const &  in_kit)

Copies the kit in_kit into this kit.

ColorInterpolationKit::ColorInterpolationKit ( ColorInterpolationKit &&  in_that)

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

Parameters
in_thatAn rvalue reference to a ColorInterpolationKit to take the impl from.
virtual ColorInterpolationKit::~ColorInterpolationKit ( )
virtual

Destroy this kit.

Member Function Documentation

bool ColorInterpolationKit::Empty ( ) const
virtual

Returns whether this kit has any values currently set on it.

Reimplemented from Object.

bool ColorInterpolationKit::Equals ( ColorInterpolationKit const &  in_kit) const

Compares the contents of in_kit and this kit.

Type ColorInterpolationKit::ObjectType ( ) const
inlinevirtual

This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.

Returns
The declared type of the object in question, which may differ from the true, underlying type.

Reimplemented from Object.

bool ColorInterpolationKit::operator!= ( ColorInterpolationKit const &  in_kit) const

Compares the contents of in_kit and this kit.

ColorInterpolationKit& ColorInterpolationKit::operator= ( ColorInterpolationKit &&  in_that)

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

Parameters
in_thatAn rvalue reference to an ColorInterpolationKit to take the impl from.
Returns
A reference to this ColorInterpolationKit.
ColorInterpolationKit& ColorInterpolationKit::operator= ( ColorInterpolationKit const &  in_kit)

Copies the kit in_kit into this kit.

bool ColorInterpolationKit::operator== ( ColorInterpolationKit const &  in_kit) const

Compares the contents of in_kit and this kit.

void ColorInterpolationKit::Set ( ColorInterpolationKit const &  in_kit)

Copies the kit in_kit into this kit.

ColorInterpolationKit& ColorInterpolationKit::SetEdgeColor ( bool  in_state)

Controls whether edge colors will be interpolated.

Parameters
in_stateWhether edge colors will be interpolated.
Returns
a reference to this object.
ColorInterpolationKit& ColorInterpolationKit::SetEdgeIndex ( bool  in_state)

Controls whether edge index colors will be interpolated.

Parameters
in_stateWhether edge index colors will be interpolated.
Returns
a reference to this object.
ColorInterpolationKit& ColorInterpolationKit::SetFaceColor ( bool  in_state)

Controls whether face colors will be interpolated.

Parameters
in_stateWhether face colors will be interpolated.
Returns
a reference to this object.
ColorInterpolationKit& ColorInterpolationKit::SetFaceIndex ( bool  in_state)

Controls whether face colors index will be interpolated.

Parameters
in_stateWhether face index colors will be interpolated.
Returns
a reference to this object.
ColorInterpolationKit& ColorInterpolationKit::SetVertexColor ( bool  in_state)

Controls whether vertex colors will be interpolated.

Parameters
in_stateWhether vertex colors will be interpolated.
Returns
a reference to this object.
ColorInterpolationKit& ColorInterpolationKit::SetVertexIndex ( bool  in_state)

Controls whether vertex index colors will be interpolated.

Parameters
in_stateWhether vertex index colors will be interpolated.
Returns
a reference to this object.
void ColorInterpolationKit::Show ( ColorInterpolationKit out_kit) const

Copies this kit into out_kit.

bool ColorInterpolationKit::ShowEdgeColor ( bool &  out_state) const

Shows whether color interpolation for the edge color is set

Parameters
out_stateThe edge setting for the color interpolation
Returns
true if the setting is valid, false otherwise.
bool ColorInterpolationKit::ShowEdgeIndex ( bool &  out_state) const

Shows whether color index interpolation for the edge index is set

Parameters
out_stateThe edge setting for the color index interpolation
Returns
true if the setting is valid, false otherwise.
bool ColorInterpolationKit::ShowFaceColor ( bool &  out_state) const

Shows whether color interpolation for the face color is set

Parameters
out_stateThe face setting for the color interpolation
Returns
true if the setting is valid, false otherwise.
bool ColorInterpolationKit::ShowFaceIndex ( bool &  out_state) const

Shows whether color index interpolation for the face index is set

Parameters
out_stateThe face setting for the color index interpolation
Returns
true if the setting is valid, false otherwise.
bool ColorInterpolationKit::ShowVertexColor ( bool &  out_state) const

Shows whether color interpolation for the vertex color is set

Parameters
out_stateThe vertex setting for the color interpolation
Returns
true if the setting is valid, false otherwise.
bool ColorInterpolationKit::ShowVertexIndex ( bool &  out_state) const

Shows whether color index interpolation for the vertex index is set

Parameters
out_stateThe vertex setting for the color index interpolation
Returns
true if the setting is valid, false otherwise.
ColorInterpolationKit& ColorInterpolationKit::UnsetEdgeColor ( )

Removes the edge color interpolation setting.

Returns
a reference to this object.
ColorInterpolationKit& ColorInterpolationKit::UnsetEdgeIndex ( )

Removes the edge index color interpolation setting.

Returns
a reference to this object.
ColorInterpolationKit& ColorInterpolationKit::UnsetEverything ( )

Unsets all settings in this kit.

Returns
a reference to this object.
ColorInterpolationKit& ColorInterpolationKit::UnsetFaceColor ( )

Removes the face color interpolation setting.

Returns
a reference to this object.
ColorInterpolationKit& ColorInterpolationKit::UnsetFaceIndex ( )

Removes the face index color interpolation setting.

Returns
a reference to this object.
ColorInterpolationKit& ColorInterpolationKit::UnsetVertexColor ( )

Removes the vertex color interpolation setting.

Returns
a reference to this object.
ColorInterpolationKit& ColorInterpolationKit::UnsetVertexIndex ( )

Removes the vertex index color interpolation setting.

Returns
a reference to this object.

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