|
vtlib library
|
Inherits Group.
Public Member Functions | |
| GroupLOD (const GroupLOD &, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| void | setRadius (value_type radius) |
| value_type | getRadius () const |
| void | setCenter (const Vec3 ¢er) |
| const Vec3 & | getCenter () const |
| void | setDistance (float max) |
| float | getDistance () const |
Static Public Member Functions | |
| static void | setGroupDistance (float max) |
| static float | getGroupDistance () |
A simplified version of OSG's LOD node, which simply switches all its on or off based on a single distance. It also allows an extra distance to globally increase the viewable distance for all node of this type.
| GroupLOD::GroupLOD | ( | const GroupLOD & | GroupLOD, |
| const CopyOp & | copyop = CopyOp::SHALLOW_COPY |
||
| ) |
Copy constructor using CopyOp to manage deep vs shallow copy.
|
inline |
return the LOD center point.
|
inline |
returns the maximum visible distance
|
inlinestatic |
Gets the (global, extra) visible distance for nodes of this type.
|
inline |
Get the object-space radius of the volume enclosed by the LOD.
|
inline |
Set the LOD center point.
|
inline |
Sets the maximum visible distance for this node.
|
inlinestatic |
Sets the (global, extra) visible distance for nodes of this type.
|
inline |
Set the object-space reference radius of the volume enclosed by the LOD. Used to determine the bounding sphere of the LOD in the absence of any children.
1.8.10