HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::math::AffineMap Class Reference

A general linear transform using homogeneous coordinates to perform rotation, scaling, shear and translation. More...

#include <Maps.h>

+ Inheritance diagram for openvdb::OPENVDB_VERSION_NAME::math::AffineMap:

Public Types

using Ptr = SharedPtr< AffineMap >
 
using ConstPtr = SharedPtr< const AffineMap >
 
- Public Types inherited from openvdb::OPENVDB_VERSION_NAME::math::MapBase
using Ptr = SharedPtr< MapBase >
 
using ConstPtr = SharedPtr< const MapBase >
 
using MapFactory ) = Ptr(*)(
 

Public Member Functions

 AffineMap ()
 
 AffineMap (const Mat3d &m)
 
 AffineMap (const Mat4d &m)
 
 AffineMap (const AffineMap &other)
 
 AffineMap (const AffineMap &first, const AffineMap &second)
 constructor that merges the matrixes for two affine maps More...
 
 ~AffineMap () override=default
 
MapBase::Ptr copy () const override
 Return a MapBase::Ptr to a deep copy of this map. More...
 
MapBase::Ptr inverseMap () const override
 Return a new map representing the inverse of this map. More...
 
Name type () const override
 Return the name of this map's concrete type (e.g., "AffineMap"). More...
 
bool isLinear () const override
 Return true (an AffineMap is always linear). More...
 
bool hasUniformScale () const override
 Return false ( test if this is unitary with translation ) More...
 
bool isEqual (const MapBase &other) const override
 Return true if this map is equal to the given map. More...
 
bool operator== (const AffineMap &other) const
 
bool operator!= (const AffineMap &other) const
 
AffineMapoperator= (const AffineMap &other)
 
Vec3d applyMap (const Vec3d &in) const override
 Return the image of in under the map. More...
 
Vec3d applyInverseMap (const Vec3d &in) const override
 Return the pre-image of in under the map. More...
 
Vec3d applyJacobian (const Vec3d &in, const Vec3d &) const override
 Return the Jacobian of the map applied to in. More...
 
Vec3d applyJacobian (const Vec3d &in) const override
 Return the Jacobian of the map applied to in. More...
 
Vec3d applyInverseJacobian (const Vec3d &in, const Vec3d &) const override
 Return the Inverse Jacobian of the map applied to in (i.e. inverse map with out translation) More...
 
Vec3d applyInverseJacobian (const Vec3d &in) const override
 Return the Inverse Jacobian of the map applied to in (i.e. inverse map with out translation) More...
 
Vec3d applyJT (const Vec3d &in, const Vec3d &) const override
 
Vec3d applyJT (const Vec3d &in) const override
 Return the Jacobian Transpose of the map applied to in. More...
 
Vec3d applyIJT (const Vec3d &in, const Vec3d &) const override
 Return the transpose of the inverse Jacobian of the map applied to in. More...
 
Vec3d applyIJT (const Vec3d &in) const override
 Return the transpose of the inverse Jacobian of the map applied to in. More...
 
Mat3d applyIJC (const Mat3d &m) const override
 Return the Jacobian Curvature: zero for a linear map. More...
 
Mat3d applyIJC (const Mat3d &in, const Vec3d &, const Vec3d &) const override
 
double determinant (const Vec3d &) const override
 Return the determinant of the Jacobian, ignores argument. More...
 
double determinant () const override
 Return the determinant of the Jacobian. More...
 
bool isIdentity () const
 Return true if the underlying matrix is approximately an identity. More...
 
bool isDiagonal () const
 Return true if the underylying matrix is diagonal. More...
 
bool isScale () const
 Return true if the map is equivalent to a ScaleMap. More...
 
bool isScaleTranslate () const
 Return true if the map is equivalent to a ScaleTranslateMap. More...
 
void read (std::istream &is) override
 read serialization More...
 
void write (std::ostream &os) const override
 write serialization More...
 
std::string str () const override
 string serialization, useful for debugging More...
 
SharedPtr< FullyDecomposedMapcreateDecomposedMap ()
 on-demand decomposition of the affine map More...
 
AffineMap::Ptr getAffineMap () const override
 Return AffineMap::Ptr to a deep copy of the current AffineMap. More...
 
AffineMap::Ptr inverse () const
 Return AffineMap::Ptr to the inverse of this map. More...
 
Mat4d getMat4 () const
 Return the matrix representation of this AffineMap. More...
 
const Mat4dgetConstMat4 () const
 
const Mat3dgetConstJacobianInv () const
 
Vec3d voxelSize () const override
 Return the lengths of the images of the segments (0,0,0)-(1,0,0), (0,0,0)-(0,1,0) and (0,0,0)-(0,0,1). More...
 
Vec3d voxelSize (const Vec3d &) const override
 Return the lengths of the images of the segments (0,0,0)-(1,0,0), (0,0,0)-(0,1,0) and (0,0,0)-(0,0,1). More...
 
void accumPreRotation (Axis axis, double radians)
 Modify the existing affine map by pre-applying the given operation. More...
 
void accumPreScale (const Vec3d &v)
 Modify the existing affine map by pre-applying the given operation. More...
 
void accumPreTranslation (const Vec3d &v)
 Modify the existing affine map by pre-applying the given operation. More...
 
void accumPreShear (Axis axis0, Axis axis1, double shear)
 Modify the existing affine map by pre-applying the given operation. More...
 
void accumPostRotation (Axis axis, double radians)
 Modify the existing affine map by post-applying the given operation. More...
 
void accumPostScale (const Vec3d &v)
 Modify the existing affine map by post-applying the given operation. More...
 
void accumPostTranslation (const Vec3d &v)
 Modify the existing affine map by post-applying the given operation. More...
 
void accumPostShear (Axis axis0, Axis axis1, double shear)
 Modify the existing affine map by post-applying the given operation. More...
 
MapBase::Ptr preRotate (double radians, Axis axis=X_AXIS) const override
 Return a MapBase::Ptr to a new map that is the result of prepending the appropraite operation. More...
 
MapBase::Ptr preTranslate (const Vec3d &t) const override
 Return a MapBase::Ptr to a new map that is the result of prepending the appropraite operation. More...
 
MapBase::Ptr preScale (const Vec3d &s) const override
 Return a MapBase::Ptr to a new map that is the result of prepending the appropraite operation. More...
 
MapBase::Ptr preShear (double shear, Axis axis0, Axis axis1) const override
 Return a MapBase::Ptr to a new map that is the result of prepending the appropraite operation. More...
 
MapBase::Ptr postRotate (double radians, Axis axis=X_AXIS) const override
 Return a MapBase::Ptr to a new map that is the result of postfixing the appropraite operation. More...
 
MapBase::Ptr postTranslate (const Vec3d &t) const override
 Return a MapBase::Ptr to a new map that is the result of postfixing the appropraite operation. More...
 
MapBase::Ptr postScale (const Vec3d &s) const override
 Return a MapBase::Ptr to a new map that is the result of postfixing the appropraite operation. More...
 
MapBase::Ptr postShear (double shear, Axis axis0, Axis axis1) const override
 Return a MapBase::Ptr to a new map that is the result of postfixing the appropraite operation. More...
 
- Public Member Functions inherited from openvdb::OPENVDB_VERSION_NAME::math::MapBase
 MapBase (const MapBase &)=default
 
virtual ~MapBase ()=default
 
template<typename MapT >
bool isType () const
 Return true if this map is of concrete type MapT (e.g., AffineMap). More...
 

Static Public Member Functions

static MapBase::Ptr create ()
 Return a MapBase::Ptr to a new AffineMap. More...
 
static bool isRegistered ()
 
static void registerMap ()
 
static Name mapType ()
 

Additional Inherited Members

- Protected Member Functions inherited from openvdb::OPENVDB_VERSION_NAME::math::MapBase
 MapBase ()
 
- Static Protected Member Functions inherited from openvdb::OPENVDB_VERSION_NAME::math::MapBase
template<typename MapT >
static bool isEqualBase (const MapT &self, const MapBase &other)
 

Detailed Description

A general linear transform using homogeneous coordinates to perform rotation, scaling, shear and translation.

Definition at line 327 of file Maps.h.

Member Typedef Documentation

Constructor & Destructor Documentation

openvdb::OPENVDB_VERSION_NAME::math::AffineMap::AffineMap ( )
inline

Definition at line 333 of file Maps.h.

openvdb::OPENVDB_VERSION_NAME::math::AffineMap::AffineMap ( const Mat3d m)
inline

Definition at line 345 of file Maps.h.

openvdb::OPENVDB_VERSION_NAME::math::AffineMap::AffineMap ( const Mat4d m)
inline

Definition at line 353 of file Maps.h.

openvdb::OPENVDB_VERSION_NAME::math::AffineMap::AffineMap ( const AffineMap other)
inline

Definition at line 362 of file Maps.h.

openvdb::OPENVDB_VERSION_NAME::math::AffineMap::AffineMap ( const AffineMap first,
const AffineMap second 
)
inline

constructor that merges the matrixes for two affine maps

Definition at line 375 of file Maps.h.

openvdb::OPENVDB_VERSION_NAME::math::AffineMap::~AffineMap ( )
overridedefault

Member Function Documentation

void openvdb::OPENVDB_VERSION_NAME::math::AffineMap::accumPostRotation ( Axis  axis,
double  radians 
)
inline

Modify the existing affine map by post-applying the given operation.

Definition at line 536 of file Maps.h.

void openvdb::OPENVDB_VERSION_NAME::math::AffineMap::accumPostScale ( const Vec3d v)
inline

Modify the existing affine map by post-applying the given operation.

Definition at line 541 of file Maps.h.

void openvdb::OPENVDB_VERSION_NAME::math::AffineMap::accumPostShear ( Axis  axis0,
Axis  axis1,
double  shear 
)
inline

Modify the existing affine map by post-applying the given operation.

Definition at line 551 of file Maps.h.

void openvdb::OPENVDB_VERSION_NAME::math::AffineMap::accumPostTranslation ( const Vec3d v)
inline

Modify the existing affine map by post-applying the given operation.

Definition at line 546 of file Maps.h.

void openvdb::OPENVDB_VERSION_NAME::math::AffineMap::accumPreRotation ( Axis  axis,
double  radians 
)
inline

Modify the existing affine map by pre-applying the given operation.

Definition at line 511 of file Maps.h.

void openvdb::OPENVDB_VERSION_NAME::math::AffineMap::accumPreScale ( const Vec3d v)
inline

Modify the existing affine map by pre-applying the given operation.

Definition at line 516 of file Maps.h.

void openvdb::OPENVDB_VERSION_NAME::math::AffineMap::accumPreShear ( Axis  axis0,
Axis  axis1,
double  shear 
)
inline

Modify the existing affine map by pre-applying the given operation.

Definition at line 526 of file Maps.h.

void openvdb::OPENVDB_VERSION_NAME::math::AffineMap::accumPreTranslation ( const Vec3d v)
inline

Modify the existing affine map by pre-applying the given operation.

Definition at line 521 of file Maps.h.

Mat3d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::applyIJC ( const Mat3d m) const
inlineoverridevirtual

Return the Jacobian Curvature: zero for a linear map.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 479 of file Maps.h.

Mat3d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::applyIJC ( const Mat3d in,
const Vec3d ,
const Vec3d  
) const
inlineoverridevirtual

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 482 of file Maps.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::applyIJT ( const Vec3d in,
const Vec3d  
) const
inlineoverridevirtual

Return the transpose of the inverse Jacobian of the map applied to in.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 475 of file Maps.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::applyIJT ( const Vec3d in) const
inlineoverridevirtual

Return the transpose of the inverse Jacobian of the map applied to in.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 477 of file Maps.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::applyInverseJacobian ( const Vec3d in,
const Vec3d  
) const
inlineoverridevirtual

Return the Inverse Jacobian of the map applied to in (i.e. inverse map with out translation)

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 454 of file Maps.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::applyInverseJacobian ( const Vec3d in) const
inlineoverridevirtual

Return the Inverse Jacobian of the map applied to in (i.e. inverse map with out translation)

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 459 of file Maps.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::applyInverseMap ( const Vec3d in) const
inlineoverridevirtual

Return the pre-image of in under the map.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 445 of file Maps.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::applyJacobian ( const Vec3d in,
const Vec3d  
) const
inlineoverridevirtual

Return the Jacobian of the map applied to in.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 448 of file Maps.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::applyJacobian ( const Vec3d in) const
inlineoverridevirtual

Return the Jacobian of the map applied to in.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 450 of file Maps.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::applyJT ( const Vec3d in,
const Vec3d  
) const
inlineoverridevirtual

Return the Jacobian Transpose of the map applied to in. This tranforms range-space gradients to domain-space gradients

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 465 of file Maps.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::applyJT ( const Vec3d in) const
inlineoverridevirtual

Return the Jacobian Transpose of the map applied to in.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 467 of file Maps.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::applyMap ( const Vec3d in) const
inlineoverridevirtual

Return the image of in under the map.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 443 of file Maps.h.

MapBase::Ptr openvdb::OPENVDB_VERSION_NAME::math::AffineMap::copy ( void  ) const
inlineoverridevirtual

Return a MapBase::Ptr to a deep copy of this map.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 386 of file Maps.h.

static MapBase::Ptr openvdb::OPENVDB_VERSION_NAME::math::AffineMap::create ( )
inlinestatic

Return a MapBase::Ptr to a new AffineMap.

Definition at line 384 of file Maps.h.

SharedPtr<FullyDecomposedMap> openvdb::OPENVDB_VERSION_NAME::math::AffineMap::createDecomposedMap ( )
inline

on-demand decomposition of the affine map

Definition at line 573 of file Maps.h.

double openvdb::OPENVDB_VERSION_NAME::math::AffineMap::determinant ( const Vec3d ) const
inlineoverridevirtual

Return the determinant of the Jacobian, ignores argument.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 486 of file Maps.h.

double openvdb::OPENVDB_VERSION_NAME::math::AffineMap::determinant ( ) const
inlineoverridevirtual

Return the determinant of the Jacobian.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 488 of file Maps.h.

AffineMap::Ptr openvdb::OPENVDB_VERSION_NAME::math::AffineMap::getAffineMap ( ) const
inlineoverridevirtual

Return AffineMap::Ptr to a deep copy of the current AffineMap.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 579 of file Maps.h.

const Mat3d& openvdb::OPENVDB_VERSION_NAME::math::AffineMap::getConstJacobianInv ( ) const
inline

Definition at line 647 of file Maps.h.

const Mat4d& openvdb::OPENVDB_VERSION_NAME::math::AffineMap::getConstMat4 ( ) const
inline

Definition at line 646 of file Maps.h.

Mat4d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::getMat4 ( ) const
inline

Return the matrix representation of this AffineMap.

Definition at line 645 of file Maps.h.

bool openvdb::OPENVDB_VERSION_NAME::math::AffineMap::hasUniformScale ( ) const
inlineoverridevirtual

Return false ( test if this is unitary with translation )

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 406 of file Maps.h.

AffineMap::Ptr openvdb::OPENVDB_VERSION_NAME::math::AffineMap::inverse ( void  ) const
inline

Return AffineMap::Ptr to the inverse of this map.

Definition at line 582 of file Maps.h.

MapBase::Ptr openvdb::OPENVDB_VERSION_NAME::math::AffineMap::inverseMap ( ) const
inlineoverridevirtual

Return a new map representing the inverse of this map.

Exceptions
NotImplementedErrorif the map is a NonlinearFrustumMap.
Warning
Houdini 12.5 uses an earlier version of OpenVDB, and maps created with that version lack a virtual table entry for this method. Do not call this method from Houdini 12.5.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 388 of file Maps.h.

bool openvdb::OPENVDB_VERSION_NAME::math::AffineMap::isDiagonal ( ) const
inline

Return true if the underylying matrix is diagonal.

Definition at line 500 of file Maps.h.

bool openvdb::OPENVDB_VERSION_NAME::math::AffineMap::isEqual ( const MapBase other) const
inlineoverridevirtual

Return true if this map is equal to the given map.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 418 of file Maps.h.

bool openvdb::OPENVDB_VERSION_NAME::math::AffineMap::isIdentity ( ) const
inline

Return true if the underlying matrix is approximately an identity.

Definition at line 498 of file Maps.h.

bool openvdb::OPENVDB_VERSION_NAME::math::AffineMap::isLinear ( ) const
inlineoverridevirtual

Return true (an AffineMap is always linear).

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 403 of file Maps.h.

static bool openvdb::OPENVDB_VERSION_NAME::math::AffineMap::isRegistered ( )
inlinestatic

Definition at line 390 of file Maps.h.

bool openvdb::OPENVDB_VERSION_NAME::math::AffineMap::isScale ( ) const
inline

Return true if the map is equivalent to a ScaleMap.

Definition at line 502 of file Maps.h.

bool openvdb::OPENVDB_VERSION_NAME::math::AffineMap::isScaleTranslate ( ) const
inline

Return true if the map is equivalent to a ScaleTranslateMap.

Definition at line 504 of file Maps.h.

static Name openvdb::OPENVDB_VERSION_NAME::math::AffineMap::mapType ( )
inlinestatic

Definition at line 400 of file Maps.h.

Definition at line 428 of file Maps.h.

AffineMap& openvdb::OPENVDB_VERSION_NAME::math::AffineMap::operator= ( const AffineMap other)
inline

Definition at line 430 of file Maps.h.

bool openvdb::OPENVDB_VERSION_NAME::math::AffineMap::operator== ( const AffineMap other) const
inline

Definition at line 420 of file Maps.h.

MapBase::Ptr openvdb::OPENVDB_VERSION_NAME::math::AffineMap::postRotate ( double  radians,
Axis  axis = X_AXIS 
) const
inlineoverridevirtual

Return a MapBase::Ptr to a new map that is the result of postfixing the appropraite operation.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 618 of file Maps.h.

MapBase::Ptr openvdb::OPENVDB_VERSION_NAME::math::AffineMap::postScale ( const Vec3d s) const
inlineoverridevirtual

Return a MapBase::Ptr to a new map that is the result of postfixing the appropraite operation.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 630 of file Maps.h.

MapBase::Ptr openvdb::OPENVDB_VERSION_NAME::math::AffineMap::postShear ( double  shear,
Axis  axis0,
Axis  axis1 
) const
inlineoverridevirtual

Return a MapBase::Ptr to a new map that is the result of postfixing the appropraite operation.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 636 of file Maps.h.

MapBase::Ptr openvdb::OPENVDB_VERSION_NAME::math::AffineMap::postTranslate ( const Vec3d t) const
inlineoverridevirtual

Return a MapBase::Ptr to a new map that is the result of postfixing the appropraite operation.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 624 of file Maps.h.

MapBase::Ptr openvdb::OPENVDB_VERSION_NAME::math::AffineMap::preRotate ( double  radians,
Axis  axis = X_AXIS 
) const
inlineoverridevirtual

Return a MapBase::Ptr to a new map that is the result of prepending the appropraite operation.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 588 of file Maps.h.

MapBase::Ptr openvdb::OPENVDB_VERSION_NAME::math::AffineMap::preScale ( const Vec3d s) const
inlineoverridevirtual

Return a MapBase::Ptr to a new map that is the result of prepending the appropraite operation.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 600 of file Maps.h.

MapBase::Ptr openvdb::OPENVDB_VERSION_NAME::math::AffineMap::preShear ( double  shear,
Axis  axis0,
Axis  axis1 
) const
inlineoverridevirtual

Return a MapBase::Ptr to a new map that is the result of prepending the appropraite operation.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 606 of file Maps.h.

MapBase::Ptr openvdb::OPENVDB_VERSION_NAME::math::AffineMap::preTranslate ( const Vec3d t) const
inlineoverridevirtual

Return a MapBase::Ptr to a new map that is the result of prepending the appropraite operation.

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 594 of file Maps.h.

void openvdb::OPENVDB_VERSION_NAME::math::AffineMap::read ( std::istream &  is)
inlineoverridevirtual

read serialization

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 560 of file Maps.h.

static void openvdb::OPENVDB_VERSION_NAME::math::AffineMap::registerMap ( )
inlinestatic

Definition at line 392 of file Maps.h.

std::string openvdb::OPENVDB_VERSION_NAME::math::AffineMap::str ( ) const
inlineoverridevirtual

string serialization, useful for debugging

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 564 of file Maps.h.

Name openvdb::OPENVDB_VERSION_NAME::math::AffineMap::type ( ) const
inlineoverridevirtual

Return the name of this map's concrete type (e.g., "AffineMap").

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 399 of file Maps.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::voxelSize ( ) const
inlineoverridevirtual

Return the lengths of the images of the segments (0,0,0)-(1,0,0), (0,0,0)-(0,1,0) and (0,0,0)-(0,0,1).

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 493 of file Maps.h.

Vec3d openvdb::OPENVDB_VERSION_NAME::math::AffineMap::voxelSize ( const Vec3d ) const
inlineoverridevirtual

Return the lengths of the images of the segments (0,0,0)-(1,0,0), (0,0,0)-(0,1,0) and (0,0,0)-(0,0,1).

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 494 of file Maps.h.

void openvdb::OPENVDB_VERSION_NAME::math::AffineMap::write ( std::ostream &  os) const
inlineoverridevirtual

write serialization

Implements openvdb::OPENVDB_VERSION_NAME::math::MapBase.

Definition at line 562 of file Maps.h.


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