aslVTKCasters.h File Reference
`#include <memory>`
`#include <string>`
`#include <vector>`
`#include <vtkSmartPointer.h>`
`#include <acl/aclHardware.h>`
`#include <aslGenerators.h>`
`#include <math/aslVectors.h>`
Include dependency graph for aslVTKCasters.h:

Go to the source code of this file.

## Namespaces

| acl
| Advanced Computational Language.
| asl
| Advanced Simulation Library.

## Functions

template<typename T >
vtkSmartPointer< vtkDataArray > | asl::castVTKDataArray (T *d, unsigned int np, unsigned int save=0, const std::string &name="")
| creates VTKDataArray with 1 component `d` and length `np` and `name` More...
template<typename T >
vtkSmartPointer< vtkDataArray > | asl::castVTKDataArray (T *d1, T *d2, unsigned int np, const std::string &name="")
| creates VTKDataArray with 2 component `d1` and `d2` and length `np` and `name` More...
template<typename T >
vtkSmartPointer< vtkDataArray > | asl::castVTKDataArray (T *d1, T *d2, T *d3, unsigned int np, const std::string &name="")
| creates VTKDataArray with 3 component `d1`, `d2` and `d3` and length `np` and `name` More...
template<typename T >
vtkSmartPointer< vtkDataArray > | asl::castVTKDataArray2in3 (T *d1, T *d2, unsigned int np, const std::string &name)
| creates VTKDataArray with 3 component `d2`, `d1` and 0 and length `np` and `name` More...
vtkSmartPointer< vtkIdTypeArray > | asl::castVTKIdTypeArray (unsigned int *d0, unsigned int *d1, unsigned int *d2, unsigned int *d3, unsigned int np, const std::string &name="")
| creates VTKDataArray with 3 component `d1`, `d2` and `d3` and length `np` and `name` More...
vtkSmartPointer< vtkDataArray > | asl::castVTKDataArray (acl::Element source, const std::string &name="")
void | asl::updateVTKDataArray (acl::Element source, vtkSmartPointer< vtkDataArray > vtkData)
void | asl::updateVTKDataArray (acl::Element source, const std::string &name, vtkSmartPointer< vtkImageData > vtkData)
vtkSmartPointer< vtkImageData > | asl::castVTKData (const Block &b)
vtkSmartPointer< vtkImageData > | asl::castVTKData (double *d, const Block &b, unsigned int save=0, const std::string &name="")
vtkSmartPointer< vtkImageData > | asl::castVTKData (double *d1, double *d2, const Block &b, const std::string &name="")
vtkSmartPointer< vtkImageData > | asl::castVTKData (double *d1, double *d2, double *d3, const Block &b, const std::string &name="")
void | asl::putToVTKData (double *d, vtkSmartPointer< vtkImageData > target)
void | asl::putToVTKData (double *d1, double *d2, vtkSmartPointer< vtkImageData > target)
void | asl::putToVTKData (double *d1, double *d2, double *d3, vtkSmartPointer< vtkImageData > target)
vtkSmartPointer< vtkImageData > | asl::castVTKData (const AbstractData &d, const std::vector< std::string > &names=std::vector< std::string >(0))
SPDataWithGhostNodesACLData | asl::makeData (vtkSmartPointer< vtkImageData > image, unsigned int arrayNum=0, acl::CommandQueue queue=acl::hardware.defaultQueue)
std::shared_ptr< Block > | asl::makeBlock (vtkSmartPointer< vtkImageData > image)
template<typename T >
vtkSmartPointer< vtkDataArray > | asl::castVTKDataArray (std::shared_ptr< T > d, unsigned int np, const std::string &name="")
vtkSmartPointer< vtkImageData > | asl::castVTKData (std::shared_ptr< double > d, const Block &b, const std::string &name="")
template<typename T >
vtkSmartPointer< vtkDataArray > | asl::castVTKDataArray (std::vector< T > &d, unsigned int np, const std::string &name="")
vtkSmartPointer< vtkImageData > | asl::castVTKData (std::vector< double > &d, const Block &b, const std::string &name="")
template<typename T >
AVec< T > | asl::castVTKVector (AVec< T > a, T fill=0)