Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
c5721c306This file is pinned to the selected release. Download the original to open it in your design tool.
// GripData.h
// Copyright (c) 2009, Dan Heeks
// This program is released under the BSD license. See the file COPYING for details.
#pragma once
#include "GripperTypes.h"
#include "../Geom/geometry.h"
class GripData{
public:
Point3d m_p;
void* m_data;
EnumGripperType m_type;
int m_alternative_icon; // 0 for standard icon, 1, 2, 3, etc. for additional icons, where available
bool m_move_relative; // true if dragged from the digitized position, false if dragged from the gripper
GripData(EnumGripperType type, const Point3d& p, void* data = NULL, bool move_relative = false, int alternative_icon = 0){m_type = type; m_p = p; m_data = data; m_alternative_icon = alternative_icon; m_move_relative = move_relative;}
};