17 INLINE PlaneNode::CData::
28 INLINE PlaneNode::CData::
29 CData(
const PlaneNode::CData ©) :
31 _front_viz(copy._front_viz),
32 _back_viz(copy._back_viz),
33 _viz_scale(copy._viz_scale)
43 if (cdata->_plane != plane) {
44 cdata->_plane = plane;
45 cdata->_front_viz =
nullptr;
46 cdata->_back_viz =
nullptr;
66 if (cdata->_viz_scale != viz_scale) {
67 cdata->_viz_scale = viz_scale;
68 cdata->_front_viz =
nullptr;
69 cdata->_back_viz =
nullptr;
80 return cdata->_viz_scale;
121 _clip_effect = clip_effect;
void set_plane(const LPlane &plane)
Sets the particular plane represented by the PlaneNode.
This template class calls PipelineCycler::read_unlocked(), and then provides a transparent read-only ...
void set_viz_scale(PN_stdfloat viz_scale)
Specifies the size of the visual representation of the plane that is drawn if the PlaneNode is shown.
static UpdateSeq get_sort_seq()
Returns a global sequence number that is incremented any time any PlaneNode in the world changes sort...
const LPlane & get_plane() const
Returns the plane represented by the PlaneNode.
PN_stdfloat get_viz_scale() const
Returns the size of the visual representation of the plane that is drawn if the PlaneNode is shown.
This template class calls PipelineCycler::write() in the constructor and PipelineCycler::release_writ...
int get_priority() const
Returns the priority associated with this clip plane.
void set_priority(int priority)
Changes the relative importance of this PlaneNode (when it is used as a clip plane) relative to the o...
void set_clip_effect(int clip_effect)
Specifies the sort of things this plane will actually clip (when it is used as a clip plane).
This is a sequence number that increments monotonically.
int get_clip_effect() const
Returns the clip_effect bits for this clip plane.