OpenVDB  9.0.1
Public Types | Public Member Functions | Static Public Member Functions | List of all members
CompoundMap< FirstMapType, SecondMapType > Class Template Reference

Creates the composition of two maps, each of which could be a composition. In the case that each component of the composition classified as linear an acceleration AffineMap is stored. More...

#include <openvdb/math/Maps.h>

Public Types

using MyType = CompoundMap< FirstMapType, SecondMapType >
 
using Ptr = SharedPtr< MyType >
 
using ConstPtr = SharedPtr< const MyType >
 

Public Member Functions

 CompoundMap ()
 
 CompoundMap (const FirstMapType &f, const SecondMapType &s)
 
 CompoundMap (const MyType &other)
 
Name type () const
 
bool operator== (const MyType &other) const
 
bool operator!= (const MyType &other) const
 
MyTypeoperator= (const MyType &other)
 
bool isIdentity () const
 
bool isDiagonal () const
 
AffineMap::Ptr getAffineMap () const
 
const FirstMapType & firstMap () const
 
const SecondMapType & secondMap () const
 
void setFirstMap (const FirstMapType &first)
 
void setSecondMap (const SecondMapType &second)
 
void read (std::istream &is)
 
void write (std::ostream &os) const
 

Static Public Member Functions

static Name mapType ()
 

Detailed Description

template<typename FirstMapType, typename SecondMapType>
class openvdb::v9_0::math::CompoundMap< FirstMapType, SecondMapType >

Creates the composition of two maps, each of which could be a composition. In the case that each component of the composition classified as linear an acceleration AffineMap is stored.

Member Typedef Documentation

using ConstPtr = SharedPtr<const MyType>
using MyType = CompoundMap<FirstMapType, SecondMapType>
using Ptr = SharedPtr<MyType>

Constructor & Destructor Documentation

CompoundMap ( )
inline
CompoundMap ( const FirstMapType &  f,
const SecondMapType &  s 
)
inline
CompoundMap ( const MyType other)
inline

Member Function Documentation

const FirstMapType& firstMap ( ) const
inline
AffineMap::Ptr getAffineMap ( ) const
inline
bool isDiagonal ( ) const
inline
bool isIdentity ( ) const
inline
static Name mapType ( )
inlinestatic
bool operator!= ( const MyType other) const
inline
MyType& operator= ( const MyType other)
inline
bool operator== ( const MyType other) const
inline
void read ( std::istream &  is)
inline
const SecondMapType& secondMap ( ) const
inline
void setFirstMap ( const FirstMapType &  first)
inline
void setSecondMap ( const SecondMapType &  second)
inline
Name type ( ) const
inline
void write ( std::ostream &  os) const
inline