TOC PREV NEXT INDEX

Box

Synopsis

create a box-shaped mesh

Input Port

ui_parent

user interface parent object

Parameters

x-dimension

slider

x dimension of box

y-dimension

slider

y dimension of box

z-dimension

slider

z dimension of box

Transformation Editor

XformEditor

transform and scale box in space

Output Port

out_fld

mesh representing the box

out_obj

output renderable object

Description

Box creates a 3D wireframe Box_Mesh. You control the size of the box and its orientation in space. The box is useful for sampling with interp_texture3D.

Input

ui_parent

A port mean to be connected to a user interface object that will contain the macro's widgets. By default, it is connected to the default user interface object in the application in which the macro is instanced. (This default connection is not drawn.)

direction

An integer. If the value is not 0, the direction of integration is forward. If it is zero, the direction is backward.

Parameters

x-dimension
y-dimension
z-dimension

Integer sliders that control the size of the box. The default is 8. The range is 2 to 100.

Transformation Editor

An XformEditor that controls the position, orientation, and scale of the box in space. The transformation defined here is added to the renderable out_obj.

Output Port

out_fld

The output consists of a mesh whose coordinates are the eight corners of the box.

out_obj

This is a renderable version of the output field.

Example

Not available

File

v/geoms.v

See also related modules

FBox

TOC PREV NEXT INDEX