vtlib library
Public Member Functions | List of all members
vtPlantSpecies3d Class Reference
Inheritance diagram for vtPlantSpecies3d:
Inheritance graph

Public Member Functions

vtPlantAppearance3dGetAppearanceByHeight (float fHeight)
vtPlantAppearance3dGetRandomAppearance ()

Detailed Description

This class extends vtPlantSpecies with the ability to manage 3D appearances of the species.

Member Function Documentation

vtPlantAppearance3d * vtPlantSpecies3d::GetAppearanceByHeight ( float  fHeight)

Return the species' appearance which is closest to a given height

vtPlantAppearance3d * vtPlantSpecies3d::GetRandomAppearance ( )

Picks a random height, and return the species' appearance which is closest to that height.