HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_ConAnchorObjRegion.h File Reference
#include "SIM_API.h"
#include "SIM_ConAnchor.h"
#include "SIM_PrimitiveSubsimplex.h"
#include <UT/UT_Vector4.h>
#include <SYS/SYS_Types.h>
#include <SYS/SYS_Inline.h>
+ Include dependency graph for SIM_ConAnchorObjRegion.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SIM_MultiConnectorReal
 
class  SIM_MultiConnectorVirtual
 
class  SIM_MultiLinkRest
 
class  SIM_ConAnchorObjRegion
 

Macros

#define SIM_NAME_REGION_ENABLE_TARGET_POSITION_ATTRIBUTE   "enabletargetpositionattribute"
 
#define SIM_NAME_REGION_TARGET_POSITION_ATTRIBUTE   "targetpositionattribute"
 
#define SIM_NAME_REGION_REGISTRATION_ATTRIBUTE   "registrationattribute"
 
#define SIM_NAME_REGION_ALLOW_PARTIAL_OVERLAP   "allowpartialoverlap"
 
#define SIM_NAME_REGION_ENABLE_MATCHING   "enablematching"
 
#define SIM_NAME_REGION_PART_ID_ATTRIBUTE   "identifierattribute"
 
#define SIM_NAME_REGION_ENABLE_COEFFICIENT_ATTRIBUTES   "enablemultipliers"
 
#define SIM_NAME_REGION_STRENGTH_ATTRIBUTE   "strengthattribute"
 
#define SIM_NAME_REGION_DAMPING_ATTRIBUTE   "dampingattribute"
 

Typedefs

using NormalFilterOrientationRep = std::underlying_type_t< NormalFilterOrientation >
 
using ConnectionModelRep = std::underlying_type_t< ConnectionModel >
 
using RestInitializationRep = std::underlying_type_t< RestInitialization >
 

Enumerations

enum  NormalFilterOrientation { NormalFilterOrientation::INTERIOR, NormalFilterOrientation::EXTERIOR }
 
enum  ConnectionModel { ConnectionModel::ONLY_ATTRACT, ConnectionModel::ATTRACT_AND_REPEL }
 
enum  RestInitialization { RestInitialization::INIT_ZERO, RestInitialization::INIT_REFERENCE, RestInitialization::INIT_ABSOLUTE }
 

Functions

SIM_API void evaluatePositionsReal (UT_Array< UT_Vector3 > &connector_x, const GA_Detail &detail, const SIM_MultiConnectorReal &real_interface)
 
SIM_API void evaluatePositionsVirtual (UT_Array< UT_Vector3 > &connector_x, const GA_Detail &detail, const SIM_MultiConnectorVirtual &virtual_interface)
 
constexpr
NormalFilterOrientationRep 
iNormalFilterOrientation (const NormalFilterOrientation m)
 
NormalFilterOrientation eNormalFilterOrientation (const NormalFilterOrientationRep r)
 
constexpr NormalFilterOrientation defaultNormalFilterOrientation ()
 
constexpr const char * nameNormalFilterOrientation (const NormalFilterOrientation m)
 
constexpr ConnectionModelRep iConnectionModel (const ConnectionModel m)
 
ConnectionModel eConnectionModel (const ConnectionModelRep r)
 
constexpr ConnectionModel defaultConnectionModel ()
 
constexpr const char * nameConnectionModel (const ConnectionModel m)
 
constexpr RestInitializationRep iRestInitialization (const RestInitialization m)
 
RestInitialization eRestInitialization (const RestInitializationRep r)
 
constexpr RestInitialization defaultRestInitialization ()
 
constexpr const char * nameRestInitialization (const RestInitialization m)
 

Variables

constexpr
NormalFilterOrientationRep 
NORMAL_FILTER_ORIENTATION_COUNT = 2
 
constexpr ConnectionModelRep CONNECTION_MODEL_COUNT = 2
 
constexpr RestInitializationRep REST_INITIALIZATION_COUNT = 3
 

Macro Definition Documentation

#define SIM_NAME_REGION_ALLOW_PARTIAL_OVERLAP   "allowpartialoverlap"

Definition at line 156 of file SIM_ConAnchorObjRegion.h.

#define SIM_NAME_REGION_DAMPING_ATTRIBUTE   "dampingattribute"

Definition at line 162 of file SIM_ConAnchorObjRegion.h.

#define SIM_NAME_REGION_ENABLE_COEFFICIENT_ATTRIBUTES   "enablemultipliers"

Definition at line 160 of file SIM_ConAnchorObjRegion.h.

#define SIM_NAME_REGION_ENABLE_MATCHING   "enablematching"

Definition at line 157 of file SIM_ConAnchorObjRegion.h.

