Go to the documentation of this file.
6 #ifndef CNOID_BODY_RANGE_CAMERA_H
7 #define CNOID_BODY_RANGE_CAMERA_H
10 #include "exportdecl.h"
20 virtual const char* typeName()
const override;
22 virtual void copyStateFrom(
const DeviceState& other)
override;
24 virtual void forEachActualType(std::function<
bool(
const std::type_info& type)> func)
override;
25 virtual void clearState()
override;
34 PointData& newPoints();
52 void setOrganized(
bool on);
57 std::shared_ptr<const PointData>
sharedPoints()
const {
return points_; }
64 void setPoints(std::shared_ptr<PointData>& points);
68 bool readSpecifications(
const Mapping* info);
69 bool writeSpecifications(
Mapping* info)
const;
75 std::shared_ptr<std::vector<Vector3f>> points_;
81 void copyRangeCameraStateFrom(
const RangeCamera& other);
std::shared_ptr< const PointData > sharedPoints() const
Definition: RangeCamera.h:57
Definition: ValueTree.h:253
void setDense(bool on)
Definition: RangeCamera.h:55
double maxDistance() const
Definition: RangeCamera.h:41
const PointData & points() const
Definition: RangeCamera.h:31
const PointData & constPoints() const
Definition: RangeCamera.h:32
ref_ptr< RangeCamera > RangeCameraPtr
Definition: RangeCamera.h:84
Definition: Referenced.h:103
double minDistance() const
Definition: RangeCamera.h:48
bool isOrganized() const
Definition: RangeCamera.h:51
void setMinDistance(double d)
Definition: RangeCamera.h:49
Definition: RangeCamera.h:14
Definition: AbstractSceneLoader.h:11
Definition: CloneMap.h:13
Definition: Referenced.h:54
void setMaxDistance(double d)
Definition: RangeCamera.h:42
int numPoints() const
Definition: RangeCamera.h:27
bool isDense() const
Definition: RangeCamera.h:54
std::vector< Vector3f > PointData
Definition: RangeCamera.h:29