#include <hps.h>
The HPS::SphereAttributeControl class is a smart pointer that is tied to a database object. This control gives you access to the tessellation value for spheres. This table lists default values for the various segment attributes accessible from HPS::SphereAttributeControl.
HPS::SphereAttributeControl::SphereAttributeControl |
( |
SegmentKey const & |
in_seg | ) |
|
|
explicit |
Initializes a control tied to the segment in_seg.
Initializes a control tied to the same object as in_that.
HPS::SphereAttributeControl::~SphereAttributeControl |
( |
| ) |
|
Releases a reference to the database object this control is tied to.
HPS::Type HPS::SphereAttributeControl::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 HPS::Control.
Sets the number of faces that should be generated around the equator of spheres.
- Parameters
-
in_facets | the number of faces that should be generated around the equator of spheres. |
- Returns
- A reference to this object.
- See also
- Sphere tessellation default value
bool HPS::SphereAttributeControl::ShowTessellation |
( |
size_t & |
out_facets | ) |
const |
Shows the number of faces that should be generated around the equator of spheres.
- Parameters
-
out_facets | The number of faces that should be generated around the equator of spheres. |
- Returns
- true if the setting is valid, false otherwise.
Removes all settings from this object.
- Returns
- A reference to this object.
Removes the sphere tessellation setting.
- Returns
- A reference to this object.
The documentation for this class was generated from the following file:
- C:/git/visualize/hps/include/hps.h