OpenVDB: CompoundMap< FirstMapType, SecondMapType > Class Template Reference

OpenVDB 10.0.1

Loading...
Searching...
No Matches
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
MyType & | operator= (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::v10_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

## ◆ ConstPtr

using ConstPtr = SharedPtr<const MyType>

## ◆ MyType

using MyType = CompoundMap<FirstMapType, SecondMapType>

## ◆ Ptr

using Ptr = SharedPtr<MyType>

## Constructor & Destructor Documentation

## ◆ CompoundMap() [1/3]

CompoundMap | ( |  | ) |
| inline

## ◆ CompoundMap() [2/3]

CompoundMap | ( | const FirstMapType & | f,
|  | const SecondMapType & | s
| ) |  |
| inline

## ◆ CompoundMap() [3/3]

CompoundMap | ( | const MyType & | other | ) |
| inline

## Member Function Documentation

## ◆ firstMap()

const FirstMapType & firstMap | ( |  | ) | const
| inline

## ◆ getAffineMap()

AffineMap::Ptr getAffineMap | ( |  | ) | const
| inline

## ◆ isDiagonal()

bool isDiagonal | ( |  | ) | const
| inline

## ◆ isIdentity()

bool isIdentity | ( |  | ) | const
| inline

## ◆ mapType()

static Name mapType | ( |  | ) |
| inlinestatic

## ◆ operator!=()

bool operator!= | ( | const MyType & | other | ) | const
| inline

## ◆ operator=()

MyType & operator= | ( | const MyType & | other | ) |
| inline

## ◆ operator==()

bool operator== | ( | const MyType & | other | ) | const
| inline

## ◆ read()

void read | ( | std::istream & | is | ) |
| inline

## ◆ secondMap()

const SecondMapType & secondMap | ( |  | ) | const
| inline

## ◆ setFirstMap()

void setFirstMap | ( | const FirstMapType & | first | ) |
| inline

## ◆ setSecondMap()

void setSecondMap | ( | const SecondMapType & | second | ) |
| inline

## ◆ type()

Name type | ( |  | ) | const
| inline

## ◆ write()

void write | ( | std::ostream & | os | ) | const
| inline