Open3D (C++ API)  0.18.0+5c982c7
Public Member Functions
open3d::data::WoodTexture Class Reference

Data class for WoodTexture contains albedo, normal and roughness texture files for wood based material. More...

#include <Dataset.h>

Inheritance diagram for open3d::data::WoodTexture:
open3d::data::DownloadDataset open3d::data::Dataset

Public Member Functions

 WoodTexture (const std::string &data_root="")
 
std::string GetAlbedoTexturePath () const
 Returns the path to albedo color texture image. More...
 
std::string GetNormalTexturePath () const
 Returns the path to normal texture image. More...
 
std::string GetRoughnessTexturePath () const
 Returns the path to roughness texture image. More...
 
std::unordered_map< std::string, std::string > GetPathMap () const
 Returns the map of filename to path. Refer documentation page for available options. More...
 
- Public Member Functions inherited from open3d::data::DownloadDataset
 DownloadDataset (const std::string &prefix, const DataDescriptor &data_descriptor, const std::string &data_root="")
 
 DownloadDataset (const std::string &prefix, const std::vector< DataDescriptor > &data_descriptors, const std::string &data_root="")
 
virtual ~DownloadDataset ()
 
- Public Member Functions inherited from open3d::data::Dataset
 Dataset (const std::string &prefix, const std::string &data_root="")
 Parameterized Constructor. More...
 
virtual ~Dataset ()
 
const std::string GetDataRoot () const
 Get data root directory. The data root is set at construction time or automatically determined. More...
 
const std::string GetPrefix () const
 Get prefix for the dataset. More...
 
const std::string GetDownloadDir () const
 Get absolute path to download directory. i.e. ${data_root}/download/${prefix}. More...
 
const std::string GetExtractDir () const
 Get absolute path to extract directory. i.e. ${data_root}/extract/${prefix}. More...
 

Additional Inherited Members

- Protected Member Functions inherited from open3d::data::DownloadDataset
bool HasDownloaded (const DataDescriptor &data_descriptor) const
 Check if all files are downloaded and MD5 checksums are valid. More...
 
- Protected Member Functions inherited from open3d::data::Dataset
void CheckPathsExist (const std::vector< std::string > &paths) const
 Check if the paths exists after extraction. More...
 
- Protected Attributes inherited from open3d::data::DownloadDataset
std::vector< DataDescriptordata_descriptors_
 
- Protected Attributes inherited from open3d::data::Dataset
std::string data_root_
 Open3D data root. More...
 
std::string prefix_
 Dataset prefix. More...
 

Detailed Description

Data class for WoodTexture contains albedo, normal and roughness texture files for wood based material.

Constructor & Destructor Documentation

◆ WoodTexture()

open3d::data::WoodTexture::WoodTexture ( const std::string &  data_root = "")

Member Function Documentation

◆ GetAlbedoTexturePath()

std::string open3d::data::WoodTexture::GetAlbedoTexturePath ( ) const
inline

Returns the path to albedo color texture image.

◆ GetNormalTexturePath()

std::string open3d::data::WoodTexture::GetNormalTexturePath ( ) const
inline

Returns the path to normal texture image.

◆ GetPathMap()

std::unordered_map<std::string, std::string> open3d::data::WoodTexture::GetPathMap ( ) const
inline

Returns the map of filename to path. Refer documentation page for available options.

◆ GetRoughnessTexturePath()

std::string open3d::data::WoodTexture::GetRoughnessTexturePath ( ) const
inline

Returns the path to roughness texture image.


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