Learn R Programming

tcie (version 0.3)

Clipping: Builds and plots the mesh representing the desired isosurface of an specific region of the dataset

Description

This function returns the visualization of an specific region of the dataset.

Usage

Clipping(file_path, isovalue, verification, color_mesh, opacity,
  new_window, range_x, range_y, range_z)

Arguments

file_path

A string: the path to the nhdr file

isovalue

A number: the value corresponding to the desired isosurface

verification

A boolean: determines whether the grid verification will be performed

color_mesh

A string: the color to rendirind the resulting mesh

opacity

A number: the opacity-level

new_window

A boolean: determines whether a new view window will open

range_x

A vector contaning the clipping limits of the dataset in the x axis.

range_y

A vector contaning the clipping limits of the dataset in the y axis.

range_z

A vector contaning the clipping limits of the dataset in the z axis.

Value

The visualization of the generated mesh.

Examples

Run this code
# NOT RUN {
Clipping(system.file("extdata","f3.nhdr",package ="tcie"),0,FALSE,"red",1,TRUE,c(2,3),c(2,4),c(2,4))
Clipping(system.file("extdata","f3.nhdr",package ="tcie"),0,TRUE,"red",1,TRUE,c(2,3),c(2,4),c(2,4))
Clipping(system.file("extdata","f9.nhdr",package ="tcie"),0,TRUE,"blue",1,TRUE,c(1,5),c(2,4),c(3,5))
# }

Run the code above in your browser using DataLab