cloudViewer.geometry.ccCircle#
- class cloudViewer.geometry.ccCircle#
A 3D circle represented as a polyline.
- class Type#
Enum class for Geometry types.
- BBOX = <Type.BBOX: 35184372088835>#
- BOX = <Type.BOX: 524809>#
- CAMERA_SENSOR = <Type.CAMERA_SENSOR: 4294975489>#
- CONE = <Type.CONE: 262665>#
- CUSTOM_H_OBJECT = <Type.CUSTOM_H_OBJECT: 129>#
- CYLINDER = <Type.CYLINDER: 393737>#
- DISH = <Type.DISH: 1049097>#
- EXTRU = <Type.EXTRU: 2097673>#
- FACET = <Type.FACET: 8388609>#
- GBL_SENSOR = <Type.GBL_SENSOR: 134225921>#
- IMAGE = <Type.IMAGE: 4097>#
- IMAGE2 = <Type.IMAGE2: 562949953421315>#
- LABEL_2D = <Type.LABEL_2D: 35>#
- LINESET = <Type.LINESET: 2251799813685249>#
- MATERIAL_SET = <Type.MATERIAL_SET: 16777222>#
- MESH = <Type.MESH: 513>#
- MESH_GROUP = <Type.MESH_GROUP: 517>#
- OLD_CYLINDER_ID = <Type.OLD_CYLINDER_ID: 131593>#
- ORIENTED_BBOX = <Type.ORIENTED_BBOX: 70368744177667>#
- PLANE = <Type.PLANE: 16905>#
- POINT_CLOUD = <Type.POINT_CLOUD: 257>#
- POINT_KDTREE = <Type.POINT_KDTREE: 4194307>#
- POINT_OCTREE = <Type.POINT_OCTREE: 1027>#
- POINT_OCTREE2 = <Type.POINT_OCTREE2: 140737488355331>#
- POLY_LINE = <Type.POLY_LINE: 2049>#
- PRIMITIVE = <Type.PRIMITIVE: 521>#
- QUADRIC = <Type.QUADRIC: 8589935113>#
- RGBD_IMAGE = <Type.RGBD_IMAGE: 1125899906842627>#
- SENSOR = <Type.SENSOR: 8193>#
- SPHERE = <Type.SPHERE: 33289>#
- SUB_MESH = <Type.SUB_MESH: 515>#
- TETRA_MESH = <Type.TETRA_MESH: 27021597764222977>#
- TORUS = <Type.TORUS: 66057>#
- VIEWPORT_2D_LABEL = <Type.VIEWPORT_2D_LABEL: 99>#
- VIEWPORT_2D_OBJECT = <Type.VIEWPORT_2D_OBJECT: 67>#
- VOXEL_GRID = <Type.VOXEL_GRID: 281474976710657>#
- property name#
- property value#
- static New(*args, **kwargs)#
Overloaded function.
New(objectType: typing.SupportsInt, name: str = None) -> cloudViewer.geometry.ccHObject
New(pluginId: QString, classId: QString, name: str = None) -> cloudViewer.geometry.ccHObject
- __init__(*args, **kwargs)#
Overloaded function.
__init__(self: cloudViewer.geometry.ccCircle, arg0: cloudViewer.geometry.ccCircle) -> None
Copy constructor
__init__(self: cloudViewer.geometry.ccCircle, radius: typing.SupportsFloat = 0.0, resolution: typing.SupportsInt = 48, uniqueID: typing.SupportsInt = 4294967295) -> None
Circle constructor
- add(self, cloud)#
Add another reference cloud.
- Parameters:
cloud (cloudViewer.geometry.ReferenceCloud) –
- Returns:
bool
- add_child(self, child, dependencyFlags=24, insertIndex=-1)#
Adds a child.
- Parameters:
child (cloudViewer.geometry.ccHObject) – child instance geometry
dependencyFlags (SupportsInt, optional, default=24) – dependency flags
insertIndex (SupportsInt, optional, default=-1) – insertion index (if <0, child is simply appended to the children list)
- Returns:
bool
- add_point_index(*args, **kwargs)#
Overloaded function.
- add_point_index(self, global_index)
Point global index insertion mechanism.
- Parameters:
global_index (SupportsInt) –
- Returns:
bool
- add_point_index(self, first_index, last_index)
Point global index insertion mechanism (range).
- Parameters:
first_index (SupportsInt) –
last_index (SupportsInt) –
- Returns:
bool
- append(self, cloud)#
Append another point cloud.
- Parameters:
cloud (cloudViewer.geometry.ccPointCloud) –
- Returns:
bool
- capacity(self)#
Reserves some memory for hosting the point references.
- Returns:
int
- clear(self, release_memory=False)#
Clears the cloud.
- Parameters:
release_memory (bool, optional, default=False) –
- Returns:
None
- clone(self)#
Clones this circle.
- Returns:
cloudViewer.geometry.ccCircle
- colors_shown(self)#
Returns whether colors are shown or not.
- Returns:
bool
- compute_length(self)#
Computes the polyline length.
- Returns:
float
- enable_gl_transformation(self, state)#
Enables/disables associated GL transformation.
- Parameters:
state (bool) –
- Returns:
None
- enable_scalar_field(self)#
Enables the scalar field associated to the cloud.
- Returns:
bool
- enable_temp_color(self, state)#
Set temporary color activation state.
- Parameters:
state (bool) –
- Returns:
None
- filter_children(self, recursive=False, filter=<Type.???: 0>, strict=False)#
Collects the children corresponding to a certain pattern.
- Parameters:
recursive (bool, optional, default=False) – specifies if the search should be recursive
(typing.SupportsInt (filter) – 0>): pattern for children selection
optional – 0>): pattern for children selection
default=<Type.??? – 0>): pattern for children selection
strict (bool, optional, default=False) – whether the search is strict on the type (i.e ‘isA’) or not (i.e. ‘isKindOf’)
- Returns:
list[cloudViewer.geometry.ccHObject]
- find(self, unique_id)#
Finds an entity in this object hierarchy.
- Parameters:
unique_id (SupportsInt) –
- Returns:
cloudViewer.geometry.ccHObject
- forward_iterator(self)#
Forwards the local element iterator.
- Returns:
None
- from_file(self, filename, dataVersion, flags)#
Loads data from binary stream.
- Parameters:
filename (str) –
dataVersion (SupportsInt) – file version
flags (SupportsInt) – deserialization flags (see ccSerializableObject::DeserializationFlags)
- Returns:
bool
- get_arrow_index(self)#
Returns arrow index.
- Returns:
int
- get_arrow_length(self)#
Returns arrow length.
- Returns:
float
- get_associated_cloud(*args, **kwargs)#
Overloaded function.
- get_associated_cloud(self)
Returns the associated (source) cloud.
- Returns:
cloudViewer.geometry.GenericIndexedCloudPersist
- get_associated_cloud(self)
Returns the associated (source) cloud (const version).
- Returns:
cloudViewer.geometry.GenericIndexedCloudPersist
- get_axis_aligned_bounding_box(self)#
Returns an axis-aligned bounding box of the geometry.
- Returns:
ccBBox
- get_bounding_box(self)#
Returns the cloud bounding box.
- Returns:
tuple[typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”], typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”]]
- get_center(self)#
Returns the center of the geometry coordinates.
- Returns:
typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”]
- get_child(self, childPos)#
Returns the ith child.
- Parameters:
childPos (SupportsInt) – child position
- Returns:
cloudViewer.geometry.ccHObject
- get_children_number(self)#
Returns the number of children.
- Returns:
int
- get_class_id(self)#
Returns class ID.
- Returns:
int
- get_color(self)#
Returns the polyline color.
- Returns:
typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”]
- get_cur_point_coordinates(self)#
Returns the coordinates of the point pointed by the current element.
- Returns:
typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”]
- get_cur_point_global_index(self)#
Returns the global index of the point pointed by the current element.
- Returns:
int
- get_cur_point_scalar(self)#
Returns the current point associated scalar value.
- Returns:
float
- get_glTransformation_history(self)#
Returns the transformation ‘history’ matrix.
- Returns:
ccGLMatrix
- get_gl_transformation(self)#
Returns associated GL transformation.
- Returns:
typing.Annotated[numpy.typing.NDArray[numpy.float32], “[4, 4]”]
- get_max_2Dbound(self)#
Returns max 2d bounds for geometry coordinates.
- Returns:
typing.Annotated[numpy.typing.NDArray[numpy.float64], “[2, 1]”]
- get_max_bound(self)#
Returns max bounds for geometry coordinates.
- Returns:
typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”]
- get_min_2Dbound(self)#
Returns min 2d bounds for geometry coordinates.
- Returns:
typing.Annotated[numpy.typing.NDArray[numpy.float64], “[2, 1]”]
- get_min_bound(self)#
Returns min bounds for geometry coordinates.
- Returns:
typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”]
- get_name(self)#
Returns object name.
- Returns:
str
- get_next_point(self)#
Returns the next point (relatively to the global iterator position).
- Returns:
typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”]
- get_opacity(self)#
Get opacity.
- Returns:
float
- get_oriented_bounding_box(self)#
Returns an oriented bounding box of the geometry.
- Returns:
ecvOrientedBBox
- get_own_bounding_box(self, withGLFeatures=False)#
Returns an axis-aligned bounding box of the geometry.
- Parameters:
withGLFeatures (bool, optional, default=False) – whether use openGL features.
- Returns:
ccBBox
- get_parent(self)#
Returns parent object.
- Returns:
cloudViewer.geometry.ccHObject
- get_point(self, index)#
Returns the ith point(virtual method to request a point with a specific index).
- Parameters:
index (SupportsInt) –
- Returns:
typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”]
- get_point_global_index(self, local_index)#
Returns global index (i.e. relative to the associated cloud) of a given element.
- Parameters:
local_index (SupportsInt) –
- Returns:
int
- get_point_persistent(self, index)#
Returns the ith point as a persistent point).
- Parameters:
index (SupportsInt) –
- Returns:
typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”]
- get_radius(self)#
Returns the radius of the circle.
- Returns:
float
- get_resolution(self)#
Returns the resolution of the displayed circle.
- Returns:
int
- static get_rotation_matrix_from_axis_angle(rotation: Annotated[numpy.typing.ArrayLike, numpy.float64, '[3, 1]']) Annotated[numpy.typing.NDArray[numpy.float64], '[3, 3]']#
- static get_rotation_matrix_from_euler_angle(rotation: Annotated[numpy.typing.ArrayLike, numpy.float64, '[3, 1]']) Annotated[numpy.typing.NDArray[numpy.float64], '[3, 3]']#
- static get_rotation_matrix_from_quaternion(rotation: Annotated[numpy.typing.ArrayLike, numpy.float64, '[4, 1]']) Annotated[numpy.typing.NDArray[numpy.float64], '[3, 3]']#
- static get_rotation_matrix_from_xyz(rotation: Annotated[numpy.typing.ArrayLike, numpy.float64, '[3, 1]']) Annotated[numpy.typing.NDArray[numpy.float64], '[3, 3]']#
- static get_rotation_matrix_from_xzy(rotation: Annotated[numpy.typing.ArrayLike, numpy.float64, '[3, 1]']) Annotated[numpy.typing.NDArray[numpy.float64], '[3, 3]']#
- static get_rotation_matrix_from_yxz(rotation: Annotated[numpy.typing.ArrayLike, numpy.float64, '[3, 1]']) Annotated[numpy.typing.NDArray[numpy.float64], '[3, 3]']#
- static get_rotation_matrix_from_yzx(rotation: Annotated[numpy.typing.ArrayLike, numpy.float64, '[3, 1]']) Annotated[numpy.typing.NDArray[numpy.float64], '[3, 3]']#
- static get_rotation_matrix_from_zxy(rotation: Annotated[numpy.typing.ArrayLike, numpy.float64, '[3, 1]']) Annotated[numpy.typing.NDArray[numpy.float64], '[3, 3]']#
- static get_rotation_matrix_from_zyx(rotation: Annotated[numpy.typing.ArrayLike, numpy.float64, '[3, 1]']) Annotated[numpy.typing.NDArray[numpy.float64], '[3, 3]']#
- get_scalar_value(self, point_index)#
Returns the ith point associated scalar value.
- Parameters:
point_index (SupportsInt) –
- Returns:
float
- get_temp_color(self)#
Returns current temporary (unique) color.
- Returns:
typing.Annotated[numpy.typing.NDArray[numpy.float64], “[3, 1]”]
- get_unique_id(self)#
Returns object unique ID.
- Returns:
int
- get_vertex_marker_width(self)#
Returns the width of vertex markers.
- Returns:
int
- get_width(self)#
Returns the width of the line.
- Returns:
float
- has_colors(self)#
Returns whether colors are enabled or not.
- Returns:
bool
- has_displayed_scalar_field(self)#
Returns whether an active scalar field is available or not.
- Returns:
bool
- has_normals(self)#
Returns whether normals are enabled or not.
- Returns:
bool
- has_points(self)#
Returns whether has points.
- Returns:
bool
- has_scalar_fields(self)#
Returns whether one or more scalar fields are instantiated.
- Returns:
bool
- import_parameters_from(self, other_polyline)#
Copy the parameters from another polyline
- Parameters:
other_polyline (cloudViewer.geometry.ccPolyline) – The other polyline.
- Returns:
None
- init_with(self, vertices, other_polyline)#
Initializes the polyline with a given set of vertices and the parameters of another polyline
- Parameters:
vertices (cloudViewer.geometry.ccPointCloud) – set of vertices (can be null, in which case the polyline vertices will be cloned).
other_polyline (cloudViewer.geometry.ccPolyline) – The other polyline.
- Returns:
bool
- invalidate_boundingBox(self)#
Invalidates the bounding-box
- Returns:
None
- is_2d_mode(self)#
Returns whether the polyline is considered as 2D or 3D.
- Returns:
bool
- is_a(self, type)#
Returns whether the geometry is a type pointed.
- Parameters:
type (SupportsInt) –
- Returns:
bool
- is_closed(self)#
Returns whether the polyline is closed or not.
- Returns:
bool
- is_color_overriden(self)#
Returns whether colors are currently overridden by a temporary (unique) color.
- Returns:
bool
- is_custom(self)#
Returns whether the geometry is custom.
- Returns:
bool
- is_empty(self)#
Returns
Trueif the geometry is empty.- Returns:
bool
- is_gl_trans_enabled(self)#
Returns whether a GL transformation is enabled or not.
- Returns:
bool
- is_group(self)#
Returns whether the instance is a group.
- Returns:
bool
- is_hierarchy(self)#
Returns whether the geometry is hierarchy.
- Returns:
bool
- is_kind_of(self, type)#
Returns whether the geometry is kind of the type pointed.
- Parameters:
type (SupportsInt) –
- Returns:
bool
- is_leaf(self)#
Returns whether the geometry is leaf.
- Returns:
bool
- is_scalar_field_enabled(self)#
Returns true if the scalar field is enabled, false otherwise.
- Returns:
bool
- is_selected(self)#
Returns whether entity is selected or not.
- Returns:
bool
- is_serializable(self)#
Returns whether the instance is a serializable.
- Returns:
bool
- is_visible(self)#
Returns whether entity is visible or not.
- Returns:
bool
- is_visiblity_locked(self)#
Returns whether visibility is locked or not.
- Returns:
bool
- minimum_file_version(self: cloudViewer.geometry.ccHObject) int#
Returns the minimum file version required to save this object
- name_3d_shown(self)#
Returns whether name is displayed in 3D or not.
- Returns:
bool
- need_transform(self)#
Returns whether the polyline is considered as 2D or 3D.
- Returns:
bool
- normals_shown(self)#
Returns whether normals are shown or not.
- Returns:
bool
- paint_uniform_color(self, color)#
Assigns each line in the polyline the same color.
- Parameters:
color (Annotated[numpy.typing.ArrayLike, numpy.float64,) –
- Returns:
cloudViewer.geometry.ccPolyline
- place_iterator_at_beginning(self)#
Sets the cloud iterator at the beginning.
- Returns:
None
- remove_all_children(self)#
Clear all children in the geometry.
- Returns:
None
- remove_child(*args, **kwargs)#
Overloaded function.
remove_child(self: cloudViewer.geometry.ccHObject, child: cloudViewer.geometry.ccHObject) -> None
Removes a specific child.
remove_child(self: cloudViewer.geometry.ccHObject, pos: typing.SupportsInt) -> None
Removes a specific child given its index.
- remove_cur_point_global_index(self, WARNING)#
Removes current global element, WARNING: this method changes the cloud size!.
- Parameters:
WARNING (this method changes the cloud size) –
- Returns:
None
- remove_point_global_index(self, local_ndex)#
Removes a given element.
- Parameters:
local_ndex (SupportsInt) –
- Returns:
None
- reserve(self, n)#
Reserves some memory for hosting the point references.
- Parameters:
n (SupportsInt) –
- Returns:
bool
- reset_glTransformation_history(self)#
Resets the transformation ‘history’ matrix.
- Returns:
None
- reset_gl_transformation(self)#
Resets associated GL transformation.
- Returns:
None
- resize(self, n)#
Presets the size of the vector used to store point references.
- Parameters:
n (SupportsInt) –
- Returns:
bool
- rotate(*args, **kwargs)#
Overloaded function.
- rotate(self, R)
Apply rotation to the geometry coordinates and normals.
- Parameters:
R (Annotated[numpy.typing.ArrayLike, numpy.float64,) – The rotation matrix
- Returns:
cloudViewer.geometry.ccHObject
- rotate(self, R, center)
Apply rotation to the geometry coordinates and normals.
- rotate_gl(self, rotation)#
Multiplies (left) current GL transformation by a rotation matrix.
- Parameters:
rotation (Annotated[numpy.typing.ArrayLike, numpy.float64,) –
- Returns:
None
- sample_points(self, density_based, sampling_parameter, with_rgb)#
Samples points on the polyline
- Parameters:
density_based (bool) – The density based.
sampling_parameter (SupportsFloat) – The sampling parameter.
with_rgb (bool) – with rgb.
- Returns:
cloudViewer.geometry.ccPointCloud
- scale(*args, **kwargs)#
Overloaded function.
- scale(self, scale)
Apply scaling to the geometry coordinates.
- Parameters:
scale (SupportsFloat) –
- Returns:
cloudViewer.geometry.ccHObject
- scale(self, scale, center)
Apply scaling to the geometry coordinates.
- Parameters:
scale (SupportsFloat) –
center (Annotated[numpy.typing.ArrayLike, numpy.float64,) – Scale center used for transformation
- Returns:
cloudViewer.geometry.ccHObject
- segment_count(self)#
Returns the number of segments.
- Returns:
int
- set_2d_mode(self, state)#
Defines if the polyline is considered as 2D or 3D.
- Parameters:
state (bool) –
- Returns:
None
- set_associated_cloud(self, arg0)#
Sets the associated (source) cloud.
- Parameters:
- Returns:
None
- set_closed(self, state)#
Sets whether the polyline is closed or not.
- Parameters:
state (bool) –
- Returns:
None
- set_color(self, color)#
Sets the polyline color.
- Parameters:
color (Annotated[numpy.typing.ArrayLike, numpy.float64,) – The polyline rgb color.
- Returns:
None
- set_cur_point_scalar(self, value)#
Sets the current point associated scalar value.
- Parameters:
value (SupportsFloat) –
- Returns:
None
- set_glTransformation_history(self, mat)#
Sets the transformation ‘history’ matrix (handle with care!).
- Parameters:
mat (ccGLMatrix) – transformation ‘history’ matrix
- Returns:
None
- set_gl_transformation(self, transformation)#
Associates entity with a GL transformation (rotation + translation).
- Parameters:
transformation (Annotated[numpy.typing.ArrayLike, numpy.float64,) –
- Returns:
None
- set_lineWidth_recursive(self, width)#
Sets the line width.
- Parameters:
width (SupportsFloat) – line width
- Returns:
None
- set_opacity(self, opacity)#
Set opacity activation state.
- Parameters:
opacity (SupportsFloat) –
- Returns:
None
- set_pointSize_recursive(self, pSize)#
Sets the point size.
- Parameters:
pSize (SupportsInt) – point size
- Returns:
None
- set_point_index(self, local_index, global_index)#
Sets global index for a given element.
- Parameters:
local_index (SupportsInt) –
global_index (SupportsInt) –
- Returns:
None
- set_radius(self, radius)#
Sets the radius of the circle.
- Parameters:
radius (SupportsFloat) – The desired radius.
- Returns:
None
- set_resolution(self, resolution)#
Sets the resolution of the displayed circle.
- Parameters:
resolution (SupportsInt) – The displayed resolution (>= 4).
- Returns:
None
- set_scalar_value(self, point_index, value)#
Sets the ith point associated scalar value.
- Parameters:
point_index (SupportsInt) –
value (SupportsFloat) –
- Returns:
None
- set_temp_color(self, color, auto_activate=True)#
Sets current temporary (unique).
- set_transform_flag(self, state)#
Defines if the polyline is considered as processed polyline.
- Parameters:
state (bool) –
- Returns:
None
- set_unique_id(self, ID)#
Changes unique ID.
- Parameters:
ID (SupportsInt) –
- Returns:
None
- set_vertex_marker_width(self, width)#
Sets the width of vertex markers.
- Parameters:
width (SupportsInt) –
- Returns:
None
- set_width(self, width)#
Sets the width of the line.
- Parameters:
width (SupportsFloat) – The polyline width.
- Returns:
None
- sf_shown(self)#
Returns whether active scalar field is visible.
- Returns:
bool
- show_3d_name(self, state)#
Sets whether name should be displayed in 3D.
- Parameters:
state (bool) –
- Returns:
None
- show_arrow(self, state, vertex_index, length)#
Shows an arrow in place of a given vertex.
- Parameters:
state (bool) – The state.
vertex_index (SupportsInt) – The vertex index.
length (SupportsFloat) – The length.
- Returns:
None
- show_vertices(self, state)#
Sets whether to display or hide the polyline vertices.
- Parameters:
state (bool) –
- Returns:
None
- size(self)#
Returns the number of points.
- Returns:
int
- split(self, max_edge_length)#
Splits the polyline into several parts based on a maximum edge length
- Parameters:
max_edge_length (SupportsFloat) – maximum edge length (warning output polylines set (parts) may be empty if all the vertices are too far from each other!)
- Returns:
tuple[list[cloudViewer.geometry.ccPolyline], bool]
- swap(self, first_index, second_index)#
Swaps two point references.
- Parameters:
first_index (SupportsInt) –
second_index (SupportsInt) –
- Returns:
None
- test_visibility(self, point)#
Returns a given point visibility state (relatively to a sensor for instance).
- Parameters:
point (Annotated[numpy.typing.ArrayLike, numpy.float64,) – the 3D point to test, return visibility (default: POINT_VISIBLE)Generic method to request a point visibility (should be overloaded if this functionality is required).The point visibility is such as defined in Daniel Girardeau - Montaut’s PhD manuscript (see Chapter 2, section 2 - 3 - 3).In this case, a ground based laser sensor model should be used to determine it.This method is called before performing any point - to - cloud comparison.If the result is notPOINT_VISIBLE, then the comparison won’t be performed and the scalar field value associatedto this point will be this visibility value.
- Returns:
int
- to_file(self, filename, data_version)#
Saves data to binary stream.
- Parameters:
filename (str) –
data_version (SupportsInt) –
- Returns:
bool
- toggle_colors(self)#
Toggles colors display state.
- Returns:
None
- toggle_materials(self)#
Toggles material display state.
- Returns:
None
- toggle_normals(self)#
Toggles normals display state.
- Returns:
None
- toggle_sf(self)#
Toggles SF display state.
- Returns:
None
- toggle_show_name(self)#
Toggles name in 3D display state.
- Returns:
None
- toggle_visibility(self)#
Toggles visibility.
- Returns:
None
- transform(self, arg0)#
Apply transformation (4x4 matrix) to the geometry coordinates.
- Parameters:
arg0 (Annotated[numpy.typing.ArrayLike, numpy.float64,) –
- Returns:
cloudViewer.geometry.ccHObject
- translate(self, translation, relative=True)#
Apply translation to the geometry coordinates.
- Parameters:
- Returns:
cloudViewer.geometry.ccHObject
- translate_gl(self, translation)#
Translates current GL transformation by a rotation matrix.
- Parameters:
translation (Annotated[numpy.typing.ArrayLike, numpy.float64,) –
- Returns:
None
- vertices_shown(self)#
Whether the polyline vertices should be displayed or not.
- Returns:
bool
- BBOX = <Type.BBOX: 35184372088835>#
- BOX = <Type.BOX: 524809>#
- CAMERA_SENSOR = <Type.CAMERA_SENSOR: 4294975489>#
- CONE = <Type.CONE: 262665>#
- CUSTOM_H_OBJECT = <Type.CUSTOM_H_OBJECT: 129>#
- CYLINDER = <Type.CYLINDER: 393737>#
- DISH = <Type.DISH: 1049097>#
- EXTRU = <Type.EXTRU: 2097673>#
- FACET = <Type.FACET: 8388609>#
- GBL_SENSOR = <Type.GBL_SENSOR: 134225921>#
- IMAGE = <Type.IMAGE: 4097>#
- IMAGE2 = <Type.IMAGE2: 562949953421315>#
- LABEL_2D = <Type.LABEL_2D: 35>#
- LINESET = <Type.LINESET: 2251799813685249>#
- MATERIAL_SET = <Type.MATERIAL_SET: 16777222>#
- MESH = <Type.MESH: 513>#
- MESH_GROUP = <Type.MESH_GROUP: 517>#
- OLD_CYLINDER_ID = <Type.OLD_CYLINDER_ID: 131593>#
- ORIENTED_BBOX = <Type.ORIENTED_BBOX: 70368744177667>#
- PLANE = <Type.PLANE: 16905>#
- POINT_CLOUD = <Type.POINT_CLOUD: 257>#
- POINT_KDTREE = <Type.POINT_KDTREE: 4194307>#
- POINT_OCTREE = <Type.POINT_OCTREE: 1027>#
- POINT_OCTREE2 = <Type.POINT_OCTREE2: 140737488355331>#
- POLY_LINE = <Type.POLY_LINE: 2049>#
- PRIMITIVE = <Type.PRIMITIVE: 521>#
- QUADRIC = <Type.QUADRIC: 8589935113>#
- RGBD_IMAGE = <Type.RGBD_IMAGE: 1125899906842627>#
- SENSOR = <Type.SENSOR: 8193>#
- SPHERE = <Type.SPHERE: 33289>#
- SUB_MESH = <Type.SUB_MESH: 515>#
- TETRA_MESH = <Type.TETRA_MESH: 27021597764222977>#
- TORUS = <Type.TORUS: 66057>#
- VIEWPORT_2D_LABEL = <Type.VIEWPORT_2D_LABEL: 99>#
- VIEWPORT_2D_OBJECT = <Type.VIEWPORT_2D_OBJECT: 67>#
- VOXEL_GRID = <Type.VOXEL_GRID: 281474976710657>#