ExpClipping: Builds and exports the mesh representing the desired...

Description Usage Arguments Value Examples

Description

This function returns the file (ply format) of the mesh of an specific region of the dataset.

Usage

1
2
ExpClipping(file_path, isovalue, verification, range_x, range_y, range_z,
  export_path)

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

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.

export_path

A string: the path to a directory to put the mesh generated, following by the file name.

Value

The file of the mesh in the ply format.

Examples

1
2
3
ExpClipping(system.file("extdata","f3.nhdr",package ="tcie"),0,FALSE,c(2,3),c(2,4),c(2,4),"m.ply")
ExpClipping(system.file("extdata","f3.nhdr",package ="tcie"),0,TRUE,c(2,3),c(2,4),c(2,4),"m.ply")
ExpClipping(system.file("extdata","f9.nhdr",package ="tcie"),0,TRUE,c(1,5),c(2,4),c(3,5),"m.ply")

tcie documentation built on May 2, 2019, 1:05 p.m.

Related to ExpClipping in tcie...