Drake
vtk_util.h File Reference
#include <array>
#include <Eigen/Dense>
#include <vtkNew.h>
#include <vtkPlaneSource.h>
#include <vtkSmartPointer.h>
#include <vtkTransform.h>
#include "drake/common/drake_copyable.h"
#include "drake/math/rigid_transform.h"
Include dependency graph for vtk_util.h:

Namespaces

 drake
 
 drake::geometry
 
 drake::geometry::render
 
 drake::geometry::render::vtk_util
 

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 math::RigidTransformd &transform)
 Converts the provided transform 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...