Changeset 1288 for trunk/Source/Contrib/Manipulators/OSGManipulatorBase.inl
- Timestamp:
- 06/09/08 01:10:45 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Source/Contrib/Manipulators/OSGManipulatorBase.inl
r1197 r1288 118 118 //! Get the value of the Manipulator::_sfLastMousePos field. 119 119 inline 120 const Pnt2f ManipulatorBase::getLastMousePos(void) const120 const Pnt2f &ManipulatorBase::getLastMousePos(void) const 121 121 { 122 122 return _sfLastMousePos.getValue(); 123 123 } 124 124 125 #ifdef OSG_1_GET_COMPAT126 inline127 Pnt2f &ManipulatorBase::getLastMousePos (void)128 {129 return this->editLastMousePos ();130 }131 #endif132 133 125 //! Set the value of the Manipulator::_sfLastMousePos field. 134 126 inline … … 167 159 //! Get the value of the Manipulator::_sfActive field. 168 160 inline 169 const boolManipulatorBase::getActive(void) const161 bool ManipulatorBase::getActive(void) const 170 162 { 171 163 return _sfActive.getValue(); 172 164 } 173 165 174 #ifdef OSG_1_GET_COMPAT175 inline176 bool &ManipulatorBase::getActive (void)177 {178 return this->editActive ();179 }180 #endif181 182 166 //! Set the value of the Manipulator::_sfActive field. 183 167 inline 184 void ManipulatorBase::setActive(const bool &value)168 void ManipulatorBase::setActive(const bool value) 185 169 { 186 170 editSField(ActiveFieldMask); … … 200 184 //! Get the value of the Manipulator::_sfLength field. 201 185 inline 202 const Vec3f ManipulatorBase::getLength(void) const186 const Vec3f &ManipulatorBase::getLength(void) const 203 187 { 204 188 return _sfLength.getValue(); 205 189 } 206 207 #ifdef OSG_1_GET_COMPAT208 inline209 Vec3f &ManipulatorBase::getLength (void)210 {211 return this->editLength ();212 }213 #endif214 190 215 191 //! Set the value of the Manipulator::_sfLength field.
