For more information about configuration options, see HT_Renderer::configure.
Each HT_Option_Value object specifies an array of one or more elements of the same type. The common types can be int, long, float, double, HT_Contour_Set, HT_Boolean, HT_String, HT_Palette, address and HT_Aggregate_Option. For a complete list see HT_Option_Enum.
count
type
as_address, set_as_address
as_boolean, set_as_boolean
as_float, set_as_float
as_int, set_as_int
Set or retrieve the value as an integer.
as_long, set_as_long
as_palette, set_as_palette
as_string, set_as_string
as_aggregate, set_as_aggregate
as_double, set_as_double
HT_Option_Value
Purpose
void set_as_address (int index, void const * val) void const * as_address (int index)
void set_as_boolean (int index, HT_Boolean val) HT_Boolean as_boolean (int index)
void set_as_float (int index, float val) float as_float (int index)
void set_as_int (int index, int val) int as_int (int index)
void set_as_long (int index, long val) long as_long (int index)
void set_as_palette (int index, HT_Palette const & val) HT_Palette const & as_palette (int index)
void set_as_string (int index, HT_String const & val) HT_String const & as_string (int index)
void set_as_aggregate (int index, HT_Aggregate_Option const & val) alter
HT_Aggregate_Option const & as_aggregate(int index) const
HT_Aggregate_Option alter & as_aggregate(int index) alter
Void set_as_double (int index, double val) double as_double (int index)
Purpose
int count ()
Purpose
HT_Option_Value () alter
HT_Option_Value (HT_Option_Enum::Type type, int count) alter
HT_Option_Value (HT_Boolean v0) alter
HT_Option_Value (int v0) alter
HT_Option_Value (int v0, int v1) alter
HT_Option_Value (int v0, int v1, int v2) alter;
HT_Option_Value (int v0, int v1, int v2, int v3) alter
HT_Option_Value (int v0, int v1, int v2, int v3, int v4, int v5) alter
HT_Option_Value (long v0) alter
HT_Option_Value (float v0) alter
HT_Option_Value (float v0, float v1) alter
HT_Option_Value (float v0, float v1, float v2) alter
HT_Option_Value (float v0, float v1, float v2, float v3) alter
HT_Option_Value (float v0, float v1, float v2, float v3, float v4, float v5) alter
HT_Option_Value (HT_String const & v0) alter
HT_Option_Value (HT_Palette const & v0) alter
HT_Option_Value (void const * v0) alter
HT_Option_Value (HT_Aggregate_Option const & v0) alter;
HT_Option_Balue (double v0) alter
HT_Option_Balue (double v0,double v1) alter
The second form initializes the type and count fields according to the arguments, and sets the actual value to zero or null, as appropriate for the type.
The rest are convenient functions that set the values
according to their implied types.
Purpose
HT_Option_Enum::Type type ()