Skip to content

Class: AxisSet3D ​

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

Extends ​

Constructors ​

Constructor ​

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

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

Parameters ​

i ​

NamedAxis

j ​

NamedAxis

k ​

NamedAxis

Returns ​

AxisSet3D

Overrides ​

AxisSet.constructor

Properties ​

ndim ​

ts
ndim: number;

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

Inherited from ​

AxisSet.ndim


i ​

ts
i: NamedAxis;

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


j ​

ts
j: NamedAxis;

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


k ​

ts
k: NamedAxis;

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


SAGITTAL_AIL ​

ts
static SAGITTAL_AIL: AxisSet3D;

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


SAGITTAL_PIL ​

ts
static SAGITTAL_PIL: AxisSet3D;

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


SAGITTAL_PSL ​

ts
static SAGITTAL_PSL: AxisSet3D;

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


SAGITTAL_ASL ​

ts
static SAGITTAL_ASL: AxisSet3D;

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


SAGITTAL_IAL ​

ts
static SAGITTAL_IAL: AxisSet3D;

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


SAGITTAL_IPL ​

ts
static SAGITTAL_IPL: AxisSet3D;

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


SAGITTAL_SPL ​

ts
static SAGITTAL_SPL: AxisSet3D;

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


SAGITTAL_SAL ​

ts
static SAGITTAL_SAL: AxisSet3D;

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


CORONAL_LIA ​

ts
static CORONAL_LIA: AxisSet3D;

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


CORONAL_LIP ​

ts
static CORONAL_LIP: AxisSet3D;

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


CORONAL_RIA ​

ts
static CORONAL_RIA: AxisSet3D;

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


CORONAL_RSA ​

ts
static CORONAL_RSA: AxisSet3D;

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


CORONAL_LSA ​

ts
static CORONAL_LSA: AxisSet3D;

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


AXIAL_LAI ​

ts
static AXIAL_LAI: AxisSet3D;

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


AXIAL_RAI ​

ts
static AXIAL_RAI: AxisSet3D;

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


AXIAL_RPI ​

ts
static AXIAL_RPI: AxisSet3D;

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


AXIAL_LPI ​

ts
static AXIAL_LPI: AxisSet3D;

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


AXIAL_RAS ​

ts
static AXIAL_RAS: AxisSet3D;

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


AXIAL_LAS ​

ts
static AXIAL_LAS: AxisSet3D;

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


AXIAL_RPS ​

ts
static AXIAL_RPS: AxisSet3D;

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


AXIAL_LPS ​

ts
static AXIAL_LPS: AxisSet3D;

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

Accessors ​

id ​

Get Signature ​

ts
get id(): string;

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

Returns ​

string

Methods ​

names() ​

ts
names(): string[];

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

Returns ​

string[]

Inherited from ​

AxisSet.names


whichAxis() ​

ts
whichAxis(axis, ignoreDirection?): number;

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

Parameters ​

axis ​

NamedAxis

ignoreDirection? ​

boolean = true

Returns ​

number

Inherited from ​

AxisSet.whichAxis


equals() ​

ts
equals(other): boolean;

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

Parameters ​

other ​

AxisSet

Returns ​

boolean

Inherited from ​

AxisSet.equals


oppositeAxis() ​

ts
static oppositeAxis(axis): NamedAxis;

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

Parameters ​

axis ​

NamedAxis

Returns ​

NamedAxis

Inherited from ​

AxisSet.oppositeAxis


permMat() ​

ts
permMat(): Matrix;

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

Returns ​

Matrix

Overrides ​

AxisSet.permMat


perm_mat() ​

ts
perm_mat(): Matrix;

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

Returns ​

Matrix


dropDim() ​

ts
dropDim(): AxisSet | null;

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

Returns ​

AxisSet | null

Overrides ​

AxisSet.dropDim


axes() ​

ts
axes(): NamedAxis[];

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

Returns ​

NamedAxis[]

Overrides ​

AxisSet.axes


toString() ​

ts
toString(): string;

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

Returns a string representation of an object.

Returns ​

string


orientations() ​

ts
static orientations(): AxisSet3D[];

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

Returns ​

AxisSet3D[]


fromStr() ​

ts
static fromStr(str): AxisSet3D;

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

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.