Choreonoid  1.1
Public 型 | Public メソッド | Protected メソッド | Protected 変数 | すべてのメンバ一覧
クラス テンプレート cnoid::MultiSeq< ElementType, Allocator >

#include <MultiSeq.h>

cnoid::MultiSeq< ElementType, Allocator >に対する継承グラフ
cnoid::MultiSeqBase cnoid::SeqBase

Public 型

typedef boost::shared_ptr
< MultiSeq< ElementType,
Allocator > > 
Ptr
 
typedef boost::multi_array
< ElementType, 2, Allocator > 
Container
 
typedef Container::index_range IndexRange
 
typedef Container::template
array_view< 1 >::type 
View
 

Public メソッド

 MultiSeq (const char *seqType, int numParts=1, int numFrames=0.0, double frameRate=100.0)
 
 MultiSeq (const MultiSeq< ElementType, Allocator > &org)
 
virtual ~MultiSeq ()
 
virtual void setDimension (int newNumFrames, int newNumParts, bool clearNewElements=false)
 
virtual double getFrameRate () const
 
double frameRate () const
 
virtual void setFrameRate (double frameRate)
 
virtual void setNumParts (int newNumParts, bool clearNewElements=false)
 
virtual int getNumFrames () const
 
int numFrames () const
 
virtual void setNumFrames (int newNumFrames, bool clearNewElements=false)
 
virtual int getNumParts () const
 
int numParts () const
 
double timeLength () const
 
int frameOfTime (double time) const
 
double timeOfFrame (int frame) const
 
const ElementType & at (int frame, int part) const
 
ElementType & at (int frame, int part)
 
View part (int index)
 
View frame (int index)
 
View appendFrame ()
 
template<typename ArrayType >
void appendFrame (const ArrayType &v)
 
virtual bool read (const YamlMapping &archive)
 
virtual bool write (YamlWriter &writer)
 
- Public メソッド inherited from cnoid::MultiSeqBase
 MultiSeqBase (const char *seqType)
 
 MultiSeqBase (const SeqBase &org)
 
virtual ~MultiSeqBase ()
 
- Public メソッド inherited from cnoid::SeqBase
 SeqBase (const char *seqType)
 
 SeqBase (const SeqBase &org)
 
virtual ~SeqBase ()
 
const std::string & seqType () const
 
double getTimeStep () const
 
void setTimeStep (double timeStep)
 
void setTimeLength (double length, bool clearNewElements=false)
 
double getTimeLength () const
 
const std::string & purpose ()
 
virtual void setPurpose (const std::string &purpose)
 
const std::string & ioErrorMessage () const
 

Protected メソッド

virtual ElementType defaultValue () const
 

Protected 変数

Container container
 
int numFrames_
 
double frameRate_
 

型定義

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
typedef boost::multi_array<ElementType, 2, Allocator> cnoid::MultiSeq< ElementType, Allocator >::Container
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
typedef Container::index_range cnoid::MultiSeq< ElementType, Allocator >::IndexRange
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
typedef boost::shared_ptr< MultiSeq<ElementType, Allocator> > cnoid::MultiSeq< ElementType, Allocator >::Ptr
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
typedef Container::template array_view<1>::type cnoid::MultiSeq< ElementType, Allocator >::View

コンストラクタとデストラクタ

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
cnoid::MultiSeq< ElementType, Allocator >::MultiSeq ( const char *  seqType,
int  numParts = 1,
int  numFrames = 0.0,
double  frameRate = 100.0 
)
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
cnoid::MultiSeq< ElementType, Allocator >::MultiSeq ( const MultiSeq< ElementType, Allocator > &  org)
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
virtual cnoid::MultiSeq< ElementType, Allocator >::~MultiSeq ( )
inlinevirtual

関数

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
View cnoid::MultiSeq< ElementType, Allocator >::appendFrame ( )
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
template<typename ArrayType >
void cnoid::MultiSeq< ElementType, Allocator >::appendFrame ( const ArrayType &  v)
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
const ElementType& cnoid::MultiSeq< ElementType, Allocator >::at ( int  frame,
int  part 
) const
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
ElementType& cnoid::MultiSeq< ElementType, Allocator >::at ( int  frame,
int  part 
)
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
virtual ElementType cnoid::MultiSeq< ElementType, Allocator >::defaultValue ( ) const
inlineprotectedvirtual

cnoid::MultiAffine3Seqで再定義されています。

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
View cnoid::MultiSeq< ElementType, Allocator >::frame ( int  index)
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
int cnoid::MultiSeq< ElementType, Allocator >::frameOfTime ( double  time) const
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
double cnoid::MultiSeq< ElementType, Allocator >::frameRate ( ) const
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
virtual double cnoid::MultiSeq< ElementType, Allocator >::getFrameRate ( ) const
inlinevirtual

cnoid::SeqBaseを実装しています。

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
virtual int cnoid::MultiSeq< ElementType, Allocator >::getNumFrames ( ) const
inlinevirtual

cnoid::SeqBaseを実装しています。

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
virtual int cnoid::MultiSeq< ElementType, Allocator >::getNumParts ( ) const
inlinevirtual

cnoid::MultiSeqBaseを実装しています。

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
int cnoid::MultiSeq< ElementType, Allocator >::numFrames ( ) const
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
int cnoid::MultiSeq< ElementType, Allocator >::numParts ( ) const
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
View cnoid::MultiSeq< ElementType, Allocator >::part ( int  index)
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
virtual bool cnoid::MultiSeq< ElementType, Allocator >::read ( const YamlMapping archive)
inlinevirtual

cnoid::MultiSeqBaseを再定義しています。

cnoid::MultiAffine3Seq, と cnoid::MultiValueSeqで再定義されています。

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
virtual void cnoid::MultiSeq< ElementType, Allocator >::setDimension ( int  newNumFrames,
int  newNumParts,
bool  clearNewElements = false 
)
inlinevirtual

cnoid::MultiSeqBaseを実装しています。

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
virtual void cnoid::MultiSeq< ElementType, Allocator >::setFrameRate ( double  frameRate)
inlinevirtual

cnoid::SeqBaseを実装しています。

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
virtual void cnoid::MultiSeq< ElementType, Allocator >::setNumFrames ( int  newNumFrames,
bool  clearNewElements = false 
)
inlinevirtual

cnoid::SeqBaseを実装しています。

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
virtual void cnoid::MultiSeq< ElementType, Allocator >::setNumParts ( int  newNumParts,
bool  clearNewElements = false 
)
inlinevirtual

cnoid::MultiSeqBaseを実装しています。

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
double cnoid::MultiSeq< ElementType, Allocator >::timeLength ( ) const
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
double cnoid::MultiSeq< ElementType, Allocator >::timeOfFrame ( int  frame) const
inline
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
virtual bool cnoid::MultiSeq< ElementType, Allocator >::write ( YamlWriter writer)
inlinevirtual

cnoid::MultiSeqBaseを再定義しています。

cnoid::MultiAffine3Seq, と cnoid::MultiValueSeqで再定義されています。

変数

template<typename ElementType, typename Allocator = std::allocator<ElementType>>
Container cnoid::MultiSeq< ElementType, Allocator >::container
protected
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
double cnoid::MultiSeq< ElementType, Allocator >::frameRate_
protected
template<typename ElementType, typename Allocator = std::allocator<ElementType>>
int cnoid::MultiSeq< ElementType, Allocator >::numFrames_
protected

このクラスの説明は次のファイルから生成されました: