#include <vtkCameraActor.h>
vtkCameraActor is an actor used to represent a camera by its wireframe frustum.
Definition at line 36 of file vtkCameraActor.h.
Public Types | |
typedef vtkProp3D | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | RenderOpaqueGeometry (vtkViewport *viewport) |
virtual int | HasTranslucentPolygonalGeometry () |
void | ReleaseGraphicsResources (vtkWindow *) |
double * | GetBounds () |
unsigned long int | GetMTime () |
vtkProperty * | GetProperty () |
void | SetProperty (vtkProperty *p) |
void | SetCamera (vtkCamera *camera) |
virtual vtkCamera * | GetCamera () |
virtual void | SetWidthByHeightRatio (double) |
virtual double | GetWidthByHeightRatio () |
Static Public Member Functions | |
static vtkCameraActor * | New () |
static int | IsTypeOf (const char *type) |
static vtkCameraActor * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkCameraActor () | |
~vtkCameraActor () | |
void | UpdateViewProps () |
Protected Attributes | |
vtkCamera * | Camera |
double | WidthByHeightRatio |
vtkFrustumSource * | FrustumSource |
vtkPolyDataMapper * | FrustumMapper |
vtkActor * | FrustumActor |
typedef vtkProp3D vtkCameraActor::Superclass |
vtkCameraActor::vtkCameraActor | ( | ) | [protected] |
vtkCameraActor::~vtkCameraActor | ( | ) | [protected] |
static vtkCameraActor* vtkCameraActor::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkCameraActor::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkProp3D.
static int vtkCameraActor::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkProp3D.
virtual int vtkCameraActor::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkProp3D.
static vtkCameraActor* vtkCameraActor::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkProp3D.
void vtkCameraActor::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
void vtkCameraActor::SetCamera | ( | vtkCamera * | camera | ) |
The camera to represent. Initial value is NULL.
virtual vtkCamera* vtkCameraActor::GetCamera | ( | ) | [virtual] |
The camera to represent. Initial value is NULL.
virtual void vtkCameraActor::SetWidthByHeightRatio | ( | double | ) | [virtual] |
Ratio between the width and the height of the frustum. Initial value is 1.0 (square)
virtual double vtkCameraActor::GetWidthByHeightRatio | ( | ) | [virtual] |
Ratio between the width and the height of the frustum. Initial value is 1.0 (square)
virtual int vtkCameraActor::RenderOpaqueGeometry | ( | vtkViewport * | viewport | ) | [virtual] |
Support the standard render methods.
Reimplemented from vtkProp.
virtual int vtkCameraActor::HasTranslucentPolygonalGeometry | ( | ) | [virtual] |
Does this prop have some translucent polygonal geometry? No.
Reimplemented from vtkProp.
void vtkCameraActor::ReleaseGraphicsResources | ( | vtkWindow * | ) | [virtual] |
Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.
Reimplemented from vtkProp.
double* vtkCameraActor::GetBounds | ( | ) | [virtual] |
Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax).
Implements vtkProp3D.
unsigned long int vtkCameraActor::GetMTime | ( | ) | [virtual] |
Get the actors mtime plus consider its properties and texture if set.
Reimplemented from vtkProp3D.
vtkProperty* vtkCameraActor::GetProperty | ( | ) |
Get property of the internal actor.
void vtkCameraActor::SetProperty | ( | vtkProperty * | p | ) |
Set property of the internal actor.
void vtkCameraActor::UpdateViewProps | ( | ) | [protected] |
vtkCamera* vtkCameraActor::Camera [protected] |
Definition at line 85 of file vtkCameraActor.h.
double vtkCameraActor::WidthByHeightRatio [protected] |
Definition at line 86 of file vtkCameraActor.h.
vtkFrustumSource* vtkCameraActor::FrustumSource [protected] |
Definition at line 88 of file vtkCameraActor.h.
vtkPolyDataMapper* vtkCameraActor::FrustumMapper [protected] |
Definition at line 89 of file vtkCameraActor.h.
vtkActor* vtkCameraActor::FrustumActor [protected] |
Definition at line 90 of file vtkCameraActor.h.