previewimageprovider.h File Reference

Classes

struct  PreviewImageProviderOutputImage
 
struct  PreviewImageProviderOutput
 
class  PreviewImageProviderInterface
 

Namespaces

 maxon
 
 maxon::nodes
 
 maxon::nodes::PREVIEW
 
 maxon::nodes::PREVIEW::IMAGESIZE_PIX
 
 maxon::nodes::PREVIEWIMAGEREQUEST
 

Typedefs

using SampleFloat32 = Vec4< Float32 >
 
using SamplesFloat32 = BaseArray< SampleFloat32 >
 
using SamplesFloat32Ref = StrongRef< SamplesFloat32 >
 
using SamplesFloat32ConstRef = StrongRef< const SamplesFloat32 >
 

Enumerations

enum class  STAGE {
  CALCULATING ,
  ERROR ,
  FINISHED ,
  THREADCANCELLED
}
 
enum class  IMAGESIZE {
  DEFAULT ,
  SMALL ,
  MEDIUM ,
  BIG ,
  LARGE
}
 
enum class  SCENETYPE {
  MatPreviewDefault ,
  MatPreviewFlat2D ,
  MatPreviewCube ,
  MatPreviewPlane ,
  MatPreviewCylinder ,
  MatPreviewTorus ,
  MatPreviewPlaneBack ,
  MatPreviewSphere ,
  MatPreview2Torus ,
  MatPreviewRoundedCube ,
  MatPreviewKnot ,
  MatPreviewMultipleObjects ,
  MatPreviewCandle ,
  MatPreviewCloth ,
  MatPreviewGem ,
  MatPreviewObjectAnim ,
  MatPreviewObject ,
  MatPreviewUser
}
 
enum class  TextureResize {
  ALWAYS ,
  OFF ,
  DONT_ENLARGE
}
 

Functions

enum maxon::nodes::PREVIEW::STAGE MAXON_ENUM_LIST (STAGE)
 
enum maxon::nodes::PREVIEW::IMAGESIZE MAXON_ENUM_LIST (IMAGESIZE)
 
enum maxon::nodes::PREVIEW::SCENETYPE MAXON_ENUM_LIST (SCENETYPE)
 
 MAXON_ATTRIBUTE (IMAGESIZE, ImageSize, "imagesize")
 
 MAXON_ATTRIBUTE (SCENETYPE, SceneType, "scenetype")
 
 MAXON_ATTRIBUTE (Int, Timestamp, "timestamp")
 
enum maxon::nodes::PREVIEWIMAGEREQUEST::TextureResize MAXON_ENUM_LIST (TextureResize)
 
 MAXON_ATTRIBUTE (IntVector2d, TEXTURESIZE, "net.maxon.nodes.previewimagerequest.texturesize")
 
 MAXON_ATTRIBUTE (TextureResize, TEXTURE_RESIZE, "net.maxon.nodes.previewimagerequest.textureresize")
 
 MAXON_ATTRIBUTE (Bool, FLIPVERTICALLY, "net.maxon.nodes.previewimagerequest.flipvertically")
 
 MAXON_ATTRIBUTE (Int, PROGRESSIONTHRESHOLD, "net.maxon.nodes.previewimagerequest.progressionthreshold")
 
 MAXON_ATTRIBUTE (Range< Float >, URANGE, "net.maxon.nodes.previewimagerequest.urange")
 
 MAXON_ATTRIBUTE (Range< Float >, VRANGE, "net.maxon.nodes.previewimagerequest.vrange")
 
 MAXON_ATTRIBUTE (PREVIEW::SCENETYPE, SCENETYPE, "net.maxon.nodes.previewimagerequest.scenetype")
 
 MAXON_ATTRIBUTE (GraphNode, SUBJECT, "net.maxon.nodes.previewimagerequest.subject")
 
 MAXON_ATTRIBUTE (Array< Id >, TEXTUREIDS, "net.maxon.nodes.previewimagerequest.textureids")
 
 MAXON_ATTRIBUTE (Class< PreviewImageProviderRef >, PROVIDER, "net.maxon.nodes.previewimagerequest.provider")
 
 MAXON_ATTRIBUTE (maxon::InternedId, INTENT, "net.maxon.nodes.previewimagerequest.intent")
 
 MAXON_ATTRIBUTE (void, INTENT_NODE2D, "net.maxon.nodes.previewimagerequest.intent_node2d")
 
 MAXON_ATTRIBUTE (void, INTENT_MATERIALEXCHANGE, "net.maxon.nodes.previewimagerequest.intent_materialexchange")
 
 MAXON_ATTRIBUTE (void, INTENT_GRADIENTBAR, "net.maxon.nodes.previewimagerequest.intent_gradientbar")
 
 MAXON_ATTRIBUTE (void, INTENT_GRADIENTAVERAGE, "net.maxon.nodes.previewimagerequest.intent_gradientaverage")
 
 MAXON_DATATYPE (PreviewImageProviderOutputImage, "net.maxon.nodes.datatype.previewimageprovideroutputimage")
 

Variables

 CALCULATING
 
 ERROR
 
 FINISHED
 
 THREADCANCELLED
 
 DEFAULT
 
 SMALL
 
 MEDIUM
 
 BIG
 
 LARGE
 
static const Int32 SMALL
 
static const Int32 MEDIUM
 
static const Int32 BIG
 
static const Int32 LARGE
 
 MatPreviewDefault
 
 MatPreviewFlat2D
 
 MatPreviewCube
 
 MatPreviewPlane
 
 MatPreviewCylinder
 
 MatPreviewTorus
 
 MatPreviewPlaneBack
 
 MatPreviewSphere
 
 MatPreview2Torus
 
 MatPreviewRoundedCube
 
 MatPreviewKnot
 
 MatPreviewMultipleObjects
 
 MatPreviewCandle
 
 MatPreviewCloth
 
 MatPreviewGem
 
 MatPreviewObjectAnim
 
 MatPreviewObject
 
 MatPreviewUser
 
 ALWAYS
 
 OFF
 
 DONT_ENLARGE
 

Variable Documentation

◆ CALCULATING

CALCULATING

Indicates that the preview computation is still in progress. The result is not final.

◆ ERROR

ERROR

Indicates that the preview computation was terminated with an error.

◆ FINISHED

FINISHED

Indicates that the preview computation finished successfully.

◆ THREADCANCELLED

THREADCANCELLED

Indicates that the preview computation was interrupted.

◆ DEFAULT

DEFAULT

Use system default.

◆ SMALL

SMALL

Small.

◆ MEDIUM

MEDIUM

Medium.

◆ BIG

BIG

Big.

◆ LARGE

LARGE

< Large.

◆ MatPreviewDefault

MatPreviewDefault

Default (may be a user preference).

◆ MatPreviewFlat2D

MatPreviewFlat2D

Flat 2D.

◆ MatPreviewCube

MatPreviewCube

Cube.

◆ MatPreviewPlane

MatPreviewPlane

Plane.

◆ MatPreviewCylinder

MatPreviewCylinder

Cylinder.

◆ MatPreviewTorus

MatPreviewTorus

Torus.

◆ MatPreviewPlaneBack

MatPreviewPlaneBack

Plane Backlight.

◆ MatPreviewSphere

MatPreviewSphere

Sphere.

◆ MatPreview2Torus

MatPreview2Torus

Double Torus.

◆ MatPreviewRoundedCube

MatPreviewRoundedCube

Rounded Cube.

◆ MatPreviewKnot

MatPreviewKnot

Knot.

◆ MatPreviewMultipleObjects

MatPreviewMultipleObjects

Multiple Objects.

◆ MatPreviewCandle

MatPreviewCandle

Candle.

◆ MatPreviewCloth

MatPreviewCloth

Cloth.

◆ MatPreviewGem

MatPreviewGem

Gem.

◆ MatPreviewObjectAnim

MatPreviewObjectAnim

Animated Object.

◆ MatPreviewObject

MatPreviewObject

Object.

◆ MatPreviewUser

MatPreviewUser

User.

◆ ALWAYS

ALWAYS

Legacy behaviour. Textures should be up- and downscaled to the requested texture dimensions.

◆ OFF

OFF

Textures should be passed with their native resolution.

◆ DONT_ENLARGE

DONT_ENLARGE

Textures should only be downscaled to the requested texture dimensions.