Blender V2.61 - r43446
Classes | Defines | Typedefs | Functions

BKE_shrinkwrap.h File Reference

#include "BKE_customdata.h"
#include "BKE_bvhutils.h"

Go to the source code of this file.

Classes

struct  SpaceTransform
struct  ShrinkwrapCalcData

Defines

#define space_transform_setup(data, local, target)   space_transform_from_matrixs(data, (local)->obmat, (target)->obmat)
#define NULL_ShrinkwrapCalcData   {NULL, }
#define NULL_BVHTreeFromMesh   {NULL, }
#define NULL_BVHTreeRayHit   {NULL, }
#define NULL_BVHTreeNearest   {0, }

Typedefs

typedef struct SpaceTransform SpaceTransform
typedef struct ShrinkwrapCalcData ShrinkwrapCalcData

Functions

struct DerivedMeshobject_get_derived_final (struct Object *ob)
void space_transform_from_matrixs (struct SpaceTransform *data, float local[4][4], float target[4][4])
void space_transform_apply (const struct SpaceTransform *data, float *co)
void space_transform_invert (const struct SpaceTransform *data, float *co)
void shrinkwrapModifier_deform (struct ShrinkwrapModifierData *smd, struct Object *ob, struct DerivedMesh *dm, float(*vertexCos)[3], int numVerts)
int normal_projection_project_vertex (char options, const float *vert, const float *dir, const SpaceTransform *transf, BVHTree *tree, BVHTreeRayHit *hit, BVHTree_RayCastCallback callback, void *userdata)

Detailed Description

Definition in file BKE_shrinkwrap.h.


Define Documentation

#define NULL_BVHTreeFromMesh   {NULL, }
#define NULL_BVHTreeNearest   {0, }
#define NULL_BVHTreeRayHit   {NULL, }

Definition at line 144 of file BKE_shrinkwrap.h.

#define NULL_ShrinkwrapCalcData   {NULL, }

Definition at line 142 of file BKE_shrinkwrap.h.

Referenced by shrinkwrapModifier_deform().

#define space_transform_setup (   data,
  local,
  target 
)    space_transform_from_matrixs(data, (local)->obmat, (target)->obmat)

Typedef Documentation


Function Documentation

int normal_projection_project_vertex ( char  options,
const float *  vert,
const float *  dir,
const SpaceTransform transf,
BVHTree tree,
BVHTreeRayHit hit,
BVHTree_RayCastCallback  callback,
void *  userdata 
)
struct DerivedMesh* object_get_derived_final ( struct Object ob) [read]
void shrinkwrapModifier_deform ( struct ShrinkwrapModifierData smd,
struct Object ob,
struct DerivedMesh dm,
float(*)  vertexCos[3],
int  numVerts 
)
void space_transform_apply ( const struct SpaceTransform data,
float *  co 
)
void space_transform_from_matrixs ( struct SpaceTransform data,
float  local[4][4],
float  target[4][4] 
)
void space_transform_invert ( const struct SpaceTransform data,
float *  co 
)