Learn R Programming

ETRep (version 1.2.1)

plot_Elliptical_Tube: Plot an Elliptical Tube (ETRep)

Description

Plots a given ETRep with options for boundary, material frames, and projection visualization.

Usage

plot_Elliptical_Tube(
  tube,
  plot_boundary = TRUE,
  plot_r_max = FALSE,
  plot_r_project = TRUE,
  plot_frames = TRUE,
  frameScaling = NA,
  plot_spine = TRUE,
  plot_normal_vec = FALSE,
  plot_skeletal_sheet = TRUE,
  decorate = TRUE,
  colSkeletalSheet = "blue",
  colorBoundary = "blue",
  add = FALSE
)

Value

Graphical output.

Arguments

tube

List containing ETRep details.

plot_boundary

Logical, enables plotting of the boundary (default is TRUE).

plot_r_max

Logical, enables plotting of max projection size (default is FALSE).

plot_r_project

Logical, enables plotting of projection along normals (default is TRUE).

plot_frames

Logical, enables plotting of the material frames (default is TRUE).

frameScaling

Numeric, scale factor for frames.

plot_spine

Logical, enables plotting of the spine.

plot_normal_vec

Logical, enables plotting of the normals.

plot_skeletal_sheet

Logical, enables plotting of the surface skeleton.

decorate

Logical, enables decorate the plot

colSkeletalSheet

String, defining the color of the surface skeleton

colorBoundary

String, defining the color of the e-tube

add

Logical, enables overlay plotting

Examples

Run this code
# Load tube
data("colon3D")
if (FALSE) {
plot_Elliptical_Tube(tube = colon3D,
                     plot_frames = FALSE)
 }

Run the code above in your browser using DataLab