Go to the documentation of this file.
5 #ifndef CNOID_BASE_MULTI_POINT_SET_ITEM_H
6 #define CNOID_BASE_MULTI_POINT_SET_ITEM_H
8 #include <cnoid/PointSetItem>
9 #include "exportdecl.h"
25 void setVisibilityMode(
int mode);
33 void setRenderingMode(
int mode);
34 int renderingMode()
const;
36 void setPointSize(
double size);
37 double pointSize()
const;
39 double voxelSize()
const;
40 void setVoxelSize(
double size);
42 int numPointSetItems()
const;
46 int numVisiblePointSetItems()
const;
48 const PointSetItem* visiblePointSetItem(
int index)
const;
50 void selectSinglePointSetItem(
int index);
52 SignalProxy<void(
int index)> sigPointSetItemAdded();
56 void setOffsetPosition(
const Isometry3& T);
58 void notifyOffsetPositionChange();
60 Isometry3 totalOffsetPositionOf(
int index)
const;
63 [[deprecated(
"Use offsetPosition.")]]
65 [[deprecated(
"Use setOffsetPosition.")]]
67 [[deprecated(
"Use sigOffsetPositionChanged.")]]
69 [[deprecated(
"Use notifyOffsetPositionChange.")]]
71 [[deprecated(
"Use totalOffsetPositionOf.")]]
74 int numAttentionPoints()
const;
75 Vector3 attentionPoint(
int index)
const;
76 void clearAttentionPoints();
77 void addAttentionPoint(
const Vector3& p);
79 void notifyAttentionPointChange();
82 virtual SgNode* getScene()
override;
84 virtual bool store(
Archive& archive)
override;
85 virtual bool restore(
const Archive& archive)
override;
87 bool startAutomaticSave(
const std::string& filename);
88 void stopAutomaticSave();
91 int numActivePointSetItems()
const;
99 virtual Item* doDuplicate()
const override;
@ ShowSelected
Definition: MultiPointSetItem.h:23
Isometry3 offsetTransform(int index) const
Definition: MultiPointSetItem.h:72
@ POINT
Definition: PointSetItem.h:54
Eigen::Vector3d Vector3
Definition: EigenTypes.h:57
RenderingMode
Definition: MultiPointSetItem.h:27
Definition: ExtensionManager.h:23
Definition: PutPropertyFunction.h:51
Eigen::Isometry3d Isometry3
Definition: EigenTypes.h:73
void notifyTopOffsetTransformChange()
Definition: MultiPointSetItem.h:70
ref_ptr< MultiPointSetItem > MultiPointSetItemPtr
Definition: MultiPointSetItem.h:107
const Isometry3 & topOffsetTransform() const
Definition: MultiPointSetItem.h:64
@ VOXEL
Definition: PointSetItem.h:54
Definition: AbstractSceneLoader.h:11
Definition: RenderableItem.h:11
void setTopOffsetTransform(const Isometry3 &T)
Definition: MultiPointSetItem.h:66
SignalProxy< void(const Isometry3 &T)> sigTopOffsetTransformChanged()
Definition: MultiPointSetItem.h:68
VisibilityMode
Definition: MultiPointSetItem.h:22
Definition: MultiPointSetItem.h:13
Definition: SceneGraph.h:157
Definition: PointSetItem.h:19