ClassesClassesClassesClasses | | | | Operators

gen_cylinder_object_model_3dT_gen_cylinder_object_model_3dGenCylinderObjectModel3dgen_cylinder_object_model_3dGenCylinderObjectModel3dGenCylinderObjectModel3d (Operator)

Name

gen_cylinder_object_model_3dT_gen_cylinder_object_model_3dGenCylinderObjectModel3dgen_cylinder_object_model_3dGenCylinderObjectModel3dGenCylinderObjectModel3d — Create a 3D object model that represents a cylinder.

Signature

gen_cylinder_object_model_3d( : : Pose, Radius, MinExtent, MaxExtent : ObjectModel3D)

Herror T_gen_cylinder_object_model_3d(const Htuple Pose, const Htuple Radius, const Htuple MinExtent, const Htuple MaxExtent, Htuple* ObjectModel3D)

Herror gen_cylinder_object_model_3d(const HTuple& Pose, const HTuple& Radius, const HTuple& MinExtent, const HTuple& MaxExtent, Hlong* ObjectModel3D)

Herror gen_cylinder_object_model_3d(const HTuple& Pose, const HTuple& Radius, const HTuple& MinExtent, const HTuple& MaxExtent, HTuple* ObjectModel3D)

void HObjectModel3D::GenCylinderObjectModel3d(const HTuple& Pose, const HTuple& Radius, const HTuple& MinExtent, const HTuple& MaxExtent)

void GenCylinderObjectModel3d(const HTuple& Pose, const HTuple& Radius, const HTuple& MinExtent, const HTuple& MaxExtent, HTuple* ObjectModel3D)

static HObjectModel3DArray HObjectModel3D::GenCylinderObjectModel3d(const HPoseArray& Pose, const HTuple& Radius, const HTuple& MinExtent, const HTuple& MaxExtent)

void HObjectModel3D::GenCylinderObjectModel3d(const HPose& Pose, double Radius, double MinExtent, double MaxExtent)

void HOperatorSetX.GenCylinderObjectModel3d(
[in] VARIANT Pose, [in] VARIANT Radius, [in] VARIANT MinExtent, [in] VARIANT MaxExtent, [out] VARIANT* ObjectModel3D)

void HObjectModel3DX.GenCylinderObjectModel3d(
[in] VARIANT Pose, [in] VARIANT Radius, [in] VARIANT MinExtent, [in] VARIANT MaxExtent)

static void HOperatorSet.GenCylinderObjectModel3d(HTuple pose, HTuple radius, HTuple minExtent, HTuple maxExtent, out HTuple objectModel3D)

static HObjectModel3D[] HObjectModel3D.GenCylinderObjectModel3d(HPose[] pose, HTuple radius, HTuple minExtent, HTuple maxExtent)

void HObjectModel3D.GenCylinderObjectModel3d(HPose pose, double radius, double minExtent, double maxExtent)

Description

gen_cylinder_object_model_3dgen_cylinder_object_model_3dGenCylinderObjectModel3dgen_cylinder_object_model_3dGenCylinderObjectModel3dGenCylinderObjectModel3d creates a cylinder-shaped 3D primitive, i.e., a 3D object model that represents a cylinder. A cylinder is described by its center and the direction of its axis in PosePosePosePosePosepose and by its radius in RadiusRadiusRadiusRadiusRadiusradius. The pose has the origin on the rotation axis of the cylinder and is oriented such that the z-axis is aligned with the main direction of the cylinder. Additionally, the extensions of the cylinder are given by MinExtentMinExtentMinExtentMinExtentMinExtentminExtent and MaxExtentMaxExtentMaxExtentMaxExtentMaxExtentmaxExtent. MinExtentMinExtentMinExtentMinExtentMinExtentminExtent and MaxExtentMaxExtentMaxExtentMaxExtentMaxExtentmaxExtent represent the z-coordinates of the first and last point of the cylinder on the rotation axis. The handle of the 3D object model is returned by the parameter ObjectModel3DObjectModel3DObjectModel3DObjectModel3DObjectModel3DobjectModel3D.

Note that if a 3D object model is no longer needed or should be overwritten, the memory has to be freed first by calling the operator clear_object_model_3dclear_object_model_3dClearObjectModel3dclear_object_model_3dClearObjectModel3dClearObjectModel3d.

Parallelization

This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.

Parameters

PosePosePosePosePosepose (input_control)  pose(-array) HPose, HTupleHTupleHTupleHPoseX, VARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

The pose that describes the position and orientation of the cylinder.

RadiusRadiusRadiusRadiusRadiusradius (input_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

The radius of the cylinder.

MinExtentMinExtentMinExtentMinExtentMinExtentminExtent (input_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

The length of the cylinder in negative direction of the rotation axis.

MaxExtentMaxExtentMaxExtentMaxExtentMaxExtentmaxExtent (input_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

The length of the cylinder in positive direction of the rotation axis.

ObjectModel3DObjectModel3DObjectModel3DObjectModel3DObjectModel3DobjectModel3D (output_control)  object_model_3d(-array) HObjectModel3D, HTupleHTupleHObjectModel3D, HTupleHObjectModel3DX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle of the resulting 3D object model.

Result

gen_cylinder_object_model_3dgen_cylinder_object_model_3dGenCylinderObjectModel3dgen_cylinder_object_model_3dGenCylinderObjectModel3dGenCylinderObjectModel3d returns 2 (H_MSG_TRUE) if all parameters are correct. If necessary, an exception is raised.

Possible Successors

get_object_model_3d_paramsget_object_model_3d_paramsGetObjectModel3dParamsget_object_model_3d_paramsGetObjectModel3dParamsGetObjectModel3dParams, sample_object_model_3dsample_object_model_3dSampleObjectModel3dsample_object_model_3dSampleObjectModel3dSampleObjectModel3d, triangulate_object_model_3dtriangulate_object_model_3dTriangulateObjectModel3dtriangulate_object_model_3dTriangulateObjectModel3dTriangulateObjectModel3d, clear_object_model_3dclear_object_model_3dClearObjectModel3dclear_object_model_3dClearObjectModel3dClearObjectModel3d

See also

gen_sphere_object_model_3dgen_sphere_object_model_3dGenSphereObjectModel3dgen_sphere_object_model_3dGenSphereObjectModel3dGenSphereObjectModel3d, gen_sphere_object_model_3d_centergen_sphere_object_model_3d_centerGenSphereObjectModel3dCentergen_sphere_object_model_3d_centerGenSphereObjectModel3dCenterGenSphereObjectModel3dCenter, gen_plane_object_model_3dgen_plane_object_model_3dGenPlaneObjectModel3dgen_plane_object_model_3dGenPlaneObjectModel3dGenPlaneObjectModel3d, gen_box_object_model_3dgen_box_object_model_3dGenBoxObjectModel3dgen_box_object_model_3dGenBoxObjectModel3dGenBoxObjectModel3d

Module

3D Metrology


ClassesClassesClassesClasses | | | | Operators