Skip to content

Class: AxisSet3D

Defined in: src/geometry/Axis.ts:202

Extends

Constructors

Constructor

ts
new AxisSet3D(
   i, 
   j, 
   k): AxisSet3D;

Defined in: src/geometry/Axis.ts:207

Parameters

i

NamedAxis

j

NamedAxis

k

NamedAxis

Returns

AxisSet3D

Overrides

AxisSet.constructor

Properties

ndim

ts
ndim: number;

Defined in: src/geometry/Axis.ts:42

Inherited from

AxisSet.ndim


i

ts
i: NamedAxis;

Defined in: src/geometry/Axis.ts:203


j

ts
j: NamedAxis;

Defined in: src/geometry/Axis.ts:204


k

ts
k: NamedAxis;

Defined in: src/geometry/Axis.ts:205


SAGITTAL_AIL

ts
static SAGITTAL_AIL: AxisSet3D;

Defined in: src/geometry/Axis.ts:241


SAGITTAL_PIL

ts
static SAGITTAL_PIL: AxisSet3D;

Defined in: src/geometry/Axis.ts:242


SAGITTAL_PSL

ts
static SAGITTAL_PSL: AxisSet3D;

Defined in: src/geometry/Axis.ts:243


SAGITTAL_ASL

ts
static SAGITTAL_ASL: AxisSet3D;

Defined in: src/geometry/Axis.ts:244


SAGITTAL_IAL

ts
static SAGITTAL_IAL: AxisSet3D;

Defined in: src/geometry/Axis.ts:245


SAGITTAL_IPL

ts
static SAGITTAL_IPL: AxisSet3D;

Defined in: src/geometry/Axis.ts:246


SAGITTAL_SPL

ts
static SAGITTAL_SPL: AxisSet3D;

Defined in: src/geometry/Axis.ts:247


SAGITTAL_SAL

ts
static SAGITTAL_SAL: AxisSet3D;

Defined in: src/geometry/Axis.ts:248


CORONAL_LIA

ts
static CORONAL_LIA: AxisSet3D;

Defined in: src/geometry/Axis.ts:250


CORONAL_LIP

ts
static CORONAL_LIP: AxisSet3D;

Defined in: src/geometry/Axis.ts:251


CORONAL_RIA

ts
static CORONAL_RIA: AxisSet3D;

Defined in: src/geometry/Axis.ts:252


CORONAL_RSA

ts
static CORONAL_RSA: AxisSet3D;

Defined in: src/geometry/Axis.ts:253


CORONAL_LSA

ts
static CORONAL_LSA: AxisSet3D;

Defined in: src/geometry/Axis.ts:254


AXIAL_LAI

ts
static AXIAL_LAI: AxisSet3D;

Defined in: src/geometry/Axis.ts:256


AXIAL_RAI

ts
static AXIAL_RAI: AxisSet3D;

Defined in: src/geometry/Axis.ts:257


AXIAL_RPI

ts
static AXIAL_RPI: AxisSet3D;

Defined in: src/geometry/Axis.ts:258


AXIAL_LPI

ts
static AXIAL_LPI: AxisSet3D;

Defined in: src/geometry/Axis.ts:259


AXIAL_RAS

ts
static AXIAL_RAS: AxisSet3D;

Defined in: src/geometry/Axis.ts:261


AXIAL_LAS

ts
static AXIAL_LAS: AxisSet3D;

Defined in: src/geometry/Axis.ts:262


AXIAL_RPS

ts
static AXIAL_RPS: AxisSet3D;

Defined in: src/geometry/Axis.ts:263


AXIAL_LPS

ts
static AXIAL_LPS: AxisSet3D;

Defined in: src/geometry/Axis.ts:264

Accessors

id

Get Signature

ts
get id(): string;

Defined in: src/geometry/Axis.ts:234

Returns

string

Methods

names()

ts
names(): string[];

Defined in: src/geometry/Axis.ts:54

Returns

string[]

Inherited from

AxisSet.names


whichAxis()

ts
whichAxis(axis, ignoreDirection?): number;

Defined in: src/geometry/Axis.ts:58

Parameters

axis

NamedAxis

ignoreDirection?

boolean = true

Returns

number

Inherited from

AxisSet.whichAxis


equals()

ts
equals(other): boolean;

Defined in: src/geometry/Axis.ts:78

Parameters

other

AxisSet

Returns

boolean

Inherited from

AxisSet.equals


oppositeAxis()

ts
static oppositeAxis(axis): NamedAxis;

Defined in: src/geometry/Axis.ts:82

Parameters

axis

NamedAxis

Returns

NamedAxis

Inherited from

AxisSet.oppositeAxis


permMat()

ts
permMat(): Matrix;

Defined in: src/geometry/Axis.ts:214

Returns

Matrix

Overrides

AxisSet.permMat


perm_mat()

ts
perm_mat(): Matrix;

Defined in: src/geometry/Axis.ts:218

Returns

Matrix


dropDim()

ts
dropDim(): AxisSet | null;

Defined in: src/geometry/Axis.ts:222

Returns

AxisSet | null

Overrides

AxisSet.dropDim


axes()

ts
axes(): NamedAxis[];

Defined in: src/geometry/Axis.ts:226

Returns

NamedAxis[]

Overrides

AxisSet.axes


toString()

ts
toString(): string;

Defined in: src/geometry/Axis.ts:230

Returns a string representation of an object.

Returns

string


orientations()

ts
static orientations(): AxisSet3D[];

Defined in: src/geometry/Axis.ts:266

Returns

AxisSet3D[]


fromStr()

ts
static fromStr(str): AxisSet3D;

Defined in: src/geometry/Axis.ts:295

Create AxisSet3D from string representation Common representations:

  • 'XYZ' for axial view (X=left-right, Y=anterior-posterior, Z=inferior-superior)
  • 'YZX' for sagittal view
  • 'XZY' for coronal view

Parameters

str

string

Returns

AxisSet3D

Released under the MIT License.