Functions
contrib/brl/bbas/imesh/algo/imesh_transform.h File Reference

Functions for transforming meshes. More...

#include <imesh/imesh_mesh.h>
#include <vgl/vgl_vector_3d.h>
#include <vgl/algo/vgl_rotation_3d.h>

Go to the source code of this file.

Functions

void imesh_transform_inplace (imesh_mesh &mesh, const vgl_vector_3d< double > &translation)
 Translate the vertices in place.
void imesh_transform_inplace (imesh_mesh &mesh, const vgl_rotation_3d< double > &rotation)
 Rotate the vertices in place.
void imesh_transform_inplace (imesh_mesh &mesh, const vgl_rotation_3d< double > &rotation, const vgl_vector_3d< double > &translation)
 Rotate and translate the vertices in place.

Detailed Description

Functions for transforming meshes.

Author:
Matt Leotta (mleotta@lems.brown.edu)
Date:
May 8, 2008

Definition in file imesh_transform.h.


Function Documentation

void imesh_transform_inplace ( imesh_mesh mesh,
const vgl_vector_3d< double > &  translation 
)

Translate the vertices in place.

Definition at line 11 of file imesh_transform.cxx.

void imesh_transform_inplace ( imesh_mesh mesh,
const vgl_rotation_3d< double > &  rotation 
)

Rotate the vertices in place.

Definition at line 26 of file imesh_transform.cxx.

void imesh_transform_inplace ( imesh_mesh mesh,
const vgl_rotation_3d< double > &  rotation,
const vgl_vector_3d< double > &  translation 
)

Rotate and translate the vertices in place.

Definition at line 43 of file imesh_transform.cxx.