Difference between revisions of "MGED CMD voxelize"
From BRL-CAD
Anuragmurty (talk | contribs) (→Syntax) |
Anuragmurty (talk | contribs) (→Syntax) |
||
Line 1: | Line 1: | ||
+ | =voxelize= | ||
+ | __TOC__ | ||
+ | |||
==Syntax== | ==Syntax== | ||
− | :voxelize [-s " | + | :voxelize [-s \"dx dy dz\"] [-d n] [-t f] new_obj old_obj [old_obj2 old_obj3 ...] |
+ | |||
+ | ==Argument(s)== | ||
+ | : '''-d''' | ||
+ | :: Specifies the level of detail(precision in approximation of volume) required. An input of n means that n * n rays will be shot through each row, and an approximation of volume filled is reached averaging these n * n values | ||
+ | |||
+ | : '''-s''' | ||
+ | :: Specifies the voxel size in each direction. | ||
+ | |||
+ | : '''-t''' | ||
+ | :: Specifies the threshold volume to decide if voxel is to be included in the voxelized output. | ||
+ | |||
+ | : '''new_object''' | ||
+ | :: Name for resultant primitive | ||
+ | |||
+ | : '''old_object''' | ||
+ | :: Name of source primitive or collection. | ||
+ | |||
+ | |||
+ | ==Return Value(s)== | ||
+ | : None | ||
+ | |||
+ | |||
+ | ==Description== | ||
+ | "voxelize" command takes as input a primitive or a collection (the "old object") and outputs a collection of RPPs(voxels) that approximate the old object. | ||
+ | |||
+ | The user can change the level of detail, the threshold for considering a voxel region to be "filled", and also the voxel size depending on how closely the new object should represent the old object. | ||
+ | |||
+ | ==Example(s)== | ||
+ | |||
+ | ==See Also== | ||
+ | : No related commands. | ||
+ | |||
+ | |||
+ | ---- |
Revision as of 13:59, 15 August 2012
voxelize
Contents
Syntax
- voxelize [-s \"dx dy dz\"] [-d n] [-t f] new_obj old_obj [old_obj2 old_obj3 ...]
Argument(s)
- -d
- Specifies the level of detail(precision in approximation of volume) required. An input of n means that n * n rays will be shot through each row, and an approximation of volume filled is reached averaging these n * n values
- -s
- Specifies the voxel size in each direction.
- -t
- Specifies the threshold volume to decide if voxel is to be included in the voxelized output.
- new_object
- Name for resultant primitive
- old_object
- Name of source primitive or collection.
Return Value(s)
- None
Description
"voxelize" command takes as input a primitive or a collection (the "old object") and outputs a collection of RPPs(voxels) that approximate the old object.
The user can change the level of detail, the threshold for considering a voxel region to be "filled", and also the voxel size depending on how closely the new object should represent the old object.
Example(s)
See Also
- No related commands.