ArcGIS Procedural Runtime  3.2.10650
List of all members | Public Member Functions
prtx::GeometryEncoder Class Reference

#include <Encoder.h>

Inheritance diagram for prtx::GeometryEncoder:
[legend]

Public Member Functions

 GeometryEncoder (const std::wstring &id, const prt::AttributeMap *options, prt::Callbacks *callbacks)
 
virtual prt::ContentType getContentType () const final override
 
- Public Member Functions inherited from prtx::Encoder
virtual void encode (GenerateContext &context, size_t initialShapeIndex)
 
virtual void encode (const prtx::ContentPtrVector &content)
 
 Encoder (const std::wstring &id, const prt::AttributeMap *options, prt::Callbacks *callbacks)
 
virtual void finish (prtx::GenerateContext &context)
 
virtual ExtensionType getExtensionType () const final override
 
const std::wstring & getID () const
 
virtual void init (GenerateContext &context)
 
virtual bool validate (GenerateContext &context, size_t initialShapeIndex) const
 
- Public Member Functions inherited from prtx::Extension
 Extension (const Extension &)=delete
 
Extensionoperator= (const Extension &)=delete
 

Additional Inherited Members

- Public Types inherited from prtx::Extension
enum  ExtensionType {
  ET_UNDEFINED,
  ET_STREAM_ADAPTOR,
  ET_RESOLVEMAP_PROVIDER,
  ET_ENCODER,
  ET_DECODER,
  ET_COUNT
}
 
- Static Public Member Functions inherited from prtx::Extension
static prt::ContentType toContentType (const std::wstring &ctStr)
 
static ExtensionType toExtensionType (const std::wstring &etStr)
 
static const std::wstring & toString (const ExtensionType &et)
 
static const std::wstring & toString (const prt::ContentType &ct)
 
- Protected Member Functions inherited from prtx::Encoder
prt::CallbacksgetCallbacks () const
 
const prt::AttributeMapgetOptions () const
 

Detailed Description

Helper base class for all encoders which support the encoding of Geometry objects. Note that such encoders typically also know how to encode (or defer) dependent content objects such as Material and Texture.

Member Function Documentation

◆ getContentType()

virtual prt::ContentType prtx::GeometryEncoder::getContentType ( ) const
inlinefinaloverridevirtual

Fixates the content type to prt::CT_GEOMETRY.

Returns
Always returns prt::CT_GEOMETRY.

Implements prtx::Extension.


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