Drake
drake::systems::sensors::vtk_util Namespace Reference

## Typedefs

template<typename T , size_t N>
using vtkPointerArray = std::array< vtkSmartPointer< T >, N >
An array type for vtkSmartPointer. More...

## Functions

vtkSmartPointer< vtkPlaneSource > CreateSquarePlane (double size)
Creates a square plane of the given size. More...

vtkSmartPointer< vtkTransform > ConvertToVtkTransform (const Eigen::Isometry3d &transform)
Converts the provided Eigen::Isometry3d to a vtkTransform. More...

template<typename T , typename... Ts, size_t N = 1 + sizeof...(Ts)>
const vtkPointerArray< T, N > MakeVtkPointerArray (const vtkNew< T > &element, const vtkNew< Ts > &...elements)
Makes vtkPointerArray from one or multiple pointer(s) for VTK objects wrapped by vtkNew. More...

## Typedef Documentation

 using vtkPointerArray = std::array, N>

An array type for vtkSmartPointer.

Template Parameters
 T The VTK class type stored in vtkSmartPointer. N The size of array.

## Function Documentation

 vtkSmartPointer< vtkTransform > ConvertToVtkTransform ( const Eigen::Isometry3d & transform )

Converts the provided Eigen::Isometry3d to a vtkTransform.

Parameters
 transform The transform to convert into a vtkTransform.

Here is the caller graph for this function:

 vtkSmartPointer< vtkPlaneSource > CreateSquarePlane ( double size )

Creates a square plane of the given size.

The plane's z axis is its normal and is coincident with the z axis of the world coordinate system. The plane's center is at (0, 0, 0) of both the world coordinate system and plane's coordinate system. The ranges of the plane's x and y are (- size / 2, size / 2).

Parameters
 size The size of the plane.

Here is the caller graph for this function:

 const vtkPointerArray drake::systems::sensors::vtk_util::MakeVtkPointerArray ( const vtkNew< T > & element, const vtkNew< Ts > &... elements )

Makes vtkPointerArray from one or multiple pointer(s) for VTK objects wrapped by vtkNew.

Template Parameters
 transform The transform to convert into a vtkTransform.

Here is the caller graph for this function: