ViewPoint#
- class ViewPoint(x: ndarray, fixed: bool = False, color: str | None = None)[source]#
Create new camera viewpoint
- Parameters:
x (array_like(6)) – viewpoint pose as translation + vector part of unit quaternion
fixed (bool, optional) – camera is fixed, defaults to False
color (str, optional) – color with which to draw camera icon, defaults to None
Represent a camera viewpoint in the bundle adjustment problem. If the camera is not
fixedit will be adjusted during the optimization.- Seealso:
Methods
closest()connect(other, **kwargs)Connect two vertices with an edge
copy([cls])distance(coord)Distance from vertex to point
edges()All outgoing edges of vertex
edgeto(dest)Get edge connecting vertex to specific neighbour
Neighbours and edges of a vertex
isneighbour(vertex)Test if vertex is a neigbour
Neighbors of a vertex
Neighbours of a vertex
Properties
Degree of vertex
Index into the state vector (base method)
Index into the variable state vector (base method)
Value is fixed (base method)
Get pose of camera
The x-coordinate of an embedded vertex
The y-coordinate of an embedded vertex
The z-coordinate of an embedded vertex