29 #ifndef __IMAGEOBJECTINFO_H__
30 #define __IMAGEOBJECTINFO_H__
54 FieldRef< H3DImageObject,
55 H3DImageObject::SFImage,
56 &H3DImageObject::image >,
65 virtual void onAdd(
Node *n );
72 virtual void update();
76 Inst< SFVec3f > _pixelSize = 0,
77 Inst< SFInt32 > _width = 0,
78 Inst< SFInt32 > _height = 0,
79 Inst< SFInt32 > _depth = 0,
80 Inst< SFString > _pixelType = 0,
81 Inst< SFString > _pixelComponentType = 0,
82 Inst< SFInt32 > _bitsPerPixel = 0,
83 Inst< SFVec3f > _totalSize = 0 );
89 H3DUniquePtr< SFImageObjectNode >
texture;
150 void updateFieldsFromImage(
Image * image );
Header file for H3DImageObject, X3D abstract texture scene-graph node.
Header file for PeriodicUpdate, template field modifier.
Contains the SFInt32 field class.
Contains the SFVec3f field class.
Header file for X3DChildNode, X3D scene-graph node.
Header file for X3DTexture3DNode, X3D scene-graph node.
DependentSFNodeObject is similar to DependentSFNode but uses TypedSFNodeObject instead of TypedSFNode...
Definition: DependentNodeFields.h:377
Class used for specifying a field member of a node in a DependentSFNode or DependentMFNode specificat...
Definition: DependentNodeFields.h:48
The SFImage field is a field containing an Image pointer.
Definition: H3DImageObject.h:50
This abstract interface is inherited by all nodes that contains an SFImage object with an Image conta...
Definition: H3DImageObject.h:45
H3DUniquePtr< SFImage > image
Field containing the Image to use as a texture.
Definition: H3DImageObject.h:191
An SFNode where we make sure the type of the nodes contained is a subclass of H3DImageObject.
Definition: ImageObjectInfo.h:57
Field for updating the output fields when the image object changes value.
Definition: ImageObjectInfo.h:70
This node can be used to get information about dimensions, sizes pixel types etc from H3DImageObject ...
Definition: ImageObjectInfo.h:48
H3DUniquePtr< SFInt32 > height
The height of the image object in pixels.
Definition: ImageObjectInfo.h:104
H3DUniquePtr< UpdateFields > update_fields
The field used to update the other fields.
Definition: ImageObjectInfo.h:148
H3DUniquePtr< SFString > pixelComponentType
The type of each component of the pixel.
Definition: ImageObjectInfo.h:129
H3DUniquePtr< SFInt32 > bitsPerPixel
The number of bits used for each pixel.
Definition: ImageObjectInfo.h:134
H3DUniquePtr< SFVec3f > pixelSize
The size of each pixel/voxel in the image object in metres.
Definition: ImageObjectInfo.h:94
H3DUniquePtr< SFImageObjectNode > texture
The texture field contains the image object we want to get information from.
Definition: ImageObjectInfo.h:89
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: ImageObjectInfo.h:145
H3DUniquePtr< SFVec3f > totalSize
The total size of the volume in metres, i.e.
Definition: ImageObjectInfo.h:142
H3DUniquePtr< SFInt32 > depth
The depth of the image object in pixels.
Definition: ImageObjectInfo.h:109
H3DUniquePtr< SFString > pixelType
The type of each pixel element in the image object.
Definition: ImageObjectInfo.h:121
H3DUniquePtr< SFInt32 > width
The width of the image object in pixels.
Definition: ImageObjectInfo.h:99
Node is the base class for all classes that can be part of the H3D scene-graph.
Definition: Node.h:46
The PeriodicUpdate is a template modifier that changes the way the field is updated.
Definition: PeriodicUpdate.h:74
This abstract node type indicates that the concrete nodes which are instantiated based on it may be u...
Definition: X3DChildNode.h:42
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194