6 #ifndef CNOID_BODY_RANGE_CAMERA_H 7 #define CNOID_BODY_RANGE_CAMERA_H 20 virtual const char* typeName();
22 virtual void copyStateFrom(
const DeviceState& other);
24 virtual Device* clone()
const;
25 virtual void forEachActualType(boost::function<
bool(
const std::type_info& type)> func);
26 virtual void clearState();
32 const PointData&
points()
const {
return *points_; }
35 PointData& newPoints();
38 void setOrganized(
bool on);
40 boost::shared_ptr<const PointData>
sharedPoints()
const {
return points_; }
47 void setPoints(boost::shared_ptr<PointData>& points);
50 boost::shared_ptr< std::vector<Vector3f> > points_;
54 void copyRangeCameraStateFrom(
const RangeCamera& other);
boost::shared_ptr< const PointData > sharedPoints() const
Definition: RangeCamera.h:40
const PointData & points() const
Definition: RangeCamera.h:32
ref_ptr< RangeCamera > RangeCameraPtr
Definition: RangeCamera.h:57
Definition: Referenced.h:128
Definition: RangeCamera.h:14
const PointData & constPoints() const
Definition: RangeCamera.h:33
Defines the minimum processing for performing pasing file for STL.
Definition: AbstractSceneLoader.h:9
std::vector< Vector3f > PointData
Definition: RangeCamera.h:30
#define CNOID_EXPORT
Definition: Util/exportdecl.h:37
int numPoints() const
Definition: RangeCamera.h:28
bool isOrganized() const
Definition: RangeCamera.h:37