Operator Reference
projective_trans_object_model_3d (Operator)
projective_trans_object_model_3d
— Apply an arbitrary projective 3D transformation to 3D object models.
Signature
projective_trans_object_model_3d( : : ObjectModel3D, HomMat3D : ObjectModel3DProjectiveTrans)
Description
projective_trans_object_model_3d
applies an arbitrary
projective 3D transformation to the points of 3D object models
and returns the handles of the transformed 3D object models. The
projective transformation is described by the homogeneous
transformation matrix given in HomMat3D
(see
projective_trans_point_3d
).
The transformation matrix can be created, e.g., using the operator
vector_to_hom_mat3d
.
Attention
projective_trans_object_model_3d
transforms
the attributes of type 3D points. Attributes of type shape model for
shape-based 3D matching, of type 3D primitive, and of type normals are
not transformed. Therefore, these attributes do not exist in the
transformed 3D object model. All other attributes are copied
without modification. To transform 3D primitives, the operator
rigid_trans_object_model_3d
must be used.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Automatically parallelized on internal data level.
Parameters
ObjectModel3D
(input_control) object_model_3d(-array) →
(handle)
Handles of the 3D object models.
HomMat3D
(input_control) hom_mat3d →
(real)
Homogeneous projective transformation matrix.
ObjectModel3DProjectiveTrans
(output_control) object_model_3d(-array) →
(handle)
Handles of the transformed 3D object models.
Result
If the parameters are valid, the operator
projective_trans_object_model_3d
returns the value 2 (
H_MSG_TRUE)
.
If necessary, an exception is raised.
Possible Predecessors
read_object_model_3d
,
xyz_to_object_model_3d
Possible Successors
project_object_model_3d
,
object_model_3d_to_xyz
See also
affine_trans_point_3d
,
rigid_trans_object_model_3d
,
affine_trans_object_model_3d
Module
3D Metrology