---
title: "PoseOperationSettings< POSE_OPERATION_TYPE::SET_ORIENTATION >"
description: "PoseOperationSettings (SET_ORIENTATION) in der Settings-API von LumiScan VGR: Membervariablen mit C++-Typ, JSON-Typ und Standardwert."
product: "LumiScan VGR / VGR Lite"
component: "lumiscan-vgr-de"
version: "2.0.0"
display_version: "2.0.0.8"
latest_version: true
language: "de"
url: "https://docs.hdvisionsystems.com/de/lumiscan-vgr-de/api/settings/pose-operation-settings-pose-operation-type-set-orientation.html"
---

# PoseOperationSettings< POSE_OPERATION_TYPE::SET_ORIENTATION > – LumiScan VGR / VGR Lite

Pose operation: replace the TCP orientation, keeping the position.

## Member Functions

- **`virtual POSE_OPERATION_TYPE type() const override`:** *JSON Type*: string +*Requirement*: Must be POSE_OPERATION_TYPE::SET_ORIENTATION. Type of the pose operation.

## Member Variables

- **`referenceFrame`:** `GRIP_FRAME`, default: `\{GRIP_FRAME::ROBOT\}` *JSON Type*: (optional) string +*Requirement*: Must be ROBOT, CAMERA or OBJECT. Frame the orientation is given in. Defaults to ROBOT.

- **`rotation`:** `Eigen::Matrix3f`, default: `\{Eigen::Matrix3f::Identity()\}` *JSON Type*: array of array +*Requirement*: Must be a 3x3 rotation matrix (orthonormal, determinant +1). The TCP orientation, in referenceFrame.

## Enumerations

**Tabelle 1. POSE_OPERATION_TYPE**

| Value | Description |
| --- | --- |
| `OBJECT_RELATIVE_POSITION` | Place the grip in x and y relative to the detected object box. >>> See [PoseOperationSettings\<POSE_OPERATION_TYPE::OBJECT_RELATIVE_POSITION>](https://docs.hdvisionsystems.com/de/lumiscan-vgr-de/api/settings/pose-operation-settings-pose-operation-type-object-relative-position.html) |
| `SYMMETRY_ROTATION` | Add rotated copies of every grip, for a rotationally symmetric object. >>> See [PoseOperationSettings\<POSE_OPERATION_TYPE::SYMMETRY_ROTATION>](https://docs.hdvisionsystems.com/de/lumiscan-vgr-de/api/settings/pose-operation-settings-pose-operation-type-symmetry-rotation.html) |
| `FILTER_Z_AXIS` | Keep only grips whose TCP z-axis is close to a reference direction. Never changes a grip. >>> See [PoseOperationSettings\<POSE_OPERATION_TYPE::FILTER_Z_AXIS>](https://docs.hdvisionsystems.com/de/lumiscan-vgr-de/api/settings/pose-operation-settings-pose-operation-type-filter-z-axis.html) |
| `ROTATE` | Rotate every grip about its TCP origin. >>> See [PoseOperationSettings\<POSE_OPERATION_TYPE::ROTATE>](https://docs.hdvisionsystems.com/de/lumiscan-vgr-de/api/settings/pose-operation-settings-pose-operation-type-rotate.html) |
| `TRANSLATE` | Move every grip. >>> See [PoseOperationSettings\<POSE_OPERATION_TYPE::TRANSLATE>](https://docs.hdvisionsystems.com/de/lumiscan-vgr-de/api/settings/pose-operation-settings-pose-operation-type-translate.html) |
| `ALIGN_Z` | Turn the TCP z-axis onto a direction, keeping the rotation about it. >>> See [PoseOperationSettings\<POSE_OPERATION_TYPE::ALIGN_Z>](https://docs.hdvisionsystems.com/de/lumiscan-vgr-de/api/settings/pose-operation-settings-pose-operation-type-align-z.html) |
| `SET_ORIENTATION` | Replace the TCP orientation, keeping the position. >>> See [PoseOperationSettings\<POSE_OPERATION_TYPE::SET_ORIENTATION>](https://docs.hdvisionsystems.com/de/lumiscan-vgr-de/api/settings/pose-operation-settings-pose-operation-type-set-orientation.html#) |

**Tabelle 2. GRIP_FRAME**

| Value | Description |
| --- | --- |
| `ROBOT` | The robot base frame. |
| `CAMERA` | The frame of the camera the object was detected in. |
| `OBJECT` | The frame of the detected object. |
| `TCP` | The TCP frame of the grip being changed. |
