32 typedef QSharedPointer<ccOctree>
Shared;
55 void translateBoundingBox(
const CCVector3& T);
58 ccBBox getSquareBB()
const;
60 ccBBox getPointsBB()
const;
63 virtual void clear()
override;
69 void setDisplayedLevel(
int level);
74 inline void setVisible(
bool state) { m_visible = state; }
89 void setDisplayMode(DisplayMode mode);
96 std::vector<unsigned>& inCameraFrustum);
101 PointDescriptor& output,
102 double pickWidth_pix = 3.0)
const;
123 int aimedPopulationPerCell = 16;
124 int aimedPopulationRange =
126 int minCellPopulation = 6;
127 double minAboveMinRatio = 0.97;
156 QWidget* parentWidget =
nullptr);
165 void** additionalParameters,
168 static bool DrawCellAsAPoint(
170 void** additionalParameters,
173 static bool DrawCellAsAPrimitive(
175 void** additionalParameters,
float PointCoordinateType
Type of the coordinates of a (N-D) point.
Camera (projective) sensor.
A 3D cloud interface with associated features (color, normals, octree, etc.)
DisplayMode getDisplayMode() const
Returns the currently display mode.
int m_displayedLevel
Displayed level.
void setVisible(bool state)
Sets octree visibility.
ccGenericPointCloud * m_theAssociatedCloudAsGPC
Associated cloud (as a ccGenericPointCloud)
bool isVisible() const
Returns whether octree is visible or not.
void updated()
Signal sent when the octree organization is modified (cleared, etc.)
DisplayMode
Octree displaying methods.
ccOctreeFrustumIntersector * m_frustumIntersector
For frustum intersection.
DisplayMode m_displayMode
Display mode.
int getDisplayedLevel() const
Returns the currently displayed octree level.
QSharedPointer< ccOctree > Shared
Shared pointer.
bool m_visible
For Octree Display.
The octree structure used throughout the library.
virtual void clear()
Clears the octree.
A very simple point cloud (no point duplication)
unsigned char ColorCompType
Default color components type (R,G and B)
static ecvColor::Rgb ComputeAverageColor(const ccPointCloud &cloud, cloudViewer::ReferenceCloud *subset)
OpenGL camera parameters.
Parameters for the GuessBestRadius method.