root/OpenSceneGraph/trunk/src/osgAnimation/Channel.cpp
@
13041
| Revision 13041, 1.2 kB (checked in by robert, 15 months ago) | |
|---|---|
|
|
| Line | |
|---|---|
| 1 | /* -*-c++-*- |
| 2 | * Copyright (C) 2008 Cedric Pinson <cedric.pinson@plopbyte.net> |
| 3 | * |
| 4 | * This library is open source and may be redistributed and/or modified under |
| 5 | * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or |
| 6 | * (at your option) any later version. The full license is in LICENSE file |
| 7 | * included with this distribution, and on the openscenegraph.org website. |
| 8 | * |
| 9 | * This library is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * OpenSceneGraph Public License for more details. |
| 13 | */ |
| 14 | |
| 15 | #include <osgAnimation/Channel> |
| 16 | using namespace osgAnimation; |
| 17 | |
| 18 | Channel::Channel() {} |
| 19 | Channel::~Channel() {} |
| 20 | Channel::Channel(const Channel& channel) : osg::Referenced(channel), |
| 21 | _targetName(channel._targetName), |
| 22 | _name(channel._name) |
| 23 | { |
| 24 | } |
| 25 | |
| 26 | const std::string& Channel::getName() const { return _name; } |
| 27 | void Channel::setName (const std::string& name) { _name = name; } |
| 28 | |
| 29 | const std::string& Channel::getTargetName() const { return _targetName;} |
| 30 | void Channel::setTargetName (const std::string& name) { _targetName = name; } |
Note: See TracBrowser
for help on using the browser.
