#include <SceneProjector.h>
◆ SceneCylinderProjector() [1/2]
SceneCylinderProjector::SceneCylinderProjector |
( |
| ) |
|
◆ SceneCylinderProjector() [2/2]
SceneCylinderProjector::SceneCylinderProjector |
( |
const Vector3 & |
center, |
|
|
double |
radius, |
|
|
double |
height, |
|
|
const Quaternion & |
rotation |
|
) |
| |
◆ calcCylinderLineIntersection()
bool SceneCylinderProjector::calcCylinderLineIntersection |
( |
const Vector3d & |
lineStart, |
|
|
const Vector3 & |
lineEnd, |
|
|
Vector3 & |
out_isectFront, |
|
|
Vector3 & |
out_isectBack |
|
) |
| const |
|
protected |
◆ calcUnitCylinderLineIntersection()
bool SceneCylinderProjector::calcUnitCylinderLineIntersection |
( |
const Vector3 & |
lineStart, |
|
|
const Vector3 & |
lineEnd, |
|
|
Vector3 & |
out_isectFront, |
|
|
Vector3 & |
out_isectBack |
|
) |
| const |
|
protected |
◆ initializeProjection()
bool SceneCylinderProjector::initializeProjection |
( |
const SceneWidgetEvent * |
event | ) |
|
This function must be called for the initial event to start the projection to determine whether the surface the user is dragging is the front or back of the cylinder.
◆ project() [1/2]
◆ project() [2/2]
◆ setCylinder()
void SceneCylinderProjector::setCylinder |
( |
const Vector3 & |
center, |
|
|
double |
radius, |
|
|
double |
height, |
|
|
const Quaternion & |
rotation |
|
) |
| |
◆ center_
Vector3 cnoid::SceneCylinderProjector::center_ |
|
protected |
◆ height_
double cnoid::SceneCylinderProjector::height_ |
|
protected |
◆ isFrontSurfaceProjection
bool cnoid::SceneCylinderProjector::isFrontSurfaceProjection |
|
protected |
◆ radius_
double cnoid::SceneCylinderProjector::radius_ |
|
protected |
◆ rotation_
Quaternion cnoid::SceneCylinderProjector::rotation_ |
|
protected |
The documentation for this class was generated from the following files: