libatomprobe
Library for Atom Probe Tomography (APT) computation
Public Member Functions | List of all members
AtomProbe::GnomonicProjection Class Reference

#include <projection.h>

Inheritance diagram for AtomProbe::GnomonicProjection:
Inheritance graph
[legend]
Collaboration diagram for AtomProbe::GnomonicProjection:
Collaboration graph
[legend]

Public Member Functions

virtual bool toAzimuthal (float fx, float fy, float &theta, float &phi) const
 Convert from plane coordinates to spherical coords. More...
 
virtual bool toPlanar (float theta, float phi, float &fx, float &fy) const
 Convert from spherical coordinates to plane. More...
 
virtual void scaleDown (float flightLength, float detX, float detY, float &scaledX, float &scaledY) const
 Convert from actual detector postion (eg. mm) and flight path to scaled-down transform. More...
 
virtual void scaleUp (float flightLength, float scaledX, float scaledY, float &realX, float &realY) const
 Convert from scaled-down radius to actual radius. More...
 
float thetaToEta (float theta) const
 

Detailed Description

Definition at line 63 of file projection.h.

Member Function Documentation

◆ scaleDown()

void AtomProbe::GnomonicProjection::scaleDown ( float  flightLength,
float  detX,
float  detY,
float &  scaledX,
float &  scaledY 
) const
virtual

Convert from actual detector postion (eg. mm) and flight path to scaled-down transform.

Implements AtomProbe::SphericPlaneProjection.

Definition at line 101 of file projection.cpp.

References ASSERT.

◆ scaleUp()

void AtomProbe::GnomonicProjection::scaleUp ( float  flightLength,
float  scaledX,
float  scaledY,
float &  realX,
float &  realY 
) const
virtual

Convert from scaled-down radius to actual radius.

Implements AtomProbe::SphericPlaneProjection.

Definition at line 113 of file projection.cpp.

References ASSERT.

◆ thetaToEta()

float AtomProbe::GnomonicProjection::thetaToEta ( float  theta) const
inlinevirtual

Implements AtomProbe::SphericPlaneProjection.

Definition at line 82 of file projection.h.

◆ toAzimuthal()

bool AtomProbe::GnomonicProjection::toAzimuthal ( float  fx,
float  fy,
float &  theta,
float &  phi 
) const
virtual

Convert from plane coordinates to spherical coords.

Implements AtomProbe::SphericPlaneProjection.

Definition at line 85 of file projection.cpp.

Referenced by AtomProbe::ModifiedFocusSphericProjection::scaleUp().

◆ toPlanar()

bool AtomProbe::GnomonicProjection::toPlanar ( float  theta,
float  phi,
float &  fx,
float &  fy 
) const
virtual

Convert from spherical coordinates to plane.

Implements AtomProbe::SphericPlaneProjection.

Definition at line 51 of file projection.cpp.

References ASSERT, M_PI, and AtomProbe::Point3D::setISOSpherical().

Referenced by AtomProbe::ModifiedFocusSphericProjection::scaleUp().

Here is the call graph for this function:

The documentation for this class was generated from the following files: