Choreonoid
1.5
|
#include <SceneCameras.h>
Public Member Functions | |
SgPerspectiveCamera () | |
SgPerspectiveCamera (const SgPerspectiveCamera &org) | |
virtual SgObject * | clone (SgCloneMap &cloneMap) const |
virtual void | accept (SceneVisitor &visitor) |
double | fieldOfView () const |
void | setFieldOfView (double fov) |
double | fovy (double aspectRatio) const |
![]() | |
double | nearClipDistance () const |
void | setNearClipDistance (double d) |
double | farClipDistance () const |
void | setFarClipDistance (double d) |
![]() | |
SgNode () | |
SgNode (const SgNode &org) | |
~SgNode () | |
virtual const BoundingBox & | boundingBox () const |
SgNode * | cloneNode (SgCloneMap &cloneMap) const |
virtual bool | isGroup () const |
![]() | |
const std::string & | name () const |
void | setName (const std::string &name) |
virtual int | numChildObjects () const |
virtual SgObject * | childObject (int index) |
SignalProxy< void(const SgUpdate &update)> | sigUpdated () |
void | notifyUpdate (SgUpdate &update) |
void | notifyUpdate (int action=SgUpdate::MODIFIED) |
void | addParent (SgObject *parent, bool doNotify=false) |
void | removeParent (SgObject *parent) |
int | numParents () const |
bool | hasParents () const |
const_parentIter | parentBegin () const |
const_parentIter | parentEnd () const |
SignalProxy< void(bool on)> | sigGraphConnection () |
![]() | |
virtual | ~Referenced () |
void | addRef () |
void | releaseRef () |
Static Public Member Functions | |
static double | fovy (double aspectRatio, double fieldOfView) |
![]() | |
static Affine3 | positionLookingFor (const Vector3 &eye, const Vector3 &direction, const Vector3 &up) |
static Affine3 | positionLookingAt (const Vector3 &eye, const Vector3 ¢er, const Vector3 &up) |
template<class Scalar , int Mode, int Options> | |
static Eigen::Matrix< Scalar, 3, 1 > | right (const Eigen::Transform< Scalar, 3, Mode, Options > &T) |
template<class Scalar , int Mode, int Options> | |
static Eigen::Matrix< Scalar, 3, 1 > | direction (const Eigen::Transform< Scalar, 3, Mode, Options > &T) |
template<class Scalar , int Mode, int Options> | |
static Eigen::Matrix< Scalar, 3, 1 > | up (const Eigen::Transform< Scalar, 3, Mode, Options > &T) |
Additional Inherited Members | |
![]() | |
typedef std::set< SgObject * > | ParentContainer |
typedef ParentContainer::iterator | parentIter |
typedef ParentContainer::const_iterator | const_parentIter |
![]() | |
SgCamera () | |
SgCamera (const SgCamera &org) | |
![]() | |
SgPreprocessed () | |
SgPreprocessed (const SgPreprocessed &org) | |
![]() | |
SgObject () | |
SgObject (const SgObject &org) | |
virtual void | onUpdated (SgUpdate &update) |
![]() | |
Referenced () | |
Referenced (const Referenced &org) | |
int | refCount () const |
SgPerspectiveCamera::SgPerspectiveCamera | ( | ) |
SgPerspectiveCamera::SgPerspectiveCamera | ( | const SgPerspectiveCamera & | org | ) |
|
virtual |
Reimplemented from cnoid::SgCamera.
|
virtual |
Reimplemented from cnoid::SgPreprocessed.
|
inline |
|
static |
aspectRatio | width / height |
|
inline |
|
inline |