VTK-m  1.6
Namespaces | Classes | Typedefs | Enumerations | Functions
vtkm::rendering Namespace Reference

VTK-m Rendering. More...

Namespaces

 raytracing
 

Classes

class  Actor
 
class  AxisAnnotation
 
class  AxisAnnotation2D
 
class  AxisAnnotation3D
 
class  BitmapFont
 
class  BitmapFontFactory
 
class  BoundingBoxAnnotation
 
class  Camera
 
class  Canvas
 
class  CanvasRayTracer
 
class  Color
 It's a color! More...
 
class  ColorBarAnnotation
 
class  ColorLegendAnnotation
 
class  ConnectivityProxy
 
class  Cylinderizer
 
class  LineRenderer
 
class  Mapper
 
class  MapperConnectivity
 
class  MapperCylinder
 MapperCylinder renderers edges from a cell set and renders them as cylinders via ray tracing. More...
 
class  MapperPoint
 MapperPonts renders points from a cell set. More...
 
class  MapperQuad
 MapperQuad renderers quad facess from a cell set via ray tracing. More...
 
class  MapperRayTracer
 
class  MapperVolume
 
class  MapperWireframer
 
struct  MatrixHelpers
 
class  Quadralizer
 
class  ScalarRenderer
 
class  Scene
 
class  TextAnnotation
 
class  TextAnnotationBillboard
 
class  TextAnnotationScreen
 
class  TextRenderer
 
class  Texture2D
 
class  Triangulator
 Triangulator creates a minimal set of triangles from a cell set. More...
 
class  View
 
class  View1D
 
class  View2D
 
class  View3D
 
class  Wireframer
 
class  WorldAnnotator
 

Typedefs

using PartialVector64 = std::vector< vtkm::rendering::raytracing::PartialComposite< vtkm::Float64 > >
 
using PartialVector32 = std::vector< vtkm::rendering::raytracing::PartialComposite< vtkm::Float32 > >
 

Enumerations

enum  TextureFilterMode { TextureFilterMode::NearestNeighbour, TextureFilterMode::Linear }
 
enum  TextureWrapMode { TextureWrapMode::Clamp, TextureWrapMode::Repeat }
 

Functions

VTKM_RENDERING_EXPORT vtkm::UInt32 DecodePNG (std::vector< unsigned char > &out_image, unsigned long &image_width, unsigned long &image_height, const unsigned char *in_png, std::size_t in_size) VTKM_DEPRECATED(1.6
 Decodes a PNG file buffer in memory, into a raw pixel buffer Output is RGBA 32-bit (8 bit per channel) color format no matter what color type the original PNG image had. More...
 
VTKM_RENDERING_EXPORT vtkm::UInt32 EncodePNG (std::vector< unsigned char > const &image, unsigned long width, unsigned long height, unsigned char *out_png, std::size_t out_size) VTKM_DEPRECATED(1.6
 
template<typename ArrayHandleType >
VTKM_EXEC void BoundsCheck (const ArrayHandleType &handle, const vtkm::Id &index, const char *file, int line)
 

Detailed Description

VTK-m Rendering.

vtkm::rendering defines API for

Typedef Documentation

◆ PartialVector32

◆ PartialVector64

Enumeration Type Documentation

◆ TextureFilterMode

Enumerator
NearestNeighbour 
Linear 

◆ TextureWrapMode

Enumerator
Clamp 
Repeat 

Function Documentation

◆ BoundsCheck()

template<typename ArrayHandleType >
VTKM_EXEC void vtkm::rendering::BoundsCheck ( const ArrayHandleType &  handle,
const vtkm::Id index,
const char *  file,
int  line 
)
inline

◆ DecodePNG()

VTKM_RENDERING_EXPORT vtkm::UInt32 vtkm::rendering::DecodePNG ( std::vector< unsigned char > &  out_image,
unsigned long &  image_width,
unsigned long &  image_height,
const unsigned char *  in_png,
std::size_t  in_size 
)

Decodes a PNG file buffer in memory, into a raw pixel buffer Output is RGBA 32-bit (8 bit per channel) color format no matter what color type the original PNG image had.

This gives predictable, usable data from any random input PNG.

◆ EncodePNG()

VTKM_RENDERING_EXPORT vtkm::UInt32 vtkm::rendering::EncodePNG ( std::vector< unsigned char > const &  image,
unsigned long  width,
unsigned long  height,
unsigned char *  out_png,
std::size_t  out_size 
)