occ
Loading...
Searching...
No Matches
tinyply::PlyFile Struct Reference

#include <tinyply.h>

Public Member Functions

 PlyFile ()
 
 ~PlyFile ()
 
bool parse_header (std::istream &is)
 
void read (std::istream &is)
 
void write (std::ostream &os, bool isBinary)
 
std::vector< PlyElementget_elements () const
 
std::vector< std::string > get_info () const
 
std::vector< std::string > & get_comments ()
 
bool is_binary_file () const
 
std::shared_ptr< PlyDatarequest_properties_from_element (const std::string &elementKey, const std::vector< std::string > propertyKeys, const uint32_t list_size_hint=0)
 
void add_properties_to_element (const std::string &elementKey, const std::vector< std::string > propertyKeys, const Type type, const size_t count, const uint8_t *data, const Type listType, const size_t listCount)
 

Public Attributes

std::unique_ptr< PlyFileImpl > impl
 

Constructor & Destructor Documentation

◆ PlyFile()

tinyply::PlyFile::PlyFile ( )

◆ ~PlyFile()

tinyply::PlyFile::~PlyFile ( )

Member Function Documentation

◆ add_properties_to_element()

void tinyply::PlyFile::add_properties_to_element ( const std::string &  elementKey,
const std::vector< std::string >  propertyKeys,
const Type  type,
const size_t  count,
const uint8_t *  data,
const Type  listType,
const size_t  listCount 
)

◆ get_comments()

std::vector< std::string > & tinyply::PlyFile::get_comments ( )

◆ get_elements()

std::vector< PlyElement > tinyply::PlyFile::get_elements ( ) const

◆ get_info()

std::vector< std::string > tinyply::PlyFile::get_info ( ) const

◆ is_binary_file()

bool tinyply::PlyFile::is_binary_file ( ) const

◆ parse_header()

bool tinyply::PlyFile::parse_header ( std::istream &  is)

◆ read()

void tinyply::PlyFile::read ( std::istream &  is)

◆ request_properties_from_element()

std::shared_ptr< PlyData > tinyply::PlyFile::request_properties_from_element ( const std::string &  elementKey,
const std::vector< std::string >  propertyKeys,
const uint32_t  list_size_hint = 0 
)

◆ write()

void tinyply::PlyFile::write ( std::ostream &  os,
bool  isBinary 
)

Member Data Documentation

◆ impl

std::unique_ptr<PlyFileImpl> tinyply::PlyFile::impl

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