osgEarth 2.1.1
Public Types | Public Member Functions | Public Attributes

osgEarth::CompositeValidValueOperator Struct Reference

List of all members.

Public Types

typedef std::vector
< osg::ref_ptr
< osgTerrain::ValidDataOperator > > 
ValidDataOperatorList

Public Member Functions

ValidDataOperatorListgetOperators ()
virtual bool operator() (float value) const

Public Attributes

ValidDataOperatorList _operators

Detailed Description

A collection of ValidDataOperators. All operators must pass to be considered valid.

Definition at line 124 of file HeightFieldUtils.


Member Typedef Documentation

typedef std::vector<osg::ref_ptr<osgTerrain::ValidDataOperator> > osgEarth::CompositeValidValueOperator::ValidDataOperatorList

Definition at line 126 of file HeightFieldUtils.


Member Function Documentation

ValidDataOperatorList& osgEarth::CompositeValidValueOperator::getOperators ( ) [inline]

Definition at line 127 of file HeightFieldUtils.

{ return _operators;}

Here is the caller graph for this function:

virtual bool osgEarth::CompositeValidValueOperator::operator() ( float  value) const [inline, virtual]

Definition at line 129 of file HeightFieldUtils.

        {
            for (ValidDataOperatorList::const_iterator itr = _operators.begin(); itr != _operators.end(); ++itr)
            {
                if (!(*itr->get())(value)) return false;
            }
            return true;
        }

Member Data Documentation

Definition at line 138 of file HeightFieldUtils.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines