HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings Struct Reference

A group of shared settings to be used in the Volume Rasterizer. More...

#include <PointRasterizeFrustum.h>

Public Member Functions

 FrustumRasterizerSettings ()=delete
 
 FrustumRasterizerSettings (const math::Transform &_transform)
 

Public Attributes

math::Transform::Ptr transform
 
RasterCamera camera
 
bool scaleByVoxelVolume = false
 
bool useRadius = false
 
bool accurateFrustumRadius = false
 
bool accurateSphereMotionBlur = false
 
bool velocityMotionBlur = false
 
bool threaded = true
 
float threshold = 1e-6f
 
float radiusScale = 1.0f
 
float framesPerSecond = 24.0f
 
Name velocityAttribute = "v"
 
Name radiusAttribute = "pscale"
 
int motionSamples = 2
 

Detailed Description

A group of shared settings to be used in the Volume Rasterizer.

Parameters
scaleByVoxelVolumescale particle contributions by the volume of the receiving voxel
velocityAttributethe name of the velocity attribute
velocityMotionBlurbake the point velocities into the volume
clipToFrustumif enabled and the transform is a frustum transform, eliminate points whose position does not lie within the frustum
clipBBoxan optional world-space bounding box to clip the points during rasterization
clipMaskan optional mask, each point samples the mask using a nearest-neighbor sampling and is only rasterized if active
invertMaskif mask is provided, only rasterize if sample is inactive
framesPerSecondthe global value for frames / second for computing motion blur
threadedif enabled, use threading to accelerate rasterization
Note
rasterization can clip can using any combination of bounding box, mask and frustum

Definition at line 86 of file PointRasterizeFrustum.h.

Constructor & Destructor Documentation

openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::FrustumRasterizerSettings ( )
delete
openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::FrustumRasterizerSettings ( const math::Transform _transform)
inlineexplicit

Definition at line 90 of file PointRasterizeFrustum.h.

Member Data Documentation

bool openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::accurateFrustumRadius = false

Definition at line 98 of file PointRasterizeFrustum.h.

bool openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::accurateSphereMotionBlur = false

Definition at line 99 of file PointRasterizeFrustum.h.

RasterCamera openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::camera

Definition at line 95 of file PointRasterizeFrustum.h.

float openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::framesPerSecond = 24.0f

Definition at line 104 of file PointRasterizeFrustum.h.

int openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::motionSamples = 2

Definition at line 107 of file PointRasterizeFrustum.h.

Name openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::radiusAttribute = "pscale"

Definition at line 106 of file PointRasterizeFrustum.h.

float openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::radiusScale = 1.0f

Definition at line 103 of file PointRasterizeFrustum.h.

bool openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::scaleByVoxelVolume = false

Definition at line 96 of file PointRasterizeFrustum.h.

bool openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::threaded = true

Definition at line 101 of file PointRasterizeFrustum.h.

float openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::threshold = 1e-6f

Definition at line 102 of file PointRasterizeFrustum.h.

math::Transform::Ptr openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::transform

Definition at line 94 of file PointRasterizeFrustum.h.

bool openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::useRadius = false

Definition at line 97 of file PointRasterizeFrustum.h.

Name openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::velocityAttribute = "v"

Definition at line 105 of file PointRasterizeFrustum.h.

bool openvdb::OPENVDB_VERSION_NAME::points::FrustumRasterizerSettings::velocityMotionBlur = false

Definition at line 100 of file PointRasterizeFrustum.h.


The documentation for this struct was generated from the following file: