|
|
| Camera (const Camera &other) |
| |
|
Camera & | operator= (const Camera &rhs) |
| |
| PrimType | getType () const override |
| |
| std::shared_ptr< Primitive > | clone () const override |
| |
| TransformClass | transformType () const override |
| |
| void | applyTransform (const bt::Matrix4 &mat, TransformClass transformClass) override |
| |
|
bt::Matrix4 | getTransform () const |
| |
|
void | setTransform (const bt::Matrix4 &xform) |
| |
|
| Primitive (const Primitive &other) |
| |
|
Primitive & | operator= (const Primitive &rhs) |
| |
|
void | applyTransform (const Transform &transform, TransformClass transformClass) |
| |
|
virtual bool | canMerge () const |
| |
|
virtual void | merge (std::shared_ptr< Primitive > other) |
| |
|
void | incrementVersion () |
| |
|
virtual bool | hasPoints () const |
| |
|
virtual ga::Offset | getNumPoints () const |
| |
|
virtual PointOffsets | getPoints () |
| |
|
ga::AttributeHandle< bt::intT > | addIntAttribute (ga::AttributeOwner owner, std::string name, bool intrinsic=false) |
| |
|
ga::AttributeHandleBool | addBoolAttribute (ga::AttributeOwner owner, std::string name, bool intrinsic=false) |
| |
|
ga::AttributeHandle< bt::Vector3 > | addVector3Attribute (ga::AttributeOwner owner, std::string name, bool intrinsic=false) |
| |
|
ga::AttributeHandle< bt::Matrix4 > | addMatrix4Attribute (ga::AttributeOwner owner, std::string name, bool intrinsic=false) |
| |
|
std::shared_ptr< ga::Attribute > | getAttribByName (ga::AttributeOwner owner, std::string name, bool includeIntrinsics=false) |
| |
|
const size_t | getNumAttributes (const ga::AttributeOwner owner) const |
| |
|
std::weak_ptr< const ga::Attribute > | getAttributeByIndex (ga::AttributeOwner owner, unsigned int index) const |
| |
|
bool | attributeExists (ga::AttributeOwner owner, std::string name) |
| |
|
bt::String | getPath () const |
| |
|
void | setPath (const bt::String &path) |
| |
Camera primitive with only primitive-level attributes.
Unlike Mesh, Camera has no points, vertices, or faces. It stores a 4x4 transform matrix as a primitive attribute.