Mantid
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Mantid::Geometry::ComponentInfoItem< T > Class Template Reference

ComponentInfoItem Return type for ComponentInfoIterators. More...

#include <ComponentInfoItem.h>

Public Member Functions

const std::vector< size_t > & children () const
 
 ComponentInfoItem (T &componentInfo, const size_t index)
 
std::vector< size_t > componentsInSubtree () const
 
std::vector< size_t > detectorsInSubtree () const
 
bool hasParent () const
 
size_t index () const
 
bool isDetector () const
 
std::string name () const
 
size_t parent () const
 
Kernel::V3D position () const
 
Kernel::Quat rotation () const
 
Kernel::V3D scaleFactor () const
 

Public Attributes

T * m_componentInfo
 
size_t m_index
 

Detailed Description

template<typename T>
class Mantid::Geometry::ComponentInfoItem< T >

ComponentInfoItem Return type for ComponentInfoIterators.

Provides AOS type access to ComponentInfo

Definition at line 20 of file ComponentInfoItem.h.

Constructor & Destructor Documentation

◆ ComponentInfoItem()

template<typename T >
Mantid::Geometry::ComponentInfoItem< T >::ComponentInfoItem ( T &  componentInfo,
const size_t  index 
)
inline

Definition at line 22 of file ComponentInfoItem.h.

Member Function Documentation

◆ children()

template<typename T >
const std::vector< size_t > & Mantid::Geometry::ComponentInfoItem< T >::children ( ) const
inline

◆ componentsInSubtree()

template<typename T >
std::vector< size_t > Mantid::Geometry::ComponentInfoItem< T >::componentsInSubtree ( ) const
inline

◆ detectorsInSubtree()

template<typename T >
std::vector< size_t > Mantid::Geometry::ComponentInfoItem< T >::detectorsInSubtree ( ) const
inline

◆ hasParent()

template<typename T >
bool Mantid::Geometry::ComponentInfoItem< T >::hasParent ( ) const
inline

◆ index()

template<typename T >
size_t Mantid::Geometry::ComponentInfoItem< T >::index ( ) const
inline

◆ isDetector()

template<typename T >
bool Mantid::Geometry::ComponentInfoItem< T >::isDetector ( ) const
inline

◆ name()

template<typename T >
std::string Mantid::Geometry::ComponentInfoItem< T >::name ( ) const
inline

◆ parent()

template<typename T >
size_t Mantid::Geometry::ComponentInfoItem< T >::parent ( ) const
inline

◆ position()

template<typename T >
Kernel::V3D Mantid::Geometry::ComponentInfoItem< T >::position ( ) const
inline

◆ rotation()

template<typename T >
Kernel::Quat Mantid::Geometry::ComponentInfoItem< T >::rotation ( ) const
inline

◆ scaleFactor()

template<typename T >
Kernel::V3D Mantid::Geometry::ComponentInfoItem< T >::scaleFactor ( ) const
inline

Member Data Documentation

◆ m_componentInfo

template<typename T >
T* Mantid::Geometry::ComponentInfoItem< T >::m_componentInfo

◆ m_index

template<typename T >
size_t Mantid::Geometry::ComponentInfoItem< T >::m_index

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