Assimp  v4.1. (December 2018)
Assimp::FBX::Node Class Reference

Public Member Functions

void AddChild (const Node &node)
 
template<typename... More>
void AddChild (const std::string &name, More... more)
 
template<typename... More>
void AddP70 (const std::string &name, const std::string &type, const std::string &type2, const std::string &flags, More... more)
 
void AddP70bool (const std::string &name, bool value)
 
void AddP70color (const std::string &name, double r, double g, double b)
 
void AddP70colorA (const std::string &name, double r, double g, double b)
 
void AddP70double (const std::string &name, double value)
 
void AddP70enum (const std::string &name, int32_t value)
 
void AddP70int (const std::string &name, int32_t value)
 
void AddP70numberA (const std::string &name, double value)
 
void AddP70string (const std::string &name, const std::string &value)
 
void AddP70time (const std::string &name, int64_t value)
 
void AddP70vector (const std::string &name, double x, double y, double z)
 
void AddP70vectorA (const std::string &name, double x, double y, double z)
 
template<typename T , typename... More>
void AddProperties (T value, More... more)
 
void AddProperties ()
 
template<typename T >
void AddProperty (T value)
 
void Begin (Assimp::StreamWriterLE &s, bool binary, int indent)
 
void BeginChildren (Assimp::StreamWriterLE &s, bool binary, int indent)
 
void Dump (std::shared_ptr< Assimp::IOStream > outfile, bool binary, int indent)
 
void Dump (Assimp::StreamWriterLE &s, bool binary, int indent)
 
void DumpChildren (Assimp::StreamWriterLE &s, bool binary, int indent)
 
void DumpProperties (Assimp::StreamWriterLE &s, bool binary, int indent)
 
void End (Assimp::StreamWriterLE &s, bool binary, int indent, bool has_children)
 
void EndProperties (Assimp::StreamWriterLE &s, bool binary, int indent)
 
void EndProperties (Assimp::StreamWriterLE &s, bool binary, int indent, size_t num_properties)
 
 Node ()=default
 The default class constructor. More...
 
 Node (const std::string &n)
 The class constructor with the name. More...
 
template<typename... More>
 Node (const std::string &n, const More... more)
 

Static Public Member Functions

template<typename T >
static void WritePropertyNode (const std::string &name, const T value, Assimp::StreamWriterLE &s, bool binary, int indent)
 
static void WritePropertyNode (const std::string &name, const std::vector< double > &v, Assimp::StreamWriterLE &s, bool binary, int indent)
 
static void WritePropertyNode (const std::string &name, const std::vector< int32_t > &v, Assimp::StreamWriterLE &s, bool binary, int indent)
 

Public Attributes

std::vector< FBX::Nodechildren
 
bool force_has_children = false
 
std::string name
 
std::vector< FBX::FBXExportPropertyproperties
 

Constructor & Destructor Documentation

◆ Node() [1/3]

Assimp::FBX::Node::Node ( )
default

The default class constructor.

◆ Node() [2/3]

Assimp::FBX::Node::Node ( const std::string &  n)
inline

The class constructor with the name.

◆ Node() [3/3]

template<typename... More>
Assimp::FBX::Node::Node ( const std::string &  n,
const More...  more 
)
inline

Member Function Documentation

◆ AddChild() [1/2]

void Assimp::FBX::Node::AddChild ( const Node node)
inline

◆ AddChild() [2/2]

template<typename... More>
void Assimp::FBX::Node::AddChild ( const std::string &  name,
More...  more 
)
inline

◆ AddP70()

template<typename... More>
void Assimp::FBX::Node::AddP70 ( const std::string &  name,
const std::string &  type,
const std::string &  type2,
const std::string &  flags,
More...  more 
)
inline

◆ AddP70bool()

void Assimp::FBX::Node::AddP70bool ( const std::string &  name,
bool  value 
)

◆ AddP70color()

void Assimp::FBX::Node::AddP70color ( const std::string &  name,
double  r,
double  g,
double  b 
)

◆ AddP70colorA()

void Assimp::FBX::Node::AddP70colorA ( const std::string &  name,
double  r,
double  g,
double  b 
)

◆ AddP70double()

void Assimp::FBX::Node::AddP70double ( const std::string &  name,
double  value 
)

◆ AddP70enum()

void Assimp::FBX::Node::AddP70enum ( const std::string &  name,
int32_t  value 
)

◆ AddP70int()

void Assimp::FBX::Node::AddP70int ( const std::string &  name,
int32_t  value 
)

◆ AddP70numberA()

void Assimp::FBX::Node::AddP70numberA ( const std::string &  name,
double  value 
)

◆ AddP70string()

void Assimp::FBX::Node::AddP70string ( const std::string &  name,
const std::string &  value 
)

◆ AddP70time()

void Assimp::FBX::Node::AddP70time ( const std::string &  name,
int64_t  value 
)

◆ AddP70vector()

void Assimp::FBX::Node::AddP70vector ( const std::string &  name,
double  x,
double  y,
double  z 
)

◆ AddP70vectorA()

void Assimp::FBX::Node::AddP70vectorA ( const std::string &  name,
double  x,
double  y,
double  z 
)

◆ AddProperties() [1/2]

template<typename T , typename... More>
void Assimp::FBX::Node::AddProperties ( value,
More...  more 
)
inline

◆ AddProperties() [2/2]

void Assimp::FBX::Node::AddProperties ( )
inline

◆ AddProperty()

template<typename T >
void Assimp::FBX::Node::AddProperty ( value)
inline

◆ Begin()

void Assimp::FBX::Node::Begin ( Assimp::StreamWriterLE s,
bool  binary,
int  indent 
)

◆ BeginChildren()

void Assimp::FBX::Node::BeginChildren ( Assimp::StreamWriterLE s,
bool  binary,
int  indent 
)

◆ Dump() [1/2]

void Assimp::FBX::Node::Dump ( std::shared_ptr< Assimp::IOStream outfile,
bool  binary,
int  indent 
)

◆ Dump() [2/2]

void Assimp::FBX::Node::Dump ( Assimp::StreamWriterLE s,
bool  binary,
int  indent 
)

◆ DumpChildren()

void Assimp::FBX::Node::DumpChildren ( Assimp::StreamWriterLE s,
bool  binary,
int  indent 
)

◆ DumpProperties()

void Assimp::FBX::Node::DumpProperties ( Assimp::StreamWriterLE s,
bool  binary,
int  indent 
)

◆ End()

void Assimp::FBX::Node::End ( Assimp::StreamWriterLE s,
bool  binary,
int  indent,
bool  has_children 
)

◆ EndProperties() [1/2]

void Assimp::FBX::Node::EndProperties ( Assimp::StreamWriterLE s,
bool  binary,
int  indent 
)

◆ EndProperties() [2/2]

void Assimp::FBX::Node::EndProperties ( Assimp::StreamWriterLE s,
bool  binary,
int  indent,
size_t  num_properties 
)

◆ WritePropertyNode() [1/3]

template<typename T >
static void Assimp::FBX::Node::WritePropertyNode ( const std::string &  name,
const T  value,
Assimp::StreamWriterLE s,
bool  binary,
int  indent 
)
inlinestatic

◆ WritePropertyNode() [2/3]

void Assimp::FBX::Node::WritePropertyNode ( const std::string &  name,
const std::vector< double > &  v,
Assimp::StreamWriterLE s,
bool  binary,
int  indent 
)
static

◆ WritePropertyNode() [3/3]

void Assimp::FBX::Node::WritePropertyNode ( const std::string &  name,
const std::vector< int32_t > &  v,
Assimp::StreamWriterLE s,
bool  binary,
int  indent 
)
static

Member Data Documentation

◆ children

std::vector<FBX::Node> Assimp::FBX::Node::children

◆ force_has_children

bool Assimp::FBX::Node::force_has_children = false

◆ name

std::string Assimp::FBX::Node::name

◆ properties

std::vector<FBX::FBXExportProperty> Assimp::FBX::Node::properties

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