|
| | Octree () |
| |
| | Octree (const size_t &max_depth) |
| |
| | Octree (const size_t &max_depth, const Eigen::Vector3d &origin, const double &size) |
| |
| | Octree (const Octree &src_octree) |
| |
| | ~Octree () override |
| |
| Octree & | Clear () override |
| |
| bool | IsEmpty () const override |
| |
| Eigen::Vector3d | GetMinBound () const override |
| |
| Eigen::Vector3d | GetMaxBound () const override |
| |
| Eigen::Vector3d | GetCenter () const override |
| |
| AxisAlignedBoundingBox | GetAxisAlignedBoundingBox () const override |
| |
| OrientedBoundingBox | GetOrientedBoundingBox () const override |
| |
| Octree & | Transform (const Eigen::Matrix4d &transformation) override |
| |
| Octree & | Translate (const Eigen::Vector3d &translation, bool relative=true) override |
| |
| Octree & | Scale (const double scale, bool center=true) override |
| |
| Octree & | Rotate (const Eigen::Vector3d &rotation, bool center=true, RotationType type=RotationType::XYZ) override |
| |
| bool | ConvertToJsonValue (Json::Value &value) const override |
| |
| bool | ConvertFromJsonValue (const Json::Value &value) override |
| |
| void | ConvertFromPointCloud (const geometry::PointCloud &point_cloud, double size_expand=0.01) |
| |
| void | InsertPoint (const Eigen::Vector3d &point, const std::function< std::shared_ptr< OctreeLeafNode >()> &f_init, const std::function< void(std::shared_ptr< OctreeLeafNode >)> &f_update) |
| | Insert point. More...
|
| |
| void | Traverse (const std::function< void(const std::shared_ptr< OctreeNode > &, const std::shared_ptr< OctreeNodeInfo > &)> &f) |
| |
| void | Traverse (const std::function< void(const std::shared_ptr< OctreeNode > &, const std::shared_ptr< OctreeNodeInfo > &)> &f) const |
| |
| std::pair< std::shared_ptr< OctreeLeafNode >, std::shared_ptr< OctreeNodeInfo > > | LocateLeafNode (const Eigen::Vector3d &point) const |
| |
| bool | operator== (const Octree &other) const |
| | Returns true if the Octree is completely the same, used for testing. More...
|
| |
| std::shared_ptr< geometry::VoxelGrid > | ToVoxelGrid () const |
| | Convert to voxel grid. More...
|
| |
| void | CreateFromVoxelGrid (const geometry::VoxelGrid &voxel_grid) |
| | Convert from voxel grid. More...
|
| |
| | ~Geometry3D () override |
| |
| virtual | ~Geometry () |
| |
| GeometryType | GetGeometryType () const |
| |
| int | Dimension () const |
| |
| virtual | ~IJsonConvertible () |
| |
|
| static bool | IsPointInBound (const Eigen::Vector3d &point, const Eigen::Vector3d &origin, const double &size) |
| |
| static bool | EigenVector3dFromJsonArray (Eigen::Vector3d &vec, const Json::Value &value) |
| |
| static bool | EigenVector3dToJsonArray (const Eigen::Vector3d &vec, Json::Value &value) |
| |
| static bool | EigenVector4dFromJsonArray (Eigen::Vector4d &vec, const Json::Value &value) |
| |
| static bool | EigenVector4dToJsonArray (const Eigen::Vector4d &vec, Json::Value &value) |
| |
| static bool | EigenMatrix3dFromJsonArray (Eigen::Matrix3d &mat, const Json::Value &value) |
| |
| static bool | EigenMatrix3dToJsonArray (const Eigen::Matrix3d &mat, Json::Value &value) |
| |
| static bool | EigenMatrix4dFromJsonArray (Eigen::Matrix4d &mat, const Json::Value &value) |
| |
| static bool | EigenMatrix4dToJsonArray (const Eigen::Matrix4d &mat, Json::Value &value) |
| |
| static bool | EigenMatrix4dFromJsonArray (Eigen::Matrix4d_u &mat, const Json::Value &value) |
| |
| static bool | EigenMatrix4dToJsonArray (const Eigen::Matrix4d_u &mat, Json::Value &value) |
| |
| static bool | EigenMatrix6dFromJsonArray (Eigen::Matrix6d &mat, const Json::Value &value) |
| |
| static bool | EigenMatrix6dToJsonArray (const Eigen::Matrix6d &mat, Json::Value &value) |
| |
| static bool | EigenMatrix6dFromJsonArray (Eigen::Matrix6d_u &mat, const Json::Value &value) |
| |
| static bool | EigenMatrix6dToJsonArray (const Eigen::Matrix6d_u &mat, Json::Value &value) |
| |
|
| enum | RotationType {
RotationType::XYZ,
RotationType::YZX,
RotationType::ZXY,
RotationType::XZY,
RotationType::ZYX,
RotationType::YXZ,
RotationType::AxisAngle
} |
| |
| enum | GeometryType {
GeometryType::Unspecified = 0,
GeometryType::PointCloud = 1,
GeometryType::VoxelGrid = 2,
GeometryType::Octree = 3,
GeometryType::LineSet = 4,
GeometryType::TriangleMesh = 5,
GeometryType::HalfEdgeTriangleMesh = 6,
GeometryType::Image = 7,
GeometryType::RGBDImage = 8,
GeometryType::TetraMesh = 9,
GeometryType::OrientedBoundingBox = 10,
GeometryType::AxisAlignedBoundingBox = 11
} |
| |
| | Geometry3D (GeometryType type) |
| |
| Eigen::Vector3d | ComputeMinBound (const std::vector< Eigen::Vector3d > &points) const |
| |
| Eigen::Vector3d | ComputeMaxBound (const std::vector< Eigen::Vector3d > &points) const |
| |
| Eigen::Vector3d | ComputeCenter (const std::vector< Eigen::Vector3d > &points) const |
| |
| void | ResizeAndPaintUniformColor (std::vector< Eigen::Vector3d > &colors, const size_t size, const Eigen::Vector3d &color) const |
| |
| void | TransformPoints (const Eigen::Matrix4d &transformation, std::vector< Eigen::Vector3d > &points) const |
| |
| void | TransformNormals (const Eigen::Matrix4d &transformation, std::vector< Eigen::Vector3d > &normals) const |
| |
| void | TranslatePoints (const Eigen::Vector3d &translation, std::vector< Eigen::Vector3d > &points, bool relative) const |
| |
| void | ScalePoints (const double scale, std::vector< Eigen::Vector3d > &points, bool center) const |
| |
| void | RotatePoints (const Eigen::Vector3d &rotation, std::vector< Eigen::Vector3d > &points, bool center, RotationType type) const |
| |
| void | RotateNormals (const Eigen::Vector3d &rotation, std::vector< Eigen::Vector3d > &normals, bool center, RotationType type) const |
| |
| Eigen::Matrix3d | GetRotationMatrix (const Eigen::Vector3d &rotation, RotationType type=RotationType::XYZ) const |
| |
| | Geometry (GeometryType type, int dimension) |
| |