Privacy
An open-source, flexible 3D physical simulation framework
osg_terrain::PosTransform Class Reference

#include <ShaderTerrain.hpp>

Public Member Functions

virtual bool computeLocalToWorldMatrix (osg::Matrix &matrix, osg::NodeVisitor *nv) const
 
virtual bool computeWorldToLocalMatrix (osg::Matrix &matrix, osg::NodeVisitor *nv) const
 

Public Attributes

double zOffset
 
double x
 
double y
 
double z
 
bool overridePos
 

Detailed Description

Definition at line 38 of file ShaderTerrain.hpp.

Member Function Documentation

◆ computeLocalToWorldMatrix()

bool osg_terrain::PosTransform::computeLocalToWorldMatrix ( osg::Matrix &  matrix,
osg::NodeVisitor *  nv 
) const
virtual

Definition at line 40 of file ShaderTerrain.cpp.

◆ computeWorldToLocalMatrix()

bool osg_terrain::PosTransform::computeWorldToLocalMatrix ( osg::Matrix &  matrix,
osg::NodeVisitor *  nv 
) const
virtual

Definition at line 60 of file ShaderTerrain.cpp.

Member Data Documentation

◆ overridePos

bool osg_terrain::PosTransform::overridePos

Definition at line 42 of file ShaderTerrain.hpp.

◆ x

double osg_terrain::PosTransform::x

Definition at line 41 of file ShaderTerrain.hpp.

◆ y

double osg_terrain::PosTransform::y

Definition at line 41 of file ShaderTerrain.hpp.

◆ z

double osg_terrain::PosTransform::z

Definition at line 41 of file ShaderTerrain.hpp.

◆ zOffset

double osg_terrain::PosTransform::zOffset

Definition at line 40 of file ShaderTerrain.hpp.


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