Go to the documentation of this file.
5 #ifndef CNOID_BASE_SCENE_PROJECTOR_H
6 #define CNOID_BASE_SCENE_PROJECTOR_H
9 #include "exportdecl.h"
24 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
31 double d()
const {
return d_; }
39 bool calcPlaneLineIntersection(
47 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
52 void setCylinder(
const Vector3& center,
double radius,
double height,
const Quaternion& rotation);
71 bool calcUnitCylinderLineIntersection(
73 bool calcCylinderLineIntersection(
74 const Vector3d& lineStart,
const Vector3& lineEnd,
Vector3& out_isectFront,
Vector3& out_isectBack)
const;
Quaternion rotation_
Definition: SceneProjector.h:66
Eigen::Quaterniond Quaternion
Definition: EigenTypes.h:66
Eigen::Vector3d Vector3
Definition: EigenTypes.h:57
double radius_
Definition: SceneProjector.h:64
double d() const
Definition: SceneProjector.h:31
double height_
Definition: SceneProjector.h:65
bool isFrontSurfaceProjection
Definition: SceneProjector.h:67
const Vector3 & normal() const
Definition: SceneProjector.h:30
Definition: SceneProjector.h:44
Definition: SceneProjector.h:21
Definition: AbstractSceneLoader.h:11
Vector3 center_
Definition: SceneProjector.h:63
Definition: SceneProjector.h:13