Drake
constructPtrRigidBodyConstraint.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <mex.h>
4 
5 #include <Eigen/Dense>
6 
7 #if defined(WIN32) || defined(WIN64)
8 #if defined(drakeConstructRigidBodyConstraint_EXPORTS)
9 #define CONSTRUCT_CONSTRAINT_DLLEXPORT __declspec(dllexport)
10 #else
11 #define CONSTRUCT_CONSTRAINT_DLLEXPORT __declspec(dllimport)
12 #endif
13 #else
14 #define CONSTRUCT_CONSTRAINT_DLLEXPORT
15 #endif
16 
18  void* ptr, const char* name);
20  const mxArray* pm, Eigen::Vector2d& tspan);
22  const mxArray* pm, Eigen::Vector3d& unit_vec);
24  const mxArray* pm, Eigen::Vector4d& quat);
26  const mxArray* pm);
28  const mxArray* pm);
#define CONSTRUCT_CONSTRAINT_DLLEXPORT
Definition: constructPtrRigidBodyConstraint.h:14
CONSTRUCT_CONSTRAINT_DLLEXPORT double rigidBodyConstraintParseGazeThreshold(const mxArray *pm)
Definition: constructPtrRigidBodyConstraint.cpp:101
CONSTRUCT_CONSTRAINT_DLLEXPORT void rigidBodyConstraintParse3dUnitVector(const mxArray *pm, Eigen::Vector3d &unit_vec)
CONSTRUCT_CONSTRAINT_DLLEXPORT mxArray * createDrakeConstraintMexPointer(void *ptr, const char *name)
Definition: constructPtrRigidBodyConstraint.cpp:9
CONSTRUCT_CONSTRAINT_DLLEXPORT void rigidBodyConstraintParseQuat(const mxArray *pm, Eigen::Vector4d &quat)
CONSTRUCT_CONSTRAINT_DLLEXPORT double rigidBodyConstraintParseGazeConethreshold(const mxArray *pm)
Definition: constructPtrRigidBodyConstraint.cpp:82
CONSTRUCT_CONSTRAINT_DLLEXPORT void rigidBodyConstraintParseTspan(const mxArray *pm, Eigen::Vector2d &tspan)
Definition: constructPtrRigidBodyConstraint.cpp:14