14#ifndef OSG_DepthRangeIndexed
15#define OSG_DepthRangeIndexed 1
58 virtual unsigned int getMember()
const {
return _index; }
64 unsigned int getIndex()
const {
return _index; }
66 inline void setZNear(
double zNear) { _zNear=zNear; }
67 inline double getZNear()
const {
return _zNear; }
69 inline void setZFar(
double zFar) { _zFar=zFar; }
70 inline double getZFar()
const {
return _zFar; }
#define COMPARE_StateAttribute_Parameter(parameter)
Definition StateAttribute:69
#define COMPARE_StateAttribute_Types(TYPE, rhs_attribute)
Definition StateAttribute:57
Definition DepthRangeIndexed:24
double getZNear() const
Definition DepthRangeIndexed:67
unsigned int _index
Definition DepthRangeIndexed:78
double _zFar
Definition DepthRangeIndexed:80
DepthRangeIndexed(const DepthRangeIndexed &dp, const CopyOp ©op=CopyOp::SHALLOW_COPY)
Definition DepthRangeIndexed:35
virtual int compare(const StateAttribute &sa) const
Definition DepthRangeIndexed:44
virtual unsigned int getMember() const
Definition DepthRangeIndexed:58
META_StateAttribute(osg, DepthRangeIndexed, DEPTHRANGEINDEXED)
void setIndex(unsigned int index)
double getZFar() const
Definition DepthRangeIndexed:70
void setZNear(double zNear)
Definition DepthRangeIndexed:66
virtual void apply(State &state) const
double _zNear
Definition DepthRangeIndexed:79
unsigned int getIndex() const
Definition DepthRangeIndexed:64
void setZFar(double zFar)
Definition DepthRangeIndexed:69
DepthRangeIndexed(unsigned int index, double zNear=0.0, double zFar=1.0)
Definition DepthRangeIndexed:29
virtual ~DepthRangeIndexed()
Definition StateAttribute:77
author: Julien Valentin 2017 (mp3butcher@hotmail.com)
Definition AlphaFunc:19
#define OSG_EXPORT
Definition osg/Export:39