#define SIM_NAME_REGION_ENABLE_TARGET_POSITION_ATTRIBUTE   "enabletargetpositionattribute"

Definition at line 28 of file SIM_ConAnchorObjRegion.h.

#define SIM_NAME_REGION_PART_ID_ATTRIBUTE   "identifierattribute"

Definition at line 158 of file SIM_ConAnchorObjRegion.h.

#define SIM_NAME_REGION_REGISTRATION_ATTRIBUTE   "registrationattribute"

Definition at line 155 of file SIM_ConAnchorObjRegion.h.

#define SIM_NAME_REGION_STRENGTH_ATTRIBUTE   "strengthattribute"

Definition at line 161 of file SIM_ConAnchorObjRegion.h.

#define SIM_NAME_REGION_TARGET_POSITION_ATTRIBUTE   "targetpositionattribute"

Definition at line 29 of file SIM_ConAnchorObjRegion.h.

Typedef Documentation

using ConnectionModelRep = std::underlying_type_t< ConnectionModel >

Definition at line 216 of file SIM_ConAnchorObjRegion.h.

using NormalFilterOrientationRep = std::underlying_type_t< NormalFilterOrientation >

Definition at line 174 of file SIM_ConAnchorObjRegion.h.

using RestInitializationRep = std::underlying_type_t< RestInitialization >

Definition at line 259 of file SIM_ConAnchorObjRegion.h.

Enumeration Type Documentation

enum ConnectionModel
strong
Enumerator
ONLY_ATTRACT 
ATTRACT_AND_REPEL 

Definition at line 210 of file SIM_ConAnchorObjRegion.h.

Enumerator
INTERIOR 
EXTERIOR 

Definition at line 168 of file SIM_ConAnchorObjRegion.h.

enum RestInitialization
strong
Enumerator
INIT_ZERO 
INIT_REFERENCE 
INIT_ABSOLUTE 

Definition at line 252 of file SIM_ConAnchorObjRegion.h.

Function Documentation

constexpr ConnectionModel defaultConnectionModel ( )

Definition at line 232 of file SIM_ConAnchorObjRegion.h.

constexpr NormalFilterOrientation defaultNormalFilterOrientation ( )

Definition at line 190 of file SIM_ConAnchorObjRegion.h.

constexpr RestInitialization defaultRestInitialization ( )

Definition at line 275 of file SIM_ConAnchorObjRegion.h.

ConnectionModel eConnectionModel ( const ConnectionModelRep  r)
inline

Definition at line 225 of file SIM_ConAnchorObjRegion.h.

NormalFilterOrientation eNormalFilterOrientation ( const NormalFilterOrientationRep  r)
inline

Definition at line 183 of file SIM_ConAnchorObjRegion.h.

RestInitialization eRestInitialization ( const RestInitializationRep  r)
inline

Definition at line 268 of file SIM_ConAnchorObjRegion.h.

SIM_API void evaluatePositionsReal ( UT_Array< UT_Vector3 > &  connector_x,
const GA_Detail detail,
const SIM_MultiConnectorReal real_interface 
)
SIM_API void evaluatePositionsVirtual ( UT_Array< UT_Vector3 > &  connector_x,
const GA_Detail detail,
const SIM_MultiConnectorVirtual virtual_interface 
)
constexpr ConnectionModelRep iConnectionModel ( const ConnectionModel  m)

Definition at line 220 of file SIM_ConAnchorObjRegion.h.

constexpr NormalFilterOrientationRep iNormalFilterOrientation ( const NormalFilterOrientation  m)

Definition at line 178 of file SIM_ConAnchorObjRegion.h.

constexpr RestInitializationRep iRestInitialization ( const RestInitialization  m)

Definition at line 263 of file SIM_ConAnchorObjRegion.h.

constexpr const char* nameConnectionModel ( const ConnectionModel  m)

Definition at line 237 of file SIM_ConAnchorObjRegion.h.

constexpr const char* nameNormalFilterOrientation ( const NormalFilterOrientation  m)

Definition at line 195 of file SIM_ConAnchorObjRegion.h.

constexpr const char* nameRestInitialization ( const RestInitialization  m)

Definition at line 280 of file SIM_ConAnchorObjRegion.h.

Variable Documentation

constexpr ConnectionModelRep CONNECTION_MODEL_COUNT = 2

Definition at line 218 of file SIM_ConAnchorObjRegion.h.

constexpr NormalFilterOrientationRep NORMAL_FILTER_ORIENTATION_COUNT = 2

Definition at line 176 of file SIM_ConAnchorObjRegion.h.

constexpr RestInitializationRep REST_INITIALIZATION_COUNT = 3

Definition at line 261 of file SIM_ConAnchorObjRegion.h